Skip to main content

Hi, 

so far Ive used successfully a button to trigger a sign-up form (as described in your documentation), but now once clicked the button doesnt trigger the sign up form any more. Can you help? Here the code I added with the correct ID: 

 

<button class="klaviyo_form_trigger">Newsletter</button>
<script type="text/javascript">// <![CDATA[
document.querySelector('.klaviyo_form_trigger').addEventListener('click', function (){
        window._klOnsite = window._klOnsite || [];
window._klOnsite.push(['openForm', 'XyY63S']);
    });
// ]]></script>
 

https://www.ayurveda-soulfood.de/pages/newsletter

Is there any mistake? Its behaviour is set on only show on custom trigger

Hi @Eva_Anna

 

Welcome to the Community! Thanks for sharing your question with us! 

 

Sorry to hear you’re experiences issues with your custom trigger! While we can’t provide help with your site’s specific HTML, I will mention that if your form was working successfully, but then stopped, you should go over your script with a fine-tooth comb and make sure that your gaps are in the right place and aren’t any extra / missing letters. I’d specifically look over his part of our documentation  that shares the exact code you’ll need as well as our developer doc  on the subject as well. 

 

If you still are having trouble, I’d recommend reaching out to one of our partners for help!  

 

Thanks for participating in the Community!

-Taylor 


Hi, 

 

I just encountered the same issue.

My sign-up form trigger on click worked perfectly before, but somehow suddenly wont’t trigger anymore.

Have you resolved the issue?

 

Thank you.


Hi,
We are facing the same issue. Custom trigger for showing the signup form was working fine but now it is not working.
Is there any update about the issue?

Thanks.


Hey!
I’m facing similar problem as ​@jberke and ​@Ethan Y. Everything was working till today.
On this page https://snowmonkey.com/pages/poslovna-darila, by clicking on button, should show / open popup, with custom trigger

This part of code doesn’t open the form
window._klOnsite.push(['openForm', ‘S8dXxL’]);