Google Tag Manager makes it easy to install the Dealfront Website Tracker on your website.
Google Tag Manager (GTM) is a tool that makes adding scripts like the Dealfront Website Tracker to your website simple. Once the Google Tag Manager (GTM) script is installed on your site you won’t need to know how to code, or even have access to your site’s codebase to add scripts.
Please note: To add Google Tag Manager itself to your site you will need to be able to install scripts on your website. Also, if you have the global site tag (gtag.js) this cannot be used to install the Dealfront tracking script.
The video below highlights the simple steps you need to take to add the Dealfront tracking script to GTM. We've also detailed each step in writing.
Before starting, you need to ensure you have Google Tag Manager on your site, you can check by using, for example, the Google Tag Assistant on Chrome.
With the Google Tag Assistant you can also check which GTM container you have on the site. The Dealfront Website Tracker needs to be added to the container that is present on your site.
Let's get started!
STEP 1: Find your Dealfront Website Tracker script, either from the Get Started screen, or in your Dealfront Account Settings. To get here, click the Gear icon at the top right of the app, then navigate to Company > Website Tracker.
Copy the Website Tracker Code Snippet to your Clipboard.
STEP 2: Sign in to your Google Tag Manager account and click into the correct Container. This will take you to the Overview where you can now click New Tag.
STEP 3: Name your tag something fitting, like "Dealfront Website Tracker", then click Tag Configuration to select a tag.
STEP 4: Scroll down to find the Custom HTML tag type.
Select this option and paste in your Dealfront tracking script.
STEP 5: Now you need to choose a Trigger for the tag to know when to fire. Click into the Triggering Box, under Tag Configuration, and select All Pages.
Your screen should now look like the below.
Please note: If you have advanced tracking requirements, please read here or contact our support team.
STEP 6: First Save the New Tag you've just created - this will cause the Tag window to close. Then Submit and Publish your changes on the GTM Overview screen. You will need to click first Submit at the top right.
Then click Publish on the next window. You will be invited to save a description of the changes made - this is optional.
Please note: If you don't have publishing rights in Google Tag Manager, you will need to check in with your GTM admin user to enable the changes to be put live.
STEP 7: To make sure your latest changes are published, you can check that in Versions. If the view looks green like in screenshot below, with the correct date, everything should be fine in your Google Tag Manager.
It might take some time for GTM to start tracking your website - doing test clicks on your site might help. This article will also help you to check if your tracking script is added correctly.
Please note: If you have set up an exclusion trigger in GTM, it's good to check it's not inverted and the value isn't blocking the Dealfront Website Tracker.
Check Your Hostname Rules
Be sure to check the hostname rules in your tracker settings to make sure that you are tracking the hostname you intend to.
Hostname rules are the first seen by Web Visitors. These are set automatically when you sign up, however, if they need to be modified due to a change in your site they can be.
If there is no trouble, we recommend leaving them alone.
Not Using Google Tag Manager Yet?
If you aren’t using Google Tag Manager these instructions will not apply to you, however, you can learn more about tag manager and how to use it here.
Questions, comments, feedback? Please let us know by contacting our support team via the chat or by sending us an email at email@example.com.