Skip to main content
Question

Active on Site & Viewed Product Not Triggering


Forum|alt.badge.img

The integration is setup correctly, viewed products and track additional behavior are checked, the data is set to sync from Shopify, but Viewed Product and Active on Site metrics are empty.

I tried adding the script manually as in this answer and changing themes, but nothing works. Let me know if you guys know of anything that could solve this.

Did this topic or the replies in the thread help you find an answer to your question?

3 replies

retention
Partner - Platinum
Forum|alt.badge.img+62
  • 2025 Champion
  • 944 replies
  • February 24, 2025

Hi ​@castib.angie, welcome to the community!

For most people, you don’t need to add the script manually.  Unless there is a specific reason, I now recommend the built in method for most users.

Just a few things to check:

  1. In your Klaviyo Integration → Shopify Settings, did you enable this:
  2. In your Shopify Theme (of your current Live Theme) settings → App Embeds, did you toggle this on? 

     

Also, like mentioned in the thread you referenced, only identified Klaviyo subscribers will have this metric.  Meaning, any anonymous (or unknown users), this metric will not fire as obviously Klaviyo doesn’t know who they are. 

Klaviyo identifies users based on these scenarios:

  • If someone has, at some point, clicked through a Klaviyo email or SMS to your website.
  • If someone has, at some point, subscribed/opted-in through a Klaviyo form.
  • If someone has, submitted a Klaviyo form through a certain action.
  • If someone has reached the success step of a form, or reached the final reachable step for tap-to-text (Subscribe via SMS) forms.
  • Or any other way that you may have done identified a user via the API.

Try enabling/disabling the App Embed if you switched or updated Themes and give it a bit of time for your users who have been identified to “View Products” or return to your site.  I would recommend checking back after you have sent a campaign that had a large audience size. Let us know if that worked or not!

 


Forum|alt.badge.img
  • Author
  • Contributor I
  • 1 reply
  • February 25, 2025

Hey ​@retention 

Thanks for answering! Already have all the settings you specified.

I tried to trigger the event multiple times after identifying myself (signing up to the newsletter, the app I’m using for the signup form is SmashPops) and using “https://mystore.com/?utm_email=myemail”, but that didn’t work either. I’ve also tried enabling/disabling the app embed.

Why would it be best to check after sending a campaign with a large audience?


emma.owens
Community Manager
Forum|alt.badge.img+13
  • Community Manager
  • 64 replies
  • February 25, 2025

Hi ​@castib.angie ! 

If your integration is set up and you’ve enabled onsite tracking, then the Active on Site and Viewed Product events should be triggering as expected. As you’ve mentioned above, I would suggest inputting the URL https://mystore.com/?utm_email=myemail and then making sure that you go to a specific product page to trigger a Viewed Product event. If this isn’t working for you, I would suggest having a colleague try on a different device to see if they’re able to trigger the events! 

Here is our guide for testing onsite tracking that will be helpful to reference as well: https://help.klaviyo.com/hc/en-us/articles/4425956184731#h_01J6F7TREZ6GZAYG89ZE4J5A9Q