Solved

Multiple Onsite Javascript Snippets Present On Site

  • 9 June 2021
  • 2 replies
  • 1213 views

Badge +2

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 10 June 2021, 20:14

View original

2 replies

Userlevel 7
Badge +61

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!

Userlevel 1
Badge +2

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.

Reply