Skip to main content
Contributor I
November 1, 2023
Solved

Javascript tracking with custom ecommerce platform until user signs in

  • November 1, 2023
  • 2 replies
  • 113 views

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?

    This topic has been closed for replies.
    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

    2 replies

    saulblumAnswer
    Klaviyo Employee
    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
    2025 Champion
    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

    Helping E-commerce brands maximize Lifetime Value & Profits with Klaviyo, CRO & CVO - Get your free Audit - https://link.polarisgrowth.com/free-audit