Installing Leadfeeder Tracker onto your WordPress site is simple: you have a couple of options!
The first and quickest way is to install Tracker with Google Tag Manager. If you already have Tag Manager on the site, then using it is the fastest, easiest thing to do. If you don't have Google Tag Manager, don't worry, there are other options.
NOTE: To be able to add the script to your WordPress settings, you need to have either a Super Admin or Administrator user role in WordPress.
OPTION 1: Use a plugin to insert Leadfeeder Tracker.
STEP 1: Add a plugin just as you would any other, by going to add new under your Plugins menu inside WordPress.
STEP 2: You can search here for a plugin that inserts scripts into the header of your site, or you can upload one if you have a favorite already.
STEP 3: We like H&F, Header, Footer, and Post Injections. However, you could use a different one. Choose what works for you and click Install Now.
STEP 4: Once your plugin is installed make sure you activate it as shown below.
STEP 5: Find your plugin settings and insert the script in the Header of your site. You can also install into the footer - however, we recommend the header! Make sure it goes onto every page!
STEP 6: Don’t forget to save your changes!
STEP 7: Edit traffic rules in your Leadfeeder settings, under Account tab.
OPTION 2: Insert the Leadfeeder Tracker directly into your theme's header template file.
NOTE: If you aren't familiar with WordPress and themes please reach out to a member of your team or use one of the other methods listed. You can negatively impact your site if a theme update is done wrong.
STEP 1: Within your WordPress dashboard navigate to your Theme Editor - found under Appearance.
STEP 2: Once in the theme editor open the Theme Header, typically header.php.
STEP 3: Now paste the Tracker script above the closing head tag. Be sure to copy it exactly as shown in your settings. Using the copy to clipboard option and pasting from there is best. Once you have the script inserted, click Update File.
STEP 4: Edit traffic rules in your Leadfeeder settings, under Account tab.
Once everything is set up properly and new visits are seen, it can take up to an hour to show you new leads in Leadfeeder. Hang in there!
NOTE: Sometimes you need to clear the cache in Worpress before the Leadfeeder script gets published on your site. In that case, this article might help you further.
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.