Skip to content
OpenCart · User manual

Google Marketing Tools

Version 13.25.0 Product page
Chapter 6

GTM Workspace Generator

In this tab you choose the tags your shop uses, type their IDs and request the Google Tag Manager container file that makes them work.

How the tab works

The tab shows three general fields followed by one card per tag. Each card has a switch that enables the tag and a Configure button that opens its settings. Inside the settings, Show help lists the steps to obtain the values and links to the official documentation of that platform. Use the Search tags… box to find a card by name. The most used tags come first.

The workflow is always the same:

  1. Enable and configure every tag you want to use.
  2. Press Generate Google Tag Manager Workspace at the bottom of the tab.
  3. The window Generate workspace? lists the Enabled tags and tells you how many disabled tags are excluded. Review it and press Generate and send workspace.
  4. The workspace file is sent to the email address of your licence. Wait about a minute and check your spam folder.
  5. Press Save or Apply changes in the extension so your selection is stored.
  6. Import the file into Google Tag Manager and publish it. See Google Tag Manager.

A tag whose switch is disabled generates nothing, even if its fields are filled in. If a required value of an enabled tag is missing, the generator does not send the file and tells you which tag and field to complete.

General fields

SettingWhat it does
License Order ID*Your licence ID (order ID). Required to generate a workspace. See Licence activation.
GTM Container IDThe container the workspace is prepared for, in the format GTM-XXXXXXX. Required. Use the same ID as in the General tab.
Include shipping costs in totalWhen enabled, the purchase value that the tags send includes shipping costs. When disabled, shipping is left out of the value.

Google tags

GA4

Sends page views and events to Google Analytics 4. Type your MEASUREMENT ID, for example G-H8Z2QHCET8. You find it in GA4 under Admin > Data streams > your web stream.

GA4 - Enhanced Ecommerce

No values needed. Adds the ecommerce events to GA4: product lists, product clicks, product views, add to and remove from cart, checkout, purchases and promotions. Enable it together with GA4.

Rich Snippets

No values needed. Adds structured product data to your pages so search engines can show price, availability and ratings in their results.

Google Ads conversion (compatible with Enhanced Conversions)

Tracks purchases as Google Ads conversions with their value, and provides the customer data that Enhanced Conversions uses.

SettingWhat it does
Ads conversion ID*The conversion ID of your Google Ads conversion action. Numbers only, without the AW- prefix.
Ads conversion label*The conversion label of the same conversion action.
Conversion Linker - Enable linking across domains (optional)Enable it only if your shop and your checkout or another related site run on different domains and you need Google Ads clicks to be recognised across them.
Auto Link DomainsThe related domains, separated by commas, for example example.com, checkout.example.net. Domain names only, without https:// or paths. Leave it empty to keep cross-domain linking disabled. It applies to all the Google Ads tags you enable.

In Google Ads, create a conversion action of the Purchase type, choose to install the tag with Google Tag Manager and copy the two values shown. To use Enhanced Conversions, switch them on in the settings of the conversion action in Google Ads and choose Google Tag Manager as the method.

Secondary and tertiary conversions

Google Ads custom secondary conversion (compatible with Enhanced Conversions) and Google Ads custom tertiary conversion (compatible with Enhanced Conversions) fire an extra Google Ads conversion when a visitor reaches a page you choose, for example a contact confirmation page.

SettingWhat it does
Secondary conversion ID / Tertiary conversion IDConversion ID, numbers only, without the AW- prefix.
Secondary conversion label / Tertiary conversion labelConversion label from the conversion tracking code.
Route to fire secondary conversion / Route to fire tertiary conversionFull URL of the page where the conversion is triggered.
ValueFixed conversion value.

Add to Cart conversions

Fires a Google Ads conversion each time a visitor adds a product to the cart. Fill in Conversion ID and Conversion label of an add to cart conversion action.

Standard/Dynamic Remarketing

Sends the Google Ads remarketing tag with product data on every page so you can build audiences and show dynamic ads.

SettingWhat it does
Standard/Dynamic Remarketing conversion ID*Your Google Ads conversion ID.
Standard/Dynamic Remarketing labelOptional remarketing label.
Prefix IDOptional text added before each product ID, for example es_59,. Use it when the IDs in your Merchant Center feed carry a prefix.
ID suffixOptional text added after each product ID, for example 59_es,.
Dynx compatibilityEnable it if your Google Ads account uses the dynx parameters of a custom business feed.

The product ID sent is the one chosen in Product Identification in the General tab. It must match the ID in your product feed.

Google Reviews

Shows the Google Customer Reviews opt-in survey after a purchase.

SettingWhat it does
Merchant IDYour Merchant Center ID.
StyleWhere the opt-in dialog appears: centre, bottom right, bottom left, top right, top left or a tray at the bottom of the page.
Estimated daysEstimated delivery days after the purchase. Default: 3.

Google Reviews badge status

Shows the Google Customer Reviews badge on your shop. Fill in Merchant ID and choose the Badge style: floating at the bottom right, floating at the bottom left, or inline.

Advertising pixels

