Diagnosing and Fixing Errors After Installation

Are you seeing errors in the Tag Assistant after installing and configuring our app? Here are most common reasons why.

Below outlines the most common issues encountered after installing our app, importing our GTM container, and testing out your GTM container in preview mode.

  1. Invalid or Missing Account ID

  2. <script> tag must not be included in a <div>

  3. GoogleAds tags are empty or null

Invalid or Missing Account ID

Are you getting this error in tag assistant:

If you're getting this error then follow these steps:

  1. View your page source code
  2. Search for "GTM" (for mac users: Command + F) to see if any matches
  3. If there are matches then check that there isn't any trailing spaces in front of your GTM ID:

If there are then go back to our app settings in the Shopify Admin > remove the whitespace > click save & update.

<script> tag must not be included in a <div>

If you are getting this error on the thank you page:

Then you can safely ignore this. This is a recommendation from Google but unfortunately we can't control

placements on the thank you page as this is all standard Shopify behavior. We have not seen this affect any conversion tracking to date.

GoogleAds tags are empty or null

If you are testing your tags while GTM is in preview mode and all of your tags are undefined/null and you see the dataLayer empty in preview mode then double check Elevar app embed has been enabled on your live theme. This is found in your theme customizations within Shopify.

If this still doesn't work then you are probably missing the closing tag in your theme. You can confirm by searching your theme for body and see if you can find the closing tag version.

If you are still stuck then email us at [email protected] so we can help you out!

📘

Worried You’re Making Decisions on Data You Can’t Trust?

Check out our blog and discover Shopify Optimization & Analytics Tips from Elevar's data experts.