Google Tag Manager (GTM)
What is Google Tag Manager?
Google Tag Manager (GTM) is a free tag management platform that lets you add and manage tracking codes (tags) on your website through a web-based interface, without editing the code directly. It makes it easy to manage Google Analytics, the Meta Pixel, conversion tracking, and other scripts in one place. Tags are fired by triggers and get their data from the page's dataLayer.
GTM for online stores
For online stores, GTM is especially useful for:
- Ecommerce tracking with GA4 (product views, add to cart, purchases)
- Conversion tracking for Google Ads and Meta
- Remarketing tags for advertising
- A/B testing and personalization tools
GTM also comes in a server version, where the container runs on a server instead of in the browser. Read more under server-side GTM.
GTM and Shoporama
If you want to use your own GTM container, insert the GTM code from Google as an HTML field under Webshop → HTML fields, placed at the end of <head>. You then manage all tags, triggers, and variables in your container yourself. See the guide to HTML fields.
You do not need a GTM account at all to track your store, though. Shoporama's built-in tracking sets up all ecommerce events for you: just enter your IDs for services such as GA4, Meta, and Google Ads under Webshop → Tracking, and Shoporama sends the events automatically, server-side too. Read more in the guide to tracking in your Shoporama store.
The two solutions should not run at the same time, as the same events may otherwise be counted twice.
How to do it in Shoporama
Guides that show the term in practice
Server-side tracking in Shoporama: GA4, Meta, and Google Ads
A complete guide to server-side tracking in Shoporama. Better data quality, fewer conversions lost to ad blockers,...
HTML fields: add Cookiebot, GTM, and other scripts to your store
How to use HTML fields in Shoporama to add Cookiebot, Google Tag Manager, Facebook Pixel, chat widgets, and other...
Set up ecommerce tracking in your Shoporama store
Enable Shoporama's built-in tracking and send accurate tracking data to Facebook, Google Ads, GA4, TikTok, and more....
We know online marketing at Shoporama
We have worked with online marketing ourselves for decades. As the only e-commerce platform in Denmark, we have spoken several times at conferences such as Marketingcamp, SEOday, Shopcamp, Digital Marketing, E-commerce manageren, Ehandelsdagen, Web Analytics Wednesday, and many more.