Skip to main content
Solved

Form with custom trigger showing for already subscribed users - even with settings on off


Forum|alt.badge.img+1

Hello,


I am aware that when creating forms we can select in targeting if we wish the form to be hidden for already subscribed users.

On one of our websites, though, all the forms are not showing up, not even from incognito, but they will from another device. Trying to kill the cookies manually wont help as they get rebuilt when the session is re-initiated.

Can I have some support on this? Check out as an example on https://skincare.fieldsofyarrow.com/ the subscribe button on the top right of the menu header. There should be a form inside the popup. That form doesn’t appear for us, unless we are logged in in wordpress which I think overrides this hiding functionality.


Thanks for any feedback and helping troubleshoot

 

Best answer by Taylor Tarpley

Hi there @Fuel_LAB

 

Welcome to the Community! Happy to help! 

 

If you add our klaviyo onsite java script, or listening code, to your website, you should be able to publish klaviyo forms on your site. If you can confirm that our .js script is on the backend of your wordpress site, the issue might be in how you want our form to show up. Having a form display in a WP popup after a WP button is pressed, does require some custom coding. I’d check out our developer portal documentation on how to create a custom trigger a klaviyo form, aka when you press a button on your website to see if theres anything left to be done or correct in your workflow.

 

However, if you don’t have access to a developer or don’t feel comfortable with custom coding, I’d suggest publishing a form on your site with a normal trigger to see if the form successfully displays and accomplishes your goals if you don't want to move forward with troubleshooting the custom trigger.

 

Hope this helps!

-Taylor 

View original
Did this topic or the replies in the thread help you find an answer to your question?

5 replies

Taylor Tarpley
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • 2148 replies
  • Answer
  • October 20, 2023

Hi there @Fuel_LAB

 

Welcome to the Community! Happy to help! 

 

If you add our klaviyo onsite java script, or listening code, to your website, you should be able to publish klaviyo forms on your site. If you can confirm that our .js script is on the backend of your wordpress site, the issue might be in how you want our form to show up. Having a form display in a WP popup after a WP button is pressed, does require some custom coding. I’d check out our developer portal documentation on how to create a custom trigger a klaviyo form, aka when you press a button on your website to see if theres anything left to be done or correct in your workflow.

 

However, if you don’t have access to a developer or don’t feel comfortable with custom coding, I’d suggest publishing a form on your site with a normal trigger to see if the form successfully displays and accomplishes your goals if you don't want to move forward with troubleshooting the custom trigger.

 

Hope this helps!

-Taylor 


Forum|alt.badge.img+1
  • Author
  • Partner
  • 3 replies
  • October 21, 2023

Hello,


We are developers and Klaviyo partners here ;) 


So, the several sign-up forms are all inserted via code on the website, we have of course the main klaviyo script in the body of the entire site (but we have tried in the head too), and this error is detected in Firefox:

 

Uncaught (in promise) ChunkLoadError: Loading chunk 8440 failed after 3 retries. (vendors~ClientStore.eb8f20873bb5a7332a90.js)

    j https://static.klaviyo.com/onsite/js/runtime.c198b9326ef73c15f6ef.js?cb=1:1

    e https://static.klaviyo.com/onsite/js/runtime.c198b9326ef73c15f6ef.js?cb=1:1

    e https://static.klaviyo.com/onsite/js/runtime.c198b9326ef73c15f6ef.js?cb=1:1

    e https://static.klaviyo.com/onsite/js/runtime.c198b9326ef73c15f6ef.js?cb=1:1

    e https://static.klaviyo.com/onsite/js/runtime.c198b9326ef73c15f6ef.js?cb=1:1

 

We have noticed that sometimes it loads correctly from Safari, almost never on Chrome, and never on Firefox. 

We have disabled caching plugins and CSS optimization.


Taylor Tarpley
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • 2148 replies
  • October 27, 2023

Hi @Fuel_LAB

 

Nice to meet another partner in the Community!

 

Unfortunately, as this form trigger does deal with custom coding and isn’t a native Klaviyo form function, I won’t be able to help troubleshoot with you. However, I am going to move this convo to our developer group to see if others want to take a crack at solving this with you! 

 

-Taylor 


Forum|alt.badge.img+1
  • Author
  • Partner
  • 3 replies
  • October 29, 2023

Hello Taylor. No, the form doesn deal with custom coding. 


It is the standard klavyio code, installed as described by klavyio documentation.

 

I have simply placed the script general in the head of the entire side, and the form script in the page body. Sometimes, for someone, it renders. Much more often, this happens:

 


Brian Turcotte
Forum|alt.badge.img+37

Hi @Fuel_LAB!

My apologies for the delay here! Is this issue still persisting?

 

Best,

Brian