Google Tag Manager
SonoTrix add-on for CS-Cart that injects your Google Tag Manager web container and can optionally push GA4-compatible ecommerce dataLayer events from the storefront.
This is not a Google Analytics 4 or Google Ads add-on. Configure GA4, Ads, and other tags inside GTM.
Avoid double-firing pixels
If GTM already loads Meta, Snapchat, TikTok, X, or Pinterest tags, do not also enable the matching SonoTrix pixel add-ons for the same IDs — events may fire twice.
What you need from Google
- A Google account
- A Tag Manager account
- A Web container and its ID in the form
GTM-XXXXXXX
Install the add-on
- Download the Google Tag Manager package.
- Go to Add-ons → Manage add-ons.
- Upload, install, and enable the add-on.
See also: How to Install CS-Cart Add-ons.
Part A — Google Tag Manager setup
Step 1: Create a Tag Manager account and web container
- Open https://tagmanager.google.com.
- Sign in with your Google Account.
- Click Create Account.
- Enter an Account name and country.
- Under Container Setup:
- Enter a container name (usually your site domain, e.g.
www.example.com). - Choose container type Web.
- Enter a container name (usually your site domain, e.g.
- Click Create and accept the Terms of Service.
Official guide: Create an account and container.
Step 2: Copy the GTM Container ID
- After creation (or from the Accounts list), open your web container.
- Copy the container ID shown in the format GTM-XXXXXXX (top of the workspace).
- You will paste this into the add-on. Do not paste the full GTM install snippet — only the container ID.
Step 3: Configure tags inside GTM (recommended)
- In GTM, add the tags you need (GA4 Configuration, Google Ads, remarketing, etc.).
- Publish a workspace version.
- Use GTM Preview / Tag Assistant to validate before relying on production traffic.
The SonoTrix add-on only loads the container. Tag logic stays in your GTM account.
Part B — Configure the CS-Cart add-on
Go to Add-ons → Manage add-ons → Google Tag Manager → Settings.
Container
- Paste GTM Container ID (
GTM-XXXXXXX). - Read the Security notice in settings: do not paste custom JavaScript into the add-on.
- Save.
dataLayer Ecommerce (optional)
All ecommerce dataLayer pushes are off by default.
- Enable Enable ecommerce dataLayer pushes if you want CS-Cart to push events for GTM/GA4 tags.
- Enable individual events as needed:
- view_item
- add_to_cart
- begin_checkout
- purchase
- search
- sign_up
Storefronts Containers
Per storefront:
- Disabled
- Default (main container ID)
- Custom (different
GTM-XXXXXXXper storefront)
Verify
- Open the storefront with Tag Assistant or GTM Preview.
- Confirm the container loads and your published tags fire.
- If using dataLayer ecommerce, trigger product view / add to cart / purchase and confirm the events in Preview.
Official Google help
- Create an account and container
- Install a web container (handled by this add-on once the ID is set)