Part 1: Installation Process of Elevar Scripts

Elevar Version 3.9+

Add GTM and Elevar’s Non-Shopify Attribution script to all site pages

Elevar will be responsible for adding GTM to all (Shopify based) checkout pages. You are responsible for adding the GTM script to all headless site pages.

To do this you’ll need your web container GTM ID (don’t use a server side container ID here)

Step 1: Install GTM

Paste the following code as high in the <head> tags as possible, making sure to replace GTM-XXXXXX with your web container ID.

<!-- Google Tag Manager -->
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
<!-- End Google Tag Manager -->

Step 2: Install the Shopify Source on a Dummy Shopify Store

You’ll need to create a dummy Shopify Store in order to bypass the requirement of connecting a Shopify Store in your Elevar app.

Once created, connect your Dummy Shopify Store to your Elevar account & install the Shopify Source.This can be accessed in the Elevar App under My Tracking → Sources → Shopify.

Step 3: Install the Non-Shopify Source

You will also need to install Elevar’s Non-Shopify Attribution script on your website.

Enter your overarching domain in the Domain Details section.

After doing so, you’ll need to copy the highlighted code like below and include it immediately after the opening <head> section of your site on all the pages.



  1. The Non-Shopify Attribution Tracking script noted above will give a 404 error unless your Shopify source is fully installed.
  2. Do not add a “http” in the Main Overarching Domain section. The format should be “”.