TagValues requested
Facebook PixelFacebook Pixel ID * — only the ID, not the complete tracking code.
Microsoft Advertising Universal Event TrackingUET Tag ID * — in Microsoft Advertising go to Tools > Tracking > UET tags.
Bing AdsBing Ads tag ID*.
TikTok PixelTikTok Pixel ID.
OpenAI ADSpixelId.
Snapchat PixelSnap Pixel ID.
Pinterest PixelPinterest ID.
Reddit PixelReddit Pixel ID.
Twitter PixelPixel ID, plus one event ID for each event you created: Add to Cart - Event ID, Add to Wishlist - Event ID, Checkout initiated - Event ID, Content view - Event ID, Purchase - Event ID, Search - Event ID.
LinkedIn InsightsPartner ID, plus one conversion ID for each conversion: Purchase - Conversion ID, Add to cart - Conversion ID, Add to wishlist - Conversion ID, Promotion click - Conversion ID, Search - Conversion ID, Start checkout - Conversion ID.
Quora PixelPixel ID.
Taboola PixelAccount ID.
Outbrain PixelMarketer ID.
Criteo OneTagPartner ID.
Yahoo - Native & Search DotProject ID and Pixel ID.
GLAMI PixelGLAMI API key and GLAMI country code (for example eco, cz, sk or gr).
Domodi PixelShop key.
Stileo Pixel 2.0API key.
Skroutz AnalyticsShop Account ID.

Sklik.cz — Purchase conversion (Seznam SEM)

Type your SEM ID* from the Sklik account settings, not the legacy conversion ID. Enable the CZK currency with a current exchange rate in OpenCart. The conversion uses the product subtotal without VAT and unit prices with VAT. Order discounts and shipping are not included. Product IDs must match your Zboží.cz feed.

Affiliate networks

TagValues requested
Awin Affiliate TrackingAdvertiser ID and Commission group (normally DEFAULT).
impact.com Partner TrackingUniversal Tracking Tag URL and Action Tracker ID.
LinkwiseLinkwise program ID, Numeric currency code (for example 978 for EUR) and Decimal separator.
DognetAccount ID and Campaign ID.

CJ Affiliate / VIVnetworks

Fill in Enterprise ID (Company ID), Action Tracker ID and Tag ID with the values supplied by CJ or VIVnetworks. Cookie domain (optional) is only needed to share attribution between subdomains: type your parent domain, for example .example.com. Leave it blank to use the current host.

Purchases are reported in the order currency with net product prices and order discounts, without tax and shipping. Product IDs must match your CJ feed. The tag needs marketing consent. Remove any CJ tag you installed before to avoid duplicates, and test with CJ before you rely on it.

Analytics, session recording and testing

TagValues requested
Microsoft ClarityClarity project ID.
HotjarHotjar site ID.
Matomo AnalyticsMatomo tracker URL and Matomo site ID.
Yandex MetricaCounter ID.
Plausible AnalyticsPlausible script URL.
PostHog Web AnalyticsProject API key and API host.
Umami AnalyticsWebsite ID and Tracker script URL.
Piwik PRO AnalyticsContainer URL and Container ID.
Fathom Analytics, Clicky AnalyticsSite ID.
Amplitude AnalyticsAPI key and Server zone (US or EU).
Mixpanel AnalyticsProject token.
Heap AnalyticsEnvironment ID.
Segment AnalyticsWrite key.
RudderStack AnalyticsWrite key and Data plane URL.
Lucky OrangeLucky Orange site ID.
Crazyegg TrackingCrazyegg ID.
FullStoryOrganization ID.
MouseflowWebsite ID.
SmartlookProject key.
LogRocketApp ID.
ContentsquareTag ID.
Optimizely Web ExperimentationProject ID.
VWOAccount ID.
AB TastyTag ID.
Convert ExperiencesTracking script URL.
PendoAPI key.
UserpilotApp token.
Gainsight PXProduct key.

Chat, CRM and email

TagValues requested
KlaviyoPublic API Key.
MailchimpDC or Server (the prefix in your Mailchimp address, for example us19), API Key and List ID.
Brevo TrackerClient key.
HubSpot Tracking and ChatHub ID.
Customer.io Web SDKSite ID and Tracking script URL.
Zendesk Web WidgetSnippet key.
Intercom MessengerWorkspace ID / App ID and Regional API base.
Crisp ChatWebsite ID.
Tawk.to ChatProperty ID and Widget ID.
LiveChat WidgetLicense ID.
Drift ChatEmbed ID.
Olark ChatSite ID.
Smartsupp ChatSmartsupp key.
Freshchat WidgetWidget script URL.

Consent in the generated workspace

The generated workspace is prepared for Google Consent Mode v2. Its tags follow the consent state that the shop publishes. To show a consent popup and collect that state, configure the Google Consent V2 tab.

Limits of the generator

  • The generator works only with the latest published version of the extension. Update first if it reports that your version is deprecated.
  • Your licence covers a fixed number of GTM containers. See Licence activation.
  • In a multi-store shop the tab keeps separate values per store. Select the store before you configure and generate.

Still need help?

Open a support ticket from your account and our team will look at your store with you.