Hi,
I just noticed this JavaScript console message:
Cannot load klaviyo.js multiple times for the same site. Skipping account "XXXXXX". Active account is "XXXXXX"
Does anyone know what it means and how I can resolve it? Thanks, -oo
Hi,
I just noticed this JavaScript console message:
Cannot load klaviyo.js multiple times for the same site. Skipping account "XXXXXX". Active account is "XXXXXX"
Does anyone know what it means and how I can resolve it? Thanks, -oo
Best answer by David To
Hello
Thanks for sharing your question with the Klaviyo Community!
Typically this sort of console error arises when you have either duplicate Klaviyo.js present on your site all linked to the same account or if you happen to have multiple Klaviyo accounts accidentally integrated to the site. You can check to see if there this error is caused by a duplication in the Klaviyo javascript or by having multiple Klaviyo accounts by reviewing the Klaviyo.js snippets on your site through:
If you were able to locate multiple instances of the same Klaviyo.js present on your site referencing the same Klaviyo Account ID, this may indicate that you have both the setting of Automatically add Klaviyo onsite javascript (recommended) enabled in your Shopify integration settings and have manually installed the Klaviyo.js snippet. In this case, we would recommend only one or the other; either allow Klaviyo to automatically inject the javascript or manually installing the javascript. To resolve this, I would suggest manually finding and removing this snippet from your theme file while only allow Klaviyo to automatically inject the Klaviyo javascript from the Shopify integration settings.
If searching through your site code returns multiple different results, this would indicate you have multiple Klaviyo accounts connected to this site. To resolve this, I would suggest taking the steps I’ve outlined in the Community post below to resolve this multi-account integration issue:
Have a great day!
David
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.