All Collections
Tracking Script
Tracker Installation Guides
Installing the Leadfeeder Tracker using Google Tag Manager
Installing the Leadfeeder Tracker using Google Tag Manager

Find out how to use Google Tag Manager (GTM) to set up the Leadfeeder Tracker on your site.

Tamar Keenan avatar
Written by Tamar Keenan
Updated over a week ago

Google Tag Manager makes it easy to install the Leadfeeder Tracker on your website.

Google Tag Manager (GTM) is a tool that makes adding scripts like the Leadfeeder 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 Leadfeeder tracking script.

The video below highlights the simple steps you need to take to add the Leadfeeder 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 Leadfeeder Tracker needs to be added to the container that is present on your site.

Let's get started!

STEP 1: Find your Leadfeeder tracking 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 Leadfeeder 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 "Leadfeeder Tracker", then click Tag Configuration to select a tag.

STEP 4 - Option 1: Scroll down to find the Custom HTML tag type.

Select this option and paste in your Leadfeeder tracking script.

STEP 4 - Option 2: Instead of using the Custom HTML tag type at STEP 4 could you instead use our Leadfeeder branded tag template.

Instead of selecting Custom HTML as your tag type, follow the link to Discover more tag types in the Community Template Gallery.

Use the search icon to search for "Leadfeeder" and choose the option to add this to your Workspace. Once added you can click to choose this template.

Next paste in your script ID from your Dealfront settings: Company > Website Tracker > 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 Leadfeeder 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 Leadfeeder. 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


Did this answer your question?