Google Analytics tracking of your online store
Guide to setting up Google Analytics with e-commerce tracking on your Shoporama webshop via Google Tag Manager.
There are several ways to implement Google Analytics tracking on your Shoporama online store. This guide describes the options available - from easy setup to full manual control.
Recommendation
The easiest option is to use Shoporama's built-in tracking, which automatically sends data to Google Analytics, Facebook, Pinterest and more without any code changes.
Option 1: Shoporama's built-in tracking
The quickest way to get Google Analytics up and running:
- Go to Settings → Tracking
- Enable Shoporama Tracking
- Insert your GA4 Measurement ID (starts with G-)
- Click Save
Shoporama will then automatically send all relevant e-commerce events to Google Analytics - including page views, product views, add to cart and purchases.
Option 2: Google Tag Manager (manual setup)
If you want full control over your tracking, you can use Google Tag Manager (GTM) with Shoporama's default data layer:
- Go to Settings → Tracking
- Enable "Enable default data layer"
- Insert your GTM code under Settings → Code in head/body
- Set up GA4 tags in Google Tag Manager
Available e-commerce events
Shoporama's data layer automatically sends the following GA4 e-commerce events:
| Event | Event description |
|---|---|
page_view | Page views |
view_item | Product views |
view_item_list | Category views |
add_to_cart | Add to cart |
begin_checkout | Start of checkout |
purchase | Completed purchase |
Troubleshooting
- No data in GA4? - Check that your Measurement ID is correct and tracking is enabled
- Double tracking? - Make sure you only use either Shoporama tracking or GTM - not both
- Test your setup: Use GA4 DebugView or GTM Preview mode
Read more in our complete tracking guide. Need help with tracking? Contact us at support@shoporama.dk.