I integrated everything perfectly klaviyo shopify, but the metrics active on site and Viewed Product don't track, what can I do to fix it?
Hi
Thank you for posting in the Community!
It could come down to a number of things. I would recommend to read through this article to troubleshoot the setup: https://help.klaviyo.com/hc/en-us/articles/4416172774939 and this one: https://help.klaviyo.com/hc/en-us/articles/4425956184731
In my experience I always try to the two following
- Turning off the app ambed (for Shopify) and turning it on again. And then testing on your own account with utm ?utm_email=your@email.com in the utm to get instant event records on your profile in Klaviyo.
- Revisiting your cookie settings for your website.
I hope this helps!
I have already tried what you wrote but still the problem has not been solved and the data is not being tracked....
Hi
When you visit your website and inspect it’s source, by right clicking, and then clicking “view page source,” do you see Klaviyo’s Onsite Javascript and Viewed Product on the page? Those scripts are necessary for viewed product and active on site tracking to function.
Also, I see that our support team is currently looking into this issue, and will be back in touch with a response as soon as we determine the fix!
Let me know if I can help out with anything else in the meantime.
-Byrne
How can I see if that script has been entered? I can't read the codes well
The 'integration was done correctly but I didn't quite understand how to see if there's what you say is there
Hi
Thank you for posting in the Community!
The lack of tracking of the events, active-on-site and viewed product, will come down to a number of things.
The first thing, that i would check, is to see, if the onsite js.script is present on your site.
You can go onto your site. Click inspect and then click Command+F for searching for the following script:
-
<script type="text/javascript" async="" src="https://static.klaviyo.com/onsite/js/PUBLIC_API_KEY/klaviyo.js"></script>
You can read more in this article: https://help.klaviyo.com/hc/en-us/articles/115005076767.
If you’re still experiencing problems. Please let me know! I would love to help you! :-)
Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov
and when I go to cookie myself, it gives me a 403 permissions error in the network tab, this is the client side call to create my profile after its cookied. This would trigger the active on site metric:

However, it gets blocked for a 403 forbidden error:

This is the payload of the response that we get as well.
How do I fix this error?
Hi
Thank you for the clarification.
I think the best way would be to start from A and go to B.
So i would do the following:
Step 1: Verify the Klaviyo script installation on BigCommerce:
Ensure that the onsite tracking script is properly installed and loading on all pages.
-
In BigCommerce Admin, navigate to:
-
Storefront > Script Manager.
-
Check for the Klaviyo script.
-
-
The script should look like this (replace
PUBLIC_API_KEY
with your actual key):
If it’s not loading or shows an error, re-add the script using Klaviyo’s BigCommerce integration guide here: https://help.klaviyo.com/hc/en-us/articles/115005082547.
Step 2: Verify the Public API Key:
A 403 Forbidden error often happens if the wrong API key is used. Ensure that:
-
The public API key (found in Klaviyo Settings > API Keys) is used in the script.
-
The key used in the network request is NOT a private key (which triggers 403 errors on frontend calls).
Step 3: Reauthorize the BigCommerce integration:
Sometimes, permissions issues between Klaviyo and BigCommerce cause 403 errors.
-
Go to BigCommerce Admin > Apps > Klaviyo.
-
Reauthorize the app by disconnecting and reconnecting it.
-
Make sure Klaviyo has the necessary permissions for:
-
Customer profiles.
-
Order events.
-
Onsite activity tracking.
-
Hope that helps or else let me know - I would love to help! :-)
Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.