Skip to main content
Solved

On Page - Getting the Klaviyo Email Pop up contact details to domain Cookie?

  • October 10, 2024
  • 2 replies
  • 15 views

Forum|alt.badge.img+4
  • Problem Solver III
  • 36 replies

Hey, 

 

Wondering if it is possible to get the input of the sign up form saved to the cookie in the browser under the domain (ie: yourdomain.com)??

 

 

Best answer by chrisB

Maxbuzz wrote:

Hello @chrisB  Yes,  it is possible.

 

You will have to write a custom JS code to add a clickeventlistener on the Klaviyo Popup form button.

This listener will check if Klaviyo button is clicked then you should be able to get the data of the form and save it in cookies.



Hey Max, Figured out a way around this using the Klaviyo Datalayer Event, then catching in GTM and using that to write to Cookie. I actually moved from Cookie to using a datastore to maintain strong PII and then only add the KL profile ID, and reference it.

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+31
  • Partner
  • 252 replies
  • October 22, 2024

Hello @chrisB  Yes,  it is possible.

 

You will have to write a custom JS code to add a clickeventlistener on the Klaviyo Popup form button.

This listener will check if Klaviyo button is clicked then you should be able to get the data of the form and save it in cookies.


Forum|alt.badge.img+4
  • Author
  • Problem Solver III
  • 36 replies
  • Answer
  • October 23, 2024
Maxbuzz wrote:

Hello @chrisB  Yes,  it is possible.

 

You will have to write a custom JS code to add a clickeventlistener on the Klaviyo Popup form button.

This listener will check if Klaviyo button is clicked then you should be able to get the data of the form and save it in cookies.



Hey Max, Figured out a way around this using the Klaviyo Datalayer Event, then catching in GTM and using that to write to Cookie. I actually moved from Cookie to using a datastore to maintain strong PII and then only add the KL profile ID, and reference it.