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.
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).
STEP 4: Choose a trigger. We recommend using the All pages trigger as you would for Google Analytics.
STEP 5: Save and publish your changes. You can check to see if the Tracker is firing properly by using the tips in this article!
NOTE: If you have single-page application or site and you use Google Tag Manager to add Leadfeeder Tracker to your site, we recommend the following:
- Have the regular Leadfeeder tag fire on All Pages
- Add a separate Custom HTML tag which contains the code below. Name this “Leadfeeder history change” or something similar.
- Set this new tag to fire on “History Change”. The script is:
The benefit of this is that the LF script is not reloaded on every state change, just the tracking functionality is triggered.
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 Support@Leadfeeder.com