parm530
9/19/2019 - 2:29 PM

Adding a Tag to GTM

Adding a Tag to GTM

  • Most providers will have a pre-built tag so that inserting the custom html won't be necessary.

Steps

  • Example for creating a LinkedIn Insight Tag
  • Go to tagmanager.google.com and sign in.
  • Click on your account and then your container.
  • In the New Tag box, click Add a new tag.
  • In the Choose Product section, click on the LinkedIn logo.
  • Complete the Partner ID field.
  • Add a tag-firing rule. For all pages, check the box next to All Pages.
  • Select Create Tag.
  • Click Publish in the upper right.

If there is no pre-built option...

  • New Tag -> Add a new tag
  • Tag Type: Custom -> Custom HTML
  • Insert the javascript code
  • Add the trigger
  • Save and publish