Differences between Klaviyo SGTM events

Good morning.

I was watching the videos of Klaviyo Events Tracking Setup Using Server GTM in your academy and I understood the whole procedure but I didn’t understand a part.

In the purchase event some parameters are inserted while in the add to cart event they are removed.

It is not possible to send an email during the Add to Cart event, as there is no field to enter or use an email address at this stage. For this reason, no email is sent or used.

I hope the question is clear.
Thanks

Im not sure what your question really is :smiley:

But yes, it might be more difficult to identify a user on a add to cart event compared to purchase where we will get the user data easily.

You could store the users email in a cookie, whenever they expose it via a form on the website (email popup, or whatever), or use the kx cookie as fallback whenever a users clicks on an email.

Im sure there are other ways as well

@jeppe_Nielsen

thanks for your interest.

The problem I had was why when creating the add to cart tag the email was not inserted as a parameter unlike what happened in the case of the Purchase tag.

In the end the answer is that the mail parameter does not pass with the add to cart event but only with the purchase.

2 Likes

You won’t receive the user’s email during the first “Add to Cart” event. The email is only captured when the user completes a purchase or submits a form. At that point, the Stape tag stores the email in a cookie.

After that first transaction or lead submission, whenever the user adds to cart again, the Klaviyo “Add to Cart” tag will fire correctly, since the email is now available.

1 Like