Skip to main content
Solved

Insert a snippet into a Shopify form so that the form adds the Klaviyo cookie to customers?

  • March 12, 2024
  • 2 replies
  • 47 views

Forum|alt.badge.img+2

Hello, 

In the Who Klaviyo tracks section of the Getting started with Klaviyo onsite tracking article, the third option for cookie-ing customers is installing custom tracking which cookies customers when they log in. 

Is this the correct developer documentation needed to implement this tracking? 

JavaScript API for identification and tracking
 

Thank you.

Best answer by saulblum

You’d need to write some JavaScript that fires when the Shopify submits, to call klaviyo.identify with the submitted email address.

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
  • 168 replies
  • Answer
  • March 13, 2024

You’d need to write some JavaScript that fires when the Shopify submits, to call klaviyo.identify with the submitted email address.


Forum|alt.badge.img+2

Thank you Saul. I am not a developer. I want to make sure that the developer my team hires, has the right documentation to complete the task. 

 

Which, it looks like if I provide them this documentation - JavaScript API for identification and tracking - that should suffice. I see the Identify people section, which looks to be the guidance needed to call klaviyo.identify.