Skip to main content

Does anyone know how to set my custom trigger to only show one time per visitor?  We have a contest and the form is set and all is great, but the form gives 4 options for prizes.  I want to ensure the customer cannot go back and choose another prize after the first one.  Any help is appreciated.

The form edit does not show visibility options because it is a custom trigger with a Klaviyo code button.

 

This is the page with the form:  https://quicktrickalignment.com/sms-sign-up-for-vip-subscribers/

 

Ms QuickTrick

Hi ​@MsQuickTrick ,

Welcome to the community, that's an awesome contest idea! Since you are using a custom klaviyo trigger, the key here is to set a cookie or use local storage to track the visitors prize choice. That way, once a prize is selected, the form or botton won't show again on future visits. I have done something similar for a brand to ensure unique reward choice in a VIP campaign. If you need help setting that up especially the part where the form hides after first interaction, feel free to reach out or I will work you through or send a snippet you can try.


Thank you for your assistance.  The snippet did not work and that may be because the form is custom triggered by the klaviyo button.  It could also be that I placed the snippet in the wrong location.  I am unsure.

 


Hi ​@MsQuickTrick,

As you may have figured out already, adding additional rules to custom-triggered forms isn’t possible directly in Klaviyo, and must be done by editing the Javascript on your site. While I don’t have insight into what the exact code should be in this situation, I’d recommend reaching out to your developer to help create this code, or working with one of our partners to help set something like this up!

-Byrne


Thank you Byrne, tha web team was not able to make this work either.  We changed the form so we could define the repetition of the form.  Thank you


Reply