Solved

Multiple Onsite Javascript Snippets Present On Site


Badge

Hey there

I installed Klaviyo on my shopify store. when am trying to insect the page for error, i found this message

 

Cannot load klaviyo.js multiple times for the same site. Skipping account "YbU9h2". Active account is "YbU9h2"

 

I wonder if there any possible solution to clear that warning. 

Thanks

icon

Best answer by dov.derin 10 June 2021, 20:14

Hi @M.Mourad

This error is due to multiple scripts of Klaviyo’s onsite javascript being present on your page. And as @David B., points out this can occur if you integrate subsequent Shopify stores to the same Klaviyo account. Rather than installing the Klaviyo app through the Shopify store, your best bet is to integrate with Shopify from within Klaviyo. We have a great article walking you through this step-by-step here.

In terms of fixing the problem, removing duplicates scripts of javascript can currently only be done by a Klaviyo support staff member. Therefore, you’ll need to reach out to support  to get this remedied.

Thanks and have a wonderful rest of your day!

View original

2 replies

Userlevel 1
Badge

This mean you have 2 Klaviyo account on the same site. (I guess 2 different accounts)

There is a BUGGGGGGGGG when you open Klaviyo app from shopify with different accounts it create new account in Klaviyo for each of them.

Userlevel 5
Badge +4

Hi @M.Mourad

This error is due to multiple scripts of Klaviyo’s onsite javascript being present on your page. And as @David B., points out this can occur if you integrate subsequent Shopify stores to the same Klaviyo account. Rather than installing the Klaviyo app through the Shopify store, your best bet is to integrate with Shopify from within Klaviyo. We have a great article walking you through this step-by-step here.

In terms of fixing the problem, removing duplicates scripts of javascript can currently only be done by a Klaviyo support staff member. Therefore, you’ll need to reach out to support  to get this remedied.

Thanks and have a wonderful rest of your day!

Reply