How to set up Bitmedia's conversion tracking code by Google Tag Manager — Step-by-Step Guide

Welcome to Bitmedia. Conversion tracking for any ad campaign is an important performance indicator. It allows you to measure the effectiveness of your marketing campaigns. With conversion tracking tool you can determine which campaigns, channels, or keywords are generating the most valuable results. Conversion tracking enables you to calculate your ROI. You can determine how much revenue you're generating for every dollar spent on advertising.

Usually Bitmedia clients implement our conversion tracking code into their website (section <body>) and have an acces to real-time conversion monitoring in Bitmedia dashboard. If you don’t have an opportunity to implement a conversion tracking code directly on your website, you can do it with GTM. Google Tag Manager (GTM) is a powerful tool that allows you to set up and manage various tags on your website without needing to modify the site's code. Here is a detailed guide on implementing Bitmedia’s conversion tracking code with a help GTM.

Step 1: Access Google Tag Manager

  1. Go to the https://tagmanager.google.com/ website and sign in to your account
  2. In your Google Tag Manager dashboard, select the container where you want to implement Bitmedia's conversion tracking.

Step 2: Create a New Tag

  1. Click on "Tags" in the left sidebar.
  2. Click the "New" button to create a new tag.
Create a New Tag

Step 3: Configurate the Tag with General Code

  1. Name your tag
  2. Click on "Tag Configuration" and choose "Custom HTML" to add your tracking code.
  3. Copy and paste the Bitmedia General Code into the HTML box:
Configurate the Tag with General Code

Important! For GTM implementation you must to remove exclamation point ( ! ) before"function(e,t,n,r,a,m)".

Html example

Step 4: Set the Trigger and save

1. Click on the "Triggering" box to specify when the tag should fire, we strongly recommend to use "All Pages" trigger for our General Code.

Set the Trigger

2. Save the Tag

Save the Tag

Step 5: Create Another Tag for the Client-Side URL

Create new tag like in steps 2, 3 but with Client Side URL from code in the html from your Btmedia account.

Create Another Tag for the Client-Side URL

You need to decide and set up a conversion trigger for your product and website, this could be clicking on the registration button, filling out the registration form, viewing the page after registration and so on.

Click "Save" to save your tag configuration.

Step 6: Verify and publish Your Changes

  1. In the upper-right corner of your Google Tag Manager dashboard, click "Preview" to verify the tags, visit your website and perform the desired conversion actions. Return to Google Tag Manager and go to the "Tags" tab to ensure that both tags are firing as expected.
  2. In the upper-right corner of your Google Tag Manager dashboard, click "Submit" to publish the changes.
Verify and publish Your Changes

Google Tag Manager is a versatile tool, allowing you to track various types of conversions and events on your website without much technical expertise. Whether you're monitoring clicks, form submissions, or other user interactions, GTM helps you gather valuable data for better understanding your audience and improving your online marketing efforts.

If you do these simple steps, you will be able to track conversions from your banner ads in the Bitmedia advertiser dashboard and Google Analytics account in real time.

FAQs about Google Tag Manager

How do I add a tracking code to GTM?

If you prefer to install the conversion tracking code using Google Tag Manager, follow these steps:

  1. Log in to your Tag Manager.
  2. Select New Tag.
  3. Name your tag something easily recognizable.
  4. Select Custom HTML.
  5. Copy and paste your account's tracking code in the box.
  6. Set the script to fire on all pages (recommended), or select specific pages if you don't want your numbers to swap on certain pages.
  7. Select Create Tag.

How do I manually add a Google tag to my website?

Place your global site tag and any relevant event snippets within the <head></head> tags of your page. After doing so, save the changes to your webpage. Then, click "Done" and proceed to "Install event tag."

Can a website have two GTM?

Every website can use a different Google Tag Manager container but send the data to the same GA property. This applies to any other tool that you have installed via GTM

Where to put Google Tag Manager code in Wordpress?

Step 1: Log in to your WordPress admin and go to Appearance >> Editor.

Step 2: Search for the header section.

Step 3: Paste the first tag manager container code just below the <head> tag, as illustrated in the image below.

Where to put Google Tag Manager code in Wordpress

Step 4: Paste the second container code just below the <body> tag.

Paste the second container code just below the <body> tag

Step 5: Click the update button to complete the process.

You can now confirm your tag manager setup by either previewing the workspace changes or utilizing the Google Tag Assistant Chrome extension.