ThoughtMetric

Install tracking

Install with Google Tag Manager

Install the tracking code through Google Tag Manager.

Create your account

  1. Create a ThoughtMetric account

    Go to the ThoughtMetric sign-up page and sign up.

  2. Select the Google Tag Manager platform

    After you sign up, you are directed to an onboarding guide. Click the GTM button to view the installation instructions for that platform.

Set up the base tag

First, set up a tag that inserts the ThoughtMetric pixel on every page.

  1. Create a new tag in Tag Manager and name it ThoughtMetric - Base.

  2. Select Custom HTML as the tag type.

  3. Select All Pages as the trigger.

  4. Paste in the Base Tag code found in the ThoughtMetric onboarding guide and click Save.

    Install with Google Tag Manager screenshot 1

Set up the purchase tag

Next, set up a tag that triggers the ThoughtMetric event code on every purchase.

  1. Create a new tag in Tag Manager and name it ThoughtMetric - Purchase.

  2. Select Custom HTML as the tag type.

  3. For the trigger, select whichever trigger you have configured in Tag Manager to fire on every purchase.

  4. Paste in the Purchase Tag code found in the ThoughtMetric onboarding guide.

  5. Replace the placeholder variables

    Replace the placeholder variables in the tag with variables from your own data layer. You can modify the purchase tag to send additional data fields. For details on which fields can be sent, see the event and identify documentation.

    Install with Google Tag Manager screenshot 2

Publish your workspace

After the ThoughtMetric tags are set up, publish your Tag Manager workspace to make the new tags live on your site.