Hi everyone,
I have a Shopify webshop, and I’m currently seeing around 500 “Added to Cart” sessions per day when I check in Shopify.
My Klaviyo client-side tracking is registering about 50% of those.
But my server-side tagging is only registering around 5%.
When I test the setup in GTM and Klaviyo — using both the _kx
parameter from email clicks and the user email (when logged in) — everything seems to work fine.
When I check the Stape logs, I can see that Stape is sending requests to Klaviyo for about 60% of the sessions tracked in Shopify, so the GTM setup looks like it’s firing.
However, most of those tags don’t have an identifier, which probably explains why they’re not showing up in Klaviyo.
From what I understand, client-side Klaviyo tracking uses the __kla_id
cookie to identify users, but server-side can’t access that — is that correct? Or am I missing something?
What could possibly be wrong here?
What should I test to narrow this down — and how can I test it?
I’d love any input or ideas. Thanks in advance!
I dont have a complete answer for you since im struggling with the same thing.
However for serverside klaviyo to work you will need to indentify the user as you said, either by their email or kx cookie when a user clicks on an email. The Klaviyo tag from Stape, does set a cookie with the value of the users email if they expose their email on the site which you could use as an identifier.
For me, i just save the users email in a cookie myself and store it in a firebase/stape store. This did help a lot and some days i can beat the native integration but other days i cannot.
I dont know how klaviyo stitches the users togehter so they indentify so much more tbh.
Mabye someone else can chime in as well
I just spent most of my afternoon reading your post from last year.
I think Klaviyo does it by using the __kla_id, because it can be saved and retrieved after weeks/months.
Sadly, what I am reading as well, is that this is a third-party cookie that i used through the Klaviyo script, and therefor the SST can’t do the same.
I feel like this is where the official guides are missing something, because this definitely does not work, and not even close to, as the Klaviyo script/Client side tracking.
Would you mind connecting on LinkedIn, do discuss this or keep each other updated on possible solutions?
Sure you can add me on linkedin https://www.linkedin.com/in/jeppe-s-nielsen-b6b66521a/
lets also update this thread tho, so other people can benefit from it 