Set up tracking on the Alaska theme
Guide to setting up Google Tag Manager tracking specifically on the Alaska theme in Shoporama.
This guide shows you how to set up Google Tag Manager (GTM) tracking specifically for the Alaska theme in Shoporama. The Alaska theme has built-in support for GTM, so setup is quick and easy.
Recommendation: Use Shoporama’s built-in tracking
The easiest and most robust solution is Shoporama’s built-in tracking, which sends data to Google Analytics, Google Ads, Meta, and several other platforms without any code changes or GTM setup. The guide below is an alternative for stores that want to run their own Google Tag Manager setup.
1. Create a Google Tag Manager account
If you don’t already have a GTM account, create one:
- Go to tagmanager.google.com
- Sign in with your Google account (typically the same one you use for Google Analytics)
- Create a new account using your company name
- Create a container for your online store (select "Web" as the platform)
2. Find your GTM ID
Once your container is created, you’ll see a code snippet. You only need the GTM ID, which looks like GTM-XXXXXXX. Copy this ID.
3. Enter the GTM ID in Shoporama
- Log in to your Shoporama admin
- Go to Web Store → HTML Fields in the left sidebar
- Click Add New HTML Field
- Give the field a name, e.g., gtm_head
- Paste the GTM snippet provided by Google Tag Manager (both the <script> section for <head> and the <noscript> section for <body>)
- Select placement: Insert at the end of <head> for the script section and, if necessary, create a separate field with Insert at the end of <body> for the noscript section
- Click Save
Learn more about HTML fields in the article HTML Fields: Insert Cookiebot, GTM, and Other Scripts. Note: If your store previously had a GTM ID set up directly in the theme’s tracking settings, the Alaska theme already loads GTM automatically. Make sure GTM is loaded in only one place; otherwise, visits and sales will be counted twice.
4. Import Shoporama settings into GTM
Shoporama has prepared a container file that automatically sets up the most important tags and triggers for the Alaska theme. Email support@shoporama.dk, and we’ll send you the file. Once you’ve received it, import it as follows:
- Go to Admin in Google Tag Manager (top left)
- Click Import Container
- Select the container file from Shoporama
- Select "Existing" and then "Default Workspace"
- Click Confirm
- Click Submit in the top-right corner
- Click "Publish " and, if desired, name the version "Shoporama"
Troubleshooting
- Tracking not working? Check that the GTM ID is entered correctly and that the container is published
- Events aren’t being recorded? Use GTM’s “Preview” mode to debug your tags
- No e-commerce data in GTM? The Alaska theme only sends data to the dataLayer when tracking is enabled for the theme and the customer has accepted cookies. If you have any questions, please email support@shoporama.dk
- Duplicate tracking? Make sure you only have one tracking setup active (either your own GTM setup or Shoporama’s built-in tracking), and that GTM is loaded in only one place
Need help with tracking? Contact us at support@shoporama.dk.
Related articles
Set up Daisycon tracking on your webshop
Guide to implementing Daisycon conversion tracking on your Shoporama webshop with correct Smarty code.
Change the content of your emails
Guide to customize the content of the automatic emails your Shoporama webshop sends, either via admin or theme templates.
Checkout flow and shipping calculation
Guide for developers to implement shipping in the checkout flow of a Shoporama theme.