Custom HTML – Email Signups
-
Hi, I am trying to add a pop up to try and get people to subscribe for email on the order confirmation page, but no matter how I try to add the code, it doesn’t load?
How can I add this code:
<script type=”text/javascript”
src=”//www.klaviyo.com/media/js/public/klaviyo_subscribe.js”></script>
<script type=”text/javascript”>
KlaviyoSubscribe.attachModalSignUp({
list: ‘[LIST ID]’, delay_seconds: 1,
content: { clazz: ‘ klaviyo_modal’,
header: “Interested in our Newsletter?”,
subheader: “Stay in the know with news and promotions.”,
button: “Subscribe”, success: “Thanks! Check your email for a confirmation.”,
styles: ‘.klaviyo_modal { font-family: “Helvetica Neue”, Arial}.klaviyo_modal .klaviyo_header { color:#222;}.klaviyo_modal .klaviyo_subheader { color:#222;}.klaviyo_modal .klaviyo_submit_button,.klaviyo_modal .klaviyo_submit_button span { background-color:#0064CD; background-image: none; border-radius: 2px;}.klaviyo_modal .klaviyo_submit_button:hover,.klaviyo_modal .klaviyo_submit_button span:hover { background-color:#0064CD; background-image: none; }.klaviyo_modal .klaviyo_inner,.klaviyo_modal .klaviyo_fieldset .klaviyo_field_group input[type=text],.klaviyo_modal .klaviyo_fieldset .klaviyo_field_group input[type=email] { border-radius: 2px;}’
}
});
</script>That code works on every other page.
Thanks!
- The topic ‘Custom HTML – Email Signups’ is closed to new replies.