Solved

Signups forms code not linking to woocommerce


Badge +1

Hi guys, new to the community here but have worked with Klaviyo in the past.

I’m trying to the Klaviyo signups form code to work on my Wordpress site but I can’t seem to figure this one out.

Installed the Klaviyo / Woocommerce integration (which works and syncs) but when trying to publish a form I keep getting the ‘Unable to detect that signup forms are successfully installed on your site. Please view the installation documentation.’ message.

Tried installing the snippet separately above the body but that doesn’t seem to work either.

Anyone who has experienced this before and resolved it?

 

Many thanks,

Krisitan

icon

Best answer by Taylor Tarpley 20 March 2023, 22:04

View original

10 replies

Userlevel 7
Badge +60

Hey @Kristian99 

Welcome to the Community and welcome back to Klaviyo! 

I can confirm that you will be able to do thison your Wordpress site.

You will need to add the following script to your WP blog's HTML before the closing </body> tag to allow the use of Klaviyo forms  and tracking:

<script async type="text/javascript" src="//static.klaviyo.com/onsite/js/klaviyo.js?company_id=insertcompanyIDhere"></script>

 

Once this script has been added, you can either publish a Pop Up Form to display it right away or add the embed form code to your desired location to display the form. If this is still not allowing you to publish forms to your site, I would suggest connecting with our support team for them to be able to look into your account to find out what the problem is. 

Hope this helps!

Badge +1

Thanks for your reply Stephen!

I’ve added the snippet as shown on the image but when I click the ‘check my install’ button on Klaviyo it doesn’t work yet. It’s above the </body> tag in the footer PHP. Probably making a rookie mistake but not sure what it is haha. Would you know?

 

Userlevel 7
Badge +60

Hey @Kristian99 

Thanks for sharing the screenshot! Makes it easy to see whats going on. In the code snippet you added, you need to update where it says “company_id=insertcompanyIDhere” and insert your public API key after company_id=. You can find the API key by going to Account > Settings > API Keys. 

Hope this helps!

Badge +1

Right yeah of course. Thanks Stephen! But even then, I still can’t seem to make it work. Tried the snippet in the body and the header. Tried doing in the HTML manually and with a header / footer plugin, but for some reason it won’t connect unfortunately.

 

 

Badge +1

Ps. I am using Google Tag manager as well. Just added the right snippet as a custom HTML tag (as shown on this description https://help.klaviyo.com/hc/en-us/articles/360015392131-How-to-add-Klaviyo-onsite-tracking-using-Google-Tag-Manager).

 

But, unfortunately that doesnt work either…

 

 

Badge +1

Tried deleting and installing the plugin all together in incognito mode but nothing seems to work. It connects to Woocommerce but for some reason it can’t install the code snippet and doesn’t recognize it when I install it manually

Userlevel 7
Badge +60

Hi @Kristian99

 

Hopping in here! So sorry to hear you’ve had issues!

 

I can see that .js script is applied to your website, so to be clear you have manually added the embed code’s snippet into your website, published the form, viewed the page that the form should appear in an incognito / private window and still do not see the form after all these steps? 

 

I ask in these steps because even if the error message does not get resolved, it will not prevent you from publishing your Signup Form as long as you have properly integrated your Klaviyo account with WooCommerce, or if you have manually installed Klaviyo's onsite script on your website, then you can proceed to publish your Signup Form as desired.

 

After we’ve confirmed these steps and still find no resolution, I will reach out to a fellow specialist in this product area to try to get to the bottom of this !

 

-Taylor

We had the same problem, spent 6 hours trying to get the code to verify as working on our WooCommerce site. It turned out that if I changed the domain name, removing the ‘www’, then it identified the code as working. Then when I put the ‘www’ back, it was all working fine. Another infuriating 6 hours wasted though!

Userlevel 7
Badge +60

Hi @VOCLA

 

I’m so sorry that you had that extremely frustrating experience, but happy to hear the issue has been resolved for you. Additionally, thank you for providing this workflow for others in the Community for another troubleshooting option to take! 

 

Thanks for being a member of the Community!

-Taylor 

Hey @VOCLA I’m facing the same issue, can’t figure out why Klaviyo is not recognising the script install. Can please elaborate on where exactly you had changed the domain name and any other steps that might help? Much appreciated.

Reply