Skip to main content
Solved

Javascript tracking with custom ecommerce platform until user signs in


Forum|alt.badge.img+2

Hi,

I have a custom eCommerce platform.

We could have a scenario where the customer visits the site. He has no cookies set so we do not have the email Id. He views a couple of products and then signs in. When he signs in we have the email id. How do we ensure that the products he viewed is associated with his email Id? can that happen automaticially ro we have to do something on our side.

IS there any example that one can point to.

 

Once he is logged in we are able to track, i wanted to know about the events before he logs in. How do we track that?

Best answer by saulblum

Hi! There’s a new-ish anonymous backfill feature that will do this:

https://help.klaviyo.com/hc/en-us/articles/17928628922395

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

2 replies

Forum|alt.badge.img+7
  • Klaviyo Employee
  • 169 replies
  • Answer
  • November 1, 2023

Hi! There’s a new-ish anonymous backfill feature that will do this:

https://help.klaviyo.com/hc/en-us/articles/17928628922395


Omar
Partner - Platinum
Forum|alt.badge.img+46
  • 2025 Champion
  • 494 replies
  • November 3, 2023

Indeed Klaviyo added this neat little feature. Something that Elevar was actually providing for most Shopify shops already.

 

Omar Lovert // Polaris Growth // Klaviyo Master Platinum Partner

We help with e-commerce growth through CRO, Klaviyo and CVO