Adding Basic Google Tag Manager / Analytics (GA4) to your Marketplace - Through the theme

Adding Basic Google Tag Manager / Analytics (GA4) to your Marketplace - Through the theme

If you are not using a specialised module for Google Tag Manager (GTM), there are 2 spots you can add the specific GTM snippets. The Header HTML Scripts and in a content block that is across the website.
If you are only using GA4 (Google Analytics 4), then you will only need to paste this code in the Header HTML Scripts section of Design > Configurations.

Header Tag

Generally, the first snippet is a script you can add to the <head> section of the website. To access this, you must be a marketplace owner admin.

1. Navigate to Content > Design > Configuration



2. Look for the store view that you would like to add the code to. For the most part, it's generally the last row. If you have multiple rows, please ensure you are selecting the correct store view.



3. Here you can see the design configurations - click on the section labelled HTML Head.



4. This will then expand it, and you can then look at for the field Scripts and Style Sheets. This is the section where you can add additional scripts from any third party, or custom scripts developed for your marketplace. This is where you can place the <head> Google Tag Snippet you are provided from Google.


5. Once pasted, simply choose Save Configuration (or Save and Continue if you wish to remain on this page).





Body Tag

For the body tag, you should be able to just add this into the website through the use of content blocks. You can use any of the header blocks, or you can consult with your support team on which block is best to use. It's an invisible <iframe> in general, so it shouldn't affect your design.
    • Related Articles

    • Integrating Google Tag Manager (GA4) with a Module

      Overview Omnyfy can provide a module to allow you to sync your Google Tag Manager Account with the marketplace through a module configuration. You will need the following: A Google account with access to the Google Tag Manager (preferably the ...
    • Creating your Google Analytics Tracking Code

      Google Analytics can help you to get additional tracking for your marketplace. This guide is designed to help you set up the linking of you Google Analytics account (Universal Analytics) to the Omnyfy platform, and does not cover SEO advice. Please ...
    • Configuring reCaptcha for the Marketplace

      Obtaining your Google reCaptcha keys To prevent your website from being overloaded by spambots or brute force entry, you can implement Google reCaptcha to minimise the impact of spam submissions and unauthorised entry. Get your Google reCaptcha from ...
    • Adding the Maps APIs to your Google Account

      You can select Discover and Enable APIs from this Google Maps Platform screen, and access. Alternatively you can also select Enable APIS and Services to allow you to choose your Maps API from the APIs and Services Dashboard. You should already have ...
    • Setting up your Google Maps Account

      Google will be able to provide you with an API that will allow you to connect your Marketplace with a variety of Google Services, including Maps. Maps can be used for location verification for vendors when they create their locations. First you will ...