Skip to main content
Solved

Klaviyo warning - "Already loaded for account XXXXXX. Skipping account XXXXXX"

  • May 31, 2022
  • 7 replies
  • 1044 views

Forum|alt.badge.img+2
  • Contributor I

I’m getting this warring four or time. How i can remove this warning:

Warning:

Already loaded for account XXXXXX. Skipping account XXXXXX.
This error is repeated with different accounts being skipped.

Best answer by stephen.trumble

Hey @Ani 

TL;DR: This warning means Klaviyo's JavaScript is loading more than once on the same page. The second load is automatically skipped, which is why you see "Skipping account." It's usually harmless but points to a duplicate snippet that should be cleaned up.

Why this happens

Klaviyo's onsite JavaScript is designed to only run once per page load. If it detects it's already been initialized for an account, it skips the second instance and logs this warning to the browser console. Common causes:

  • The Klaviyo snippet is manually embedded in your theme and also being injected automatically by a Klaviyo account setting
  • Multiple Klaviyo accounts are connected to the same store, each inserting their own snippet
  • A third-party app or tag manager is loading a second instance of Klaviyo.js

How to fix it

  1. Audit your site's <head>, footer, theme files, and any tag manager (e.g. GTM) for duplicate Klaviyo snippets. Remove any extras so only one instance loads.
  2. If you have multiple Klaviyo accounts connected to the same store: in all but one account, go to account settings and uncheck "Automatically add Klaviyo onsite JavaScript." Keep it enabled in one account only.
  3. If you've manually installed the Klaviyo .js snippet, make sure you've only installed it from one account.
  4. After cleanup, reload your site and check the browser console to confirm the warning is gone.
  5. If the warning persists after removing all duplicates, contact Klaviyo Support and include a screenshot of your console output.

Is this breaking anything?

In most cases, no,  the duplicate load is ignored and your forms and tracking will still work from the first instance. That said, it's worth fixing to avoid unpredictable behavior if your site setup changes.

 

I’ve also escalated your post to Klaviyo Support for them to access your account and take a closer look into what happened. Once they have responded I will make sure to update you ASAP!

7 replies

stephen.trumble
Forum|alt.badge.img+60

Hey @Ani 

Welcome to the Klaviyo Community! Thank you for reaching out for help.

To start I just wanted you to know I edited your post to remove your account information. Sharing this information in the community can lead to security issues, so I redacted the accounts from the post. I also have a couple of clarifying questions. First is, where are you seeing this warning on your account? What action are you trying to complete when getting these errors? Do you have seperate accounts for each domain you use? Do you have access to all the accounts that are listed in the warnings?

 


Forum|alt.badge.img+2
  • Author
  • Contributor I
  • June 2, 2022
  1. where are you seeing this warning on your account?  (These warring are showing in the website.)
  2. What action are you trying to complete when getting these errors. (No action when loading the site then these error showing console)
  3. Do you have separate accounts for each domain you use?  (No, I’m using single account)
  4. Do you have access to all the accounts that are listed in the warnings? (I have access only one account that we’re using)

stephen.trumble
Forum|alt.badge.img+60

Hey @Ani 

TL;DR: This warning means Klaviyo's JavaScript is loading more than once on the same page. The second load is automatically skipped, which is why you see "Skipping account." It's usually harmless but points to a duplicate snippet that should be cleaned up.

Why this happens

Klaviyo's onsite JavaScript is designed to only run once per page load. If it detects it's already been initialized for an account, it skips the second instance and logs this warning to the browser console. Common causes:

  • The Klaviyo snippet is manually embedded in your theme and also being injected automatically by a Klaviyo account setting
  • Multiple Klaviyo accounts are connected to the same store, each inserting their own snippet
  • A third-party app or tag manager is loading a second instance of Klaviyo.js

How to fix it

  1. Audit your site's <head>, footer, theme files, and any tag manager (e.g. GTM) for duplicate Klaviyo snippets. Remove any extras so only one instance loads.
  2. If you have multiple Klaviyo accounts connected to the same store: in all but one account, go to account settings and uncheck "Automatically add Klaviyo onsite JavaScript." Keep it enabled in one account only.
  3. If you've manually installed the Klaviyo .js snippet, make sure you've only installed it from one account.
  4. After cleanup, reload your site and check the browser console to confirm the warning is gone.
  5. If the warning persists after removing all duplicates, contact Klaviyo Support and include a screenshot of your console output.

Is this breaking anything?

In most cases, no,  the duplicate load is ignored and your forms and tracking will still work from the first instance. That said, it's worth fixing to avoid unpredictable behavior if your site setup changes.

 

I’ve also escalated your post to Klaviyo Support for them to access your account and take a closer look into what happened. Once they have responded I will make sure to update you ASAP!


Forum|alt.badge.img+2
  • Author
  • Contributor I
  • June 3, 2022

Hello Stephen, before adding this post I had checked on site script in the whole site and there is no multiple scripts. Please assign any your developer for this issue and try to sort this out.

 

Thank you


Forum|alt.badge.img+2
  • Author
  • Contributor I
  • June 6, 2022

Hi, can you please update/help us over our query ?


stephen.trumble
Forum|alt.badge.img+60

Hey @Ani 

Brandon from the support team sent you an email on Thursday to your Devteamin email address to get more information from you in regards to your account. Please check your spam or promotional folders if the email did not land in your inbox. They need some private information from you in order to find a solution. 


Forum|alt.badge.img
  • Contributor I
  • March 8, 2025

I have the same issue(error)…

 

Already loaded for account XXXXXX. Skipping account XXXXXX.

klaviyo.js?company_i…ins.myshopify.com:1

  (anonymous) @stephen.trumble