Personalized checkout and custom promotions with Shopify Scripts
I want to pass to Google Analytics and Event (or contained inside eCommerce) the orders count so that I can see 'First time purhcases' in GA
Looks like the '.orders_count' variable is available, can I use that to fire GA code that contains that number upon every successful purchase?
No, It's not possible with Script Editor. You can probably use webhooks to look for orders created by new users and then trigger an event for GA.
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