This article has been replaced by a new article. Please click the link below to access this new article…

How to Add Google Tag Manager to LeadsHook & Your Website

Video guide:

How to manually install a GTM container

Here’s the steps:

  1. Create a Google Tag Manager account. And create a Google Analytics account.
  2. Admin-> Integrations -> Import your container
  3. Log into GTM website, select your container, and check its tags. If some are missing repeat the import again. (There should be approx. 7 tags there total).
  4. Install GTM in your website. (Copy/Paste the head and body codes).
  5. Enable GTM in your DT. (Scripts -> Checkbox -> Check GTM container).
  6. Check your GTM configuration (Manage variables). Enter your domain name, and your GA Tracking ID from GA website.
  7. Log into GTM website again and publish.
  8. Activate your Decision Tree.
  9. Get the embed code for your DT and paste it on your website.
  10. Navigate to your website and open the browser console. Under sources, you should see googletagmanager and google-analytics fire for both your website and your iframe.
    The google-analytics sources should both have the same cid.
  11. One thing to note is that users of your site must have cookies allowed (including 3rd party cookies) in their web browser. If they are blocking any cookies, then the integration wont fire.
  12. Log into Google Analytics. Click on Audience -> User Explorer -> Be sure to include today’s date in the filter. If you see the data there, your are done!

WordPress Help


To install GTM on WordPress, first install the: “Head, footer, and post injections” by Stefano Lissa plugin.

Debug and TroubleShoot

Comments

  1. Pingback: How to Setup Google Tag Manager Without a Direct Integration | LeadsHook Knowledge Base

Leave a Reply

Your email address will not be published. Required fields are marked *