Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Bonjour,
J'aimerai faire remonter la variable isFirstOrder dans le data layer pour les événements checkout_started et checkout_completed
Actuellement je ne vois pas cette variable dans le data layer en inspectant mon site :
Et dans ces documentations il est pourtant mentionné que cette variable existe :
https://shopify.dev/docs/api/web-pixels-api/standard-events/checkout_started
https://shopify.dev/docs/api/web-pixels-api/standard-events/checkout_completed
Dans Google Tag Manager j'ai créé une variable de cette manière :
Pouvez-vous m'aider à récupérer cette variable ?
Merci
Solved! Go to the solution
This is an accepted solution.
Il faut ajouter cette variable dans les Paramètres > Évènements clients > DataLayer > Code :
Et en s'aidant de cette doc : https://shopify.dev/docs/api/web-pixels-api/standard-events/checkout_started
This is an accepted solution.
Il faut ajouter cette variable dans les Paramètres > Évènements clients > DataLayer > Code :
Et en s'aidant de cette doc : https://shopify.dev/docs/api/web-pixels-api/standard-events/checkout_started
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025