Google Tag Manager: Getting Started

Getting your GTM container ID

  1. Create an account, or use an existing account, at tagmanager.google.com. (A new container is created by default, and you can create additional containers within each account.)
  2. Login at tagmanager.google.com and navigate to the container you would like to load tags from. 
    1. NOTE: A collection of tags, triggers, variables, and related configurations installed on a given website or mobile app is called a container. A Tag Manager container can replace all other manually-coded tags on a site or app, including tags from Google Ads, Google Analytics, Floodlight, and 3rd party tags. 
  3. On the overview page for the container, there is a container ID displayed in the top right portion of the screen, this ID is all you need to activate the Bbot Google Tag Manager integration. The ID matches the format “GTM-XXXXXXX”.

Activating your Google Tag Manager Integration in the Bbot Owner Portal

1. To connect Google Tag to your Bbot account, navigate to your Bbot Owner Panel and select ‘Bbot App Store’ under 'Integrations'.

2. Use the drop down menu to select 'Feedback and Intelligence' then click on the 'Connect Google Tag Manager’ button.

3. You will be prompted to input your container ID. After you input the Container ID you retrieved using earlier steps.

4. click submit. Now you have successfully activated Google Tag Manager and can load tracking snippets on your menu pages

Enable Google Analytics Tracking on your Menus and Checkout Pages

These next steps assume you have already activated your Google Tag Manager integration in the Bbot Owner Portal. Any further steps are going to all take place in Google Tag Manager (Not the Bbot Owner Portal). In addition, these steps follow the guidelines outlined by Google for implementing Google Analytics (GA) tracking using Google Tag Manager (GTM) ( https://support.google.com/tagmanager/answer/6107124?visit_id=637371620050580084-460067625&rd=1).

Things you need before you begin:

  • A Google Tag Manager Account + Workspace
  • A Google Analytics Account + Workspace

Steps to Send events from Google Tag Manager to Google Analytics:

  1. On the Workspace Overview screen, click New Tag. Or from anywhere in your container, click Tags > New. A new tag definition screen will appear.
  2. Click Tag Configuration and choose Universal Analytics.
  3. Select the desired Track Type. (For example, use Page View on a website to measure which pages your users visit. Use Event if you want to measure a specific interaction, such as a button click on a promotion.)
  4. Select or create a new Google Analytics Settings Variable:
    • To reuse a Google Analytics Settings Variable that has already been set up:
      • Select the desired variable from the menu. Your Google Analytics ID and all other settings from that variable will be applied to your tag.
    • To set up a new Google Analytics Settings Variable:
      • Select New Variable…
      • In the Variable Configuration screen, enter your Google Analytics ID.
      • Cookie Domain: If you have no other Google Analytics tags deployed on your site via analytics.js or from Tag Manager, you should leave this value set to "auto". If you have other Google Analytics tags set up on your site or in Tag Manager, you should confirm that the Cookie Domain value is consistent.
      • If you require additional settings such as setting custom fields, custom dimensions, custom metrics, content groups, display advertising features, Enhanced Ecommerce features, or cross-domain measurement, click More Settings and configure the relevant fields.
      • Click Save.
      • You will be prompted to rename the variable if you have not done so already. You may opt to choose to accept the default setting or enter a name of your own. Click Save to complete the tag setup.
  5. Click Triggering to choose a trigger that will make the tag fire. You may select an existing trigger, or click the + icon to define a new one.

If you're still confused on how to set up GTM + GA? Check out this guide here.

For more information on Bbot's Google Tag Manager Integration, check out our Google Tag Manager Integration article.