Can Script Editor fire Google Analytics code on checkout?

Highlighted
New Member
1 0 0

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?

0 Likes
Highlighted
Shopify Partner
38 8 5

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. 

0 Likes