Is there an easy way to install the Leadfeeder Tracker on my site?
Yes, there is! Google Tag Manager (GTM) is a tool that makes adding scripts like the Leadfeeder Tracker to your website simple. Once the Google Tag Manager 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. Leadfeeder has created a Tag Manager template for its Tracker to make installation even simpler.
If you aren’t using Google Tag Manager the instructions below will not apply to you, however, you can learn more about tag manager and how to use it here. Remember, to use Google Tag Manager you will still need to be able to install scripts on your website.
NOTE: If you have The global site tag (gtag.js), that cannot be used to install Leadfeeder script. To check if you have Google Tag Manager on your site, you can use, for example, Google Tag Assistant on Chrome.
With Google Tag Assistant you can also check which GTM container you have on the site. Leadfeeder script needs to be added to the container that is added to your site.
To install Leadfeeder Tracker using the Leadfeeder Tracker Template follow the simple steps below.
STEP 1: Sign in to your Google Tag Manager account, open the Overview, and click Add a new tag.
STEP 2: Name your tag something fitting, like "Leadfeeder Tracker" then edit the tag configuration by selecting the pencil icon on the right. Find and select the Leadfeeder Google Tag Manager Template. If you don't see the template listed, use this link and add it to your workspace.
STEP 3: Fill in your Leadfeeder Tracker ID by copying it from your settings and pasting it into the ID field. It will begin something like ‘v1_w9…’ (you can find your Tracker ID by following the link to your Tracker settings under the ?-icon it is also pointed out in the second screenshot).
As a default, we recommend you to keep Automatic tracking enabled. This mode automatically identifies pageviews for both traditional web applications and single-page applications (SPAs).
STEP 4: Choose a trigger. We recommend using the All pages trigger as you would for Google Analytics.
NOTE: If you have advanced tracking requirements, please read here or contact Leadfeeder Support.
STEP 5: Save and publish your changes by clicking Save and then Submit on the main page of Google Tag Manager.
NOTE: If you don't have all publishing rights in Google Tag Manager, it's good to check with your GTM admin user how to get the changes submitted.
STEP 6: To make sure your latest changes are being published, you can check that in Versions. If the view looks green like in screenshot below, everything should be fine in your Google Tag Manager:
NOTE: It might take some time for GTM to starts tracking your site. Doing test clicks on your site might help and also this article helps you to check if your tracking script is added in the correct way.
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 Leadfeeder Tracker.
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, or issues they can be. If there is no trouble, we recommend leaving them alone.
The Leadfeeder Tracker will begin reporting about an hour after the script is available on the site. If you have questions or problems please reach out to support via our live chat or email firstname.lastname@example.org.