Apply tag on first order of customer by session

In Shopify flow I need to apply this logic – if first order & if first session = Google, tag customer google. Unfortunately I can’t find certain condition with this. Where can I find it? Thanks

I don’t think first session is an available data point. In that case I’d check the order JSON data to see what what you have available. Or an easier to read format is the order API ref: https://shopify.dev/api/admin-rest/2022-04/resources/order

For example, there is a field called “referring_site”. If you check the order JSON data in your Shopify admin (just add .json to the end of an order ID when in the order details page), if the referring_site field identifies Google how you want, then look for that in Flow.

Yes, I was thinking about this “referring_site” but unfortunately I did not find it in Shopify flow

Hi,

Did you find a way to do this? Also trying to find a way to do this.

Thanks

1 Like