Re: Klaviyo Track an event

How to configure Klaviyo to track account activation events in Shopify?

catriona1
Shopify Partner
6 0 0

We want to create an email marketing flow using Klaviyo to stimulate specific leads to activate their accounts and, later, to convert.

 

The conditional split needs to separate customers who have activated their Shopify account from those who didn't, which means we need to track when their customer status changes from "invited" to "enabled".

 

We got in touch with Klaviyo to know how we would do that. They said it would require us to send updates on the property field from Shopify to Klaviyo using Shopify Flow. So when the property value changes in Shopify, it would send an event to Klaviyo to notify them of the action.

 

We set up a flow on Shopify that starts "when customer account enabled" and then creates the action "track an event". After that, we don't know what to do and how bring this information to Klaviyo.

 

Would you be able to help us?

 

Kind regards,

Replies 4 (4)

Digico
Shopify Partner
47 1 5

Hello,

 

Klaviyo automatically insert their JS tracking inside Shopify front-end, if it's enabled and well integrated into theme (eg. "add to cart" event, can be integrated later into theme).

 

Shopify Flow won't be able to send a message to this Klaviyo JS event upfront. But with a little skill, an event can be sent to Klaviyo API following the event.

 

I suggest you have a look at this official Shopify post on how to deal with HTTP Requests

https://help.shopify.com/en/manual/shopify-flow/reference/actions/send-http-request

 

And then take a look at Klaviyo API.

https://developers.klaviyo.com/en/reference/api_overview

 

Both connected, you have your solution.

 

François

Digico Paris

Kalen_Jordan
Shopify Partner
696 29 116

Hope this isn't too self promotional, but since it's relevant I'll mention that our automation platform (kind of a flow alternative for some use cases) has a Klaviyo integration for tracking an event:

https://www.getmesa.com/apps/klaviyo/integrate

Digico
Shopify Partner
47 1 5

There's also Mechanic for that matter, we chat about native Shopify Flow in this forum topic. Thank you for not promoting your stuff.

Kalen_Jordan
Shopify Partner
696 29 116

I checked with Paul before posting and he said that if we could support the whole use case, he's okay with it.

 

He himself has mentioned mechanic for example in previous threads:

https://community.shopify.com/c/shopify-flow-app/can-flow-send-quot-internal-sms-quot/m-p/1908712/hi...