Skip to content
PrestaShop · User manual

Google Marketing Tools for PrestaShop

Version 2.5.4 Product page
Chapter 6

GTM workspace

How to choose your integrations in the Workspace tab, download the workspace file and import, test and publish it in Google Tag Manager.

How the workspace works

The Workspace tab prepares a Google Tag Manager container export with the tags, triggers and variables for the integrations you enable, already filled in with your IDs. The file is built by the DevmanExtensions service from your settings and downloaded to your computer. You then import it into your own GTM web container.

The module never changes your Google Tag Manager account. Nothing goes live until you import the file, review it and publish it yourself.

The routine is always the same:

  1. Enable the integrations you use and fill in their IDs.
  2. Press Download GTM workspace.
  3. Import the file into Google Tag Manager, test it in Preview mode and publish it.

Only enable integrations for which you have an account. Use public IDs only: never type a private API key or password into an integration.

Workspace fields

SettingWhat it does
Order IDYour verified DevmanExtensions order ID, filled in from your licence. It cannot be edited.
GTM IDThe container the workspace is prepared for, in the format GTM-XXXXXXX. Use the same container as GTM Container ID in the General settings 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.

Browser integrations

Each integration is a card with its logo, a switch and a Configure button.

  • The switch turns the integration on (Enabled) or off (Disabled). An integration that is off is left out of the workspace, even if its fields are filled in.
  • Configure opens a window with the fields of the integration. Some cards also have Setup help with a link to the provider's Official documentation. Press Save settings in the window to store the values.

Above the cards, Search integrations filters the cards by name, and the status list shows All integrations, only Enabled or only Disabled ones. The counter next to it shows how many cards are visible and how many are enabled.

At the bottom of the section, Save settings stores every card and Download GTM workspace creates the file.

Google integrations

GA4

Sends page views and events to Google Analytics 4. Type your MEASUREMENT ID, for example G-XXXXXXXXXX. 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 steps, purchases and promotions. Enable it together with GA4. It is enabled by default.

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.
Ads conversion label*The conversion label of the same conversion action.

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.

Conversion Linker - Enable linking across domains (optional)

Enable it only if your shop and a related site, for example your checkout, run on different domains and Google Ads clicks must be recognised across them. In Auto Link Domains type the related domains separated by commas, for example example.com, checkout.example.net. Use domain names only, without https:// or paths. Leave it disabled or empty to keep cross-domain linking off. It applies to the Google Ads integrations you enable.

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.

SettingWhat it does
Secondary conversion ID / Tertiary conversion IDConversion ID of the extra conversion action.
Secondary conversion label / Tertiary conversion labelConversion label of the same action.
Route to fire secondary conversion / Route to fire tertiary conversionThe 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 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. Use it when the IDs in your Merchant Center feed carry a prefix.
ID suffixOptional text added after each product ID.
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 settings tab. It must match the ID in your product feed.

Google Reviews

Shows the Google Customer Reviews opt-in survey on the order confirmation page.

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.

The survey only appears for orders in a status selected in Conversions: Order status for tracking, and the customer decides whether to take part.

Google Reviews badge status

Shows the Google Customer Reviews badge on your shop. Fill in Merchant ID (numbers only) and choose the Badge style: floating at the bottom right or at the bottom left of the page.

Advertising pixels

IntegrationValues requested
Facebook PixelFacebook Pixel ID * — only the ID, not the complete tracking code.
Microsoft Advertising Universal Event TrackingUET Tag ID *.
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.
Domodi PixelShop key.
Stileo Pixel 2.0API key.
Skroutz AnalyticsShop Account ID.

Affiliate networks

IntegrationValues requested
Awin Affiliate TrackingAdvertiser ID and Commission group.
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.

The 2Performant conversion pixel is configured in the General settings tab. See General settings.

Analytics, session recording and testing

IntegrationValues 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.
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

IntegrationValues requested
KlaviyoKlaviyo public site ID. Use the public site ID; never enter a private 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.

Download the workspace

  1. Press Download GTM workspace at the bottom of the Browser integrations section.
  2. A window titled Generate GTM workspace lists the integrations that will be included. Check the list.
  3. Press Download GTM workspace in the window. Press Cancel to go back.

The module saves your settings first and then downloads google-marketing-tools-workspace.json. An active licence and an internet connection from the shop are required. Save the file without opening or editing it.

Import the file into Google Tag Manager

  1. Sign in to Google Tag Manager and open the web container whose ID you typed in GTM ID.
  2. Open Admin and, in the container column, choose Import Container.
  3. Press Choose container file and select google-marketing-tools-workspace.json.
  4. Under Choose workspace, select Existing and pick your default workspace, or select New to import into a separate workspace.
  5. Choose an import option:
    • Overwrite replaces everything in the workspace with the content of the file. Use it for a container that only holds Google Marketing Tools tags. Tags you have since disabled disappear cleanly.
    • Merge keeps what is already in the workspace and adds the file. Use it when the container also holds tags you created yourself, and choose to overwrite conflicting tags, triggers and variables.
  6. Review the summary of new, modified and deleted items and press Confirm.

Do not edit the generated tags by hand: the next import replaces them. Change the values in the Workspace tab, download a new file and import it again.

Test in Preview mode and publish

  1. In your container press Preview, type the address of your shop and press Connect.
  2. Browse the shop in the window that opens. Accept the consent popup, open a category and a product, add the product to the cart, go through the checkout and place a test order.
  3. In Tag Assistant, click each event in the left column to see which tags fired.

The shop publishes events with these names:

What you do in the shopEvent in Tag Assistant
Open the home page, a category, a search result or a productHome page, Category, Search, Product
Click a product or a promotionProduct click, Promotion click
Add to or remove from the cart, add to the wish listAdd to cart, Remove from cart, Add to wish list
Open the cart and start the checkoutCart, Checkout start
Choose the delivery and payment methodSet shipping, Set payment
Finish an orderPurchase
Register, log inAccount registered, Account logged
Accept or change cookiesgoogleConsentUpdate

When the tags fire as expected, press Submit in Google Tag Manager, give the version a name and press Publish.

From that moment the shop serves the new tags, provided Google Marketing Tools status is enabled and GTM Container ID in General settings is the same container.

Still need help?

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