View Code? Open in Web Editor
NEW
Analyzify's open-source guide & codes on Shopify Pixels & Customer Events. Follow this repo to stay up-to-date with the new pixels.
Home Page: https://analyzify.app/shopify-pixels
shopify-pixels's People
shopify-pixels's Issues
gtag ( "event" , "page_view" , Analyzify . getPageViewData ( event ) ) ;
GA4 appears to automatically track page views so this event does not need to be fired.
the checkout_started event only trigger once, but i want it be trigger every time when I reach the page, how can i do?
I believe Google requires you to send quantity and price for order items when tracking a purchase, the snippet is currently passing the item_id
and item_name
:
getItemsFromLineItems ( lineItems ) {