Embed klaviyo email signup form
-
Hey, for whatever reason I cannot manage to embed the newsletter signup form on a page. I tried out +HTML and + Shortcode but neither works. Any idea what causes the problem?
I tried to investigate and chrome says this: "Scripts that have a dependency on [wc-settings, wc-blocks-checkout] must be loaded in the footer, klaviyo-klaviyo-checkout-block-editor-script was registered to load in the header, but has been switched to load in the footer instead. See https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5059"
Hope you can help me out here. Thanks in advance :)
-
hey! what does the shortcode or embed code look like?
-
Hey, its this one: <div class="klaviyo-form-WMgwYi"></div>
I saw the form today and subscribed for test purposes, went all fine and now again I cannot see it anymore on copytheory.org
-
Hey, I think you need to do this:
Wherever you want this form in the gridder, you have to add it using +more -> +html:
<div class="klaviyo-form-WMgwYi"></div>
<script type="text/javascript" src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=PUBLIC_API_KEY"></script>Where PUBLIC_API_KEY needs to be your correct API key.
Furthermore, in Lay Options, you need to check the setting "Disable Ajax."You may also want to disable any caching plug-ins to rule out them being the cause.
At the moment, I can see it:
If you want to, you can also send me your WP admin login to info@laytheme.com if you want me to take a closer look to see if you did it right.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login