https://github.com/29next/google-analytics-4
Google Analytics 4 integration with storefront with ecommerce events.
https://github.com/29next/google-analytics-4
ecomm
Last synced: 9 months ago
JSON representation
Google Analytics 4 integration with storefront with ecommerce events.
- Host: GitHub
- URL: https://github.com/29next/google-analytics-4
- Owner: 29next
- Created: 2023-06-08T07:27:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-17T04:07:59.000Z (about 1 year ago)
- Last Synced: 2025-09-30T14:55:02.266Z (10 months ago)
- Topics: ecomm
- Language: JavaScript
- Homepage: https://developers.29next.com
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Analytics 4
Google Analytics 4 app for 29 Next that integrates Google Analytics 4 into any storefront theme with [Storefront Event Tracking](https://developers.29next.com/docs/themes/event-tracking/). App also includes [Enhanced Ecommerce](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag) event tracking using the `gtag()` events.
Also includes Google Adwords Conversion tracking integration with `gtag()` conversion events.
**Google Analytics 4**
* [Installs Google Analytics 4](https://support.google.com/analytics/answer/9304153) globally with a setting for your Measurement ID
**Google Ecommerce Events**
* [Product Detail Impressions](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag#view_item_details)
* [Add to Cart](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag#add_or_remove_an_item_from_a_shopping_cart)
* [Begin Checkout](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag#initiate_the_checkout_process)
* [Purchases](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag#make_a_purchase_or_issue_a_refund)
**Google Adwords Conversion Tracking**
* [Google Tag for Google Ads Conversion Tracking](https://support.google.com/google-ads/answer/7548399?hl=en)
See `tracking.js` for a complete detailed view of the implementation.
For more information on individual tracking events, see the [Storefront Theme Event Tracking guide](https://developers.29next.com/docs/themes/event-tracking/).