Skip to main content
HTML Installation Guide

How to install the ThoughtMetric tracking code on your custom HTML website

Michael Signorella avatar
Written by Michael Signorella
Updated over 7 months ago

If you use Shopify or Woocommerce go back and follow the instructions for those platforms.

1.) Install tracking code on your website

The first part of the installation is to install the ThoughtMetric tracking code on every page of your website. You will want to make sure you also install it on all of your landing pages as well.

a.) Make a ThoughtMetric account

The first step is to make a ThoughtMetric account by going to https://thoughtmetric.io/users/sign_up and signing up.

b.) Select the HTML platform

Once you make an account you will be directed to an onboarding guide. Click on the HTML button to view the installation instructions for that platform.

c.) Copy tracking code

Copy your personalized tracking code.

d.) Paste ThoughtMetric's tracking code in the header of your website just above the closing </head> element on every page of your website.

e.) If you need help, reach out to the ThoughtMetric team and we will help you install the pixel


2.) Connect ThoughtMetric's Revenue Tracking

a.) Add purchase events to your stores checkout flow. Detailed documentation available here.

b.) Add customer identify events to your stores checkout flow. Detailed documentation available here.

c.) If you need help, reach out to the ThoughtMetric team to schedule a free onboarding session where the technical staff at ThoughtMetric can help you set up revenue tracking.


3.) Add Survey to Post-Purchase Page

You can collect additional attribution data directly from your customers by enabling ThoughtMetric's post purchase 'How did you hear about us?' survey. Once configured, ThoughtMetric will insert a simple survey into your store's post checkout page asking your customers how they first heard about your store.

Follow the documentation here to learn how to set up the post-purchase survey.

Did this answer your question?