Skip to main content

Klaviyo identify is headless shopify


Forum|alt.badge.img+4

Hi Support, 

 

I am working for client to setup Klaviyo in shopify headless. All non-checkout page are built in GATSBY react framework while checkout pages are from Shopify default. Checkout page are in subdomain so I am not able to identify the users in main domain.

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

4 replies

alex.hong
Forum|alt.badge.img+58
  • Klaviyo Alum
  • 1552 replies
  • March 7, 2022

Hi there @sushilsth,

Welcome to the Community.

Our community team is not able to offer support building custom solutions, however, we can provide the necessary resources for it. If you end up running into any specific problems you can feel free to email us the information around the specific example and we can have one of our engineers review what might be happening. Third-party apps often have varying ways they’re connecting to our API and so we don’t have insight into how this can be resolved. Reaching out to Shopify support is the best resource! 

Further, adding a Custom Integration is possible via our API. If you’re not sure where to get started, we have a Getting Started with APIs doc that covers the basics of what you’ll need to know.

We have both Javascript and server-side endpoints for our Track (for sending events) and Identify (for sending profile properties) APIs.
We recommend sending orders via our server-side API because it avoids a couple of use-cases in which front-end order tracking would not work:
1) if someone is using a javascript-blocking plugin
2) if someone is on a slow computer and javascript does not load in time on their checkout page

The standard setup for ecommerce platforms that do not provide access to server-side code would be to set up an intermediary server that collects the last 5-20 minutes of orders and sends them to us as server-side Track API calls. This ensures all of the order data is complete and bypasses any potential front-end issues. If this is not an option, you can absolutely send us order information via Javascript Track calls with the caveats listed above. 

Here's some more specific information on our server-side and Javascript APIs:
Javascript Track API 
Javascript Identify API
Server-side Track API
Server-side Identify API

At this time, we do not provide support or flows for custom integrations. Once your integration's been added, you can use our guide on adding Dynamic Data to flows to start building them.

 

Hope this helped,

Alex


Forum|alt.badge.img+4
  • Author
  • Contributor II
  • 3 replies
  • March 12, 2022

Hey,

 

After banging so many ways around I have been able to work all tracking in cross-domain sub domain checkout pages as well from IFRAME and cookies concepts. 


alex.hong
Forum|alt.badge.img+58
  • Klaviyo Alum
  • 1552 replies
  • March 15, 2022

Glad to hear you found a solution @sushilsth!

 

 


  • Contributor I
  • 1 reply
  • February 12, 2025
sushilsth wrote:

Hey,

 

After banging so many ways around I have been able to work all tracking in cross-domain sub domain checkout pages as well from IFRAME and cookies concepts. 

Hi ​@sushilsth , do you mind sharing what was the solution?