Solved

Can't get Web tracking script to install with BigCommerce. Says Script not installed correctly.

  • 6 December 2022
  • 9 replies
  • 286 views

Badge +2

I have reached out to support several times, and I keep getting very bad responses.

  1. We’ve searched your site and didn’t find the code. Well you searched  my live site, not the site i’m migrating to which isn’t live yet. DUH
  2. I have already been advised to REMOVE the integration, which did not work. 
  3. I instead removed the entire app from the store TWICE now. And reinstalled the script. Still no match.
  4. The error message I am getting when trying to verify is this: 
    Script was not installed correctly 
  5.  I have verified that the script is accurate. 
  6. I read the article for a Shopify store where there could be a conflict with other scripts. I do not have any other Klaviyo scripts installed. Only the auto script named Klaviyo JS Injection that is installed when integrating. Unless it conflicts with a separate script from another app? 

     

icon

Best answer by Brian Turcotte 6 December 2022, 17:11

View original

9 replies

Userlevel 7
Badge +36

Hi @We Are Learning French!

If you’re using GTM to add Klaviyo onsite tracking, it’s a slightly different process. Here are the directions to accomplish that:

 

Keep in mind, even when the onsite tracking is enabled, it will only register site visitors that have been identified via the following conditions:

 

Here are some other Community threads in which members discuss similar experiences:

 

I hope this helps, and thanks for using the Community!

- Brian

Hey @Brian Turcotte!

 

Thank you for your quick answer. I am using wocommerce and google tag manager for all my tracking codes. Any idea how to find the tracking code in klaviyo platform and add it to GTM?

 

I can’t see any visitors behavior in my analytics, that’s why I guessed the tracking code is not correctly plugged. Can I then use the code that is showing under the link you sent? Not sure about it.

 

Thanks a lot for your help!

Userlevel 7
Badge +36

Hi @We Are Learning French!
 

If you’re using BigCommerce, then the Active on Site tracking should be added when you integrate, if you also check the setting Automatically add Klaviyo onsite JavaScript in Klaviyo.

 

If you want to add the onsite tracking manually, you can do so by following this Help Center article:

 

I hope this helps!

- Brian

Hey @Brian Turcotte 

 

I hope all is well! 

Would you be able to help me to find the tracking code on platform , so I can integrate it on my website (header/footer)? I can’t locate the tracking code on the platform, I have tried everywhere.

 

Thank you!

Userlevel 7
Badge +36

Hi @Shiroyasha!

 

I’d definitely recommend checking your SSL status and upgrading if it’s less than grade A, since that can cause multiple integration issues.

 

However, there are more than one causes of integration failures that can be specific to the e-commerce platform. For WooCommerce, I’d start with these threads that discuss some possible issues:
 

 

I hope this helps get you started!
- Brian

Badge +5

Hi @Brian Turcotte, i’m having issues integrating the klaviyo script in woocommerce.

Also, the metrics and revenue aren’t synced correctly. Could it be an SSL issue?

Userlevel 7
Badge +36

Hi @cathywise,

 

Glad to hear the script’s installed - I would recommend upgrading the SSL certificate as soon as possible, because in other similar cases it has been the source of integration issues. If your testing was successful however, it’s probably not imperative at this time. 

 

I’ll also definitely forward the integration-checker feedback to our product team. If it’s still showing the error message, it’s usually because of some third-party code/plug-in interference, but it’s always good for us to inspect occurrences like this.

 

Thanks again for using the Community!

- Brian

Badge +2

Thank you!

I am not live yet, so not sure if the SSL relates to this or not? I will upgrade the SSL before launch. Unless you think I would need to do that now while integrating?

The script is indeed installed correctly after manual testing. But the error message continues to display - which is not very useful for beginners setting up.  Lesson learned though - this new BC/Klaviyo process will not go smoothly as planned.

 

Again, thanks!

Userlevel 7
Badge +36

Hi @cathywise and welcome to the Community!

 

I’m sorry to hear you’re having trouble with your integration! This issue could be caused by several things. May I ask the status of the SSL certificate for the new site? If you don’t know, you can check by entering the website address here - Klaviyo requires a grade A to integrate, so if it’s less than that you may need to update your SSL certificate to move forward. 

 

Also, if you haven’t already, I would suggest trying to manually check if the correct code is installed on your site through your browser console. While the snippet checker tool is useful, it’s possible that the snippets could be installed successfully and the checker missed it due to third-party interference. The best way to know for certain is to check via your console, and then test yourself by cookie-ing your own browser and clicking around your site to see if the events fire in Klaviyo.

 

Here are some more Community posts dealing with similar topics:

 

Thanks for using the Community!

- Brian

Reply