Leadfeeder Tracker can be added directly to the source code of your website if needed.
If you have the option to install Tracker with Google Tag Manager we recommend that you do so. If you don't have Google Tag Manager on your site, don't worry, you can add the Tracker script directly to your HTML.
A friendly warning, if you aren't familiar with HTML, or how your website is built you should ask your team to help! Unexpected errors can have a big impact on your site if you accidentally change something while trying to add Leadfeeder Tracker.
Another point that is very important to keep in mind when installing the Tracker script directly to the HTML of your site is this: the script has to be set up for all of your pages.
Typically this is done by putting the script in a header template that is used on every page. However, if each page on your site is static HTML you will need to make sure the Tracker code is inserted onto every page individually.
Watch this video below on how to add the Leadfeeder Tracker directly to your website template or follow step by step guidelines below.
STEP 1: Find your Leadfeeder Tracker code in your company settings. Use the Copy to Clipboard button to copy the script.
STEP 2: In your code editor of choice find your template file, partial, or another file that would contain your header code.
Remember if you don't use the same header on each page you will need to insert the code on each page of your site.
Locate the closing header tag </head>.
STEP 3: Paste the Leadfeeder Tracker script before the closing header tag. Double-check to make sure it is exactly as shown in Leadfeeder, simple typos can prevent the script from firing.
STEP 4: Make sure you save your files and send them to your production environment.
STEP 5: Check your hostname rules. You can edit them in the Traffic rules.
Sit back and relax. With everything set up properly on the site and in Leadfeeder, you should begin tracking leads in about an hour!
If you have questions about if Tracker is set up right check out this article. You can also contact Leadfeeder support via chat or email us at firstname.lastname@example.org.