VIN IQ Analytics Tag - Simple Install Steps (GTM or Direct)

Option A — Install via Google Tag Manager (recommended)

  1. Sign in to your GTM container for the website.

  2. Go to Tags → New.

  3. Tag Type: Custom HTML.

  4. Paste the code below into the HTML field.

  5. Trigger: All Pages (Page View).

  6. Save the tag, then Submit/Publish the container.

Option B — Install directly on the site

  1. Add the code to every page of the site.

  2. Place it as high as possible in the <head> section (ideally before other scripts).

  3. Publish changes and clear any caches/CDN.

Analytics Tag (copy/paste exactly)

<script type="text/javascript">
(function (window, document) {
  try {
    var analytics_script_obj = document.createElement('script');
    var domain_parts = window.location.hostname.split('.');
    var root_domain = domain_parts.slice(-2).join('.');
    analytics_script_obj.setAttribute('src', 'https://analytics.viniq.io/' + root_domain + '.js');
    document.head.appendChild(analytics_script_obj);
  } catch (e) {}
})(window, document);
</script>

How to verify it’s working (quick check)

  • Visit the website, open Developer Tools → Network, refresh, and filter for analytics.viniq.io — you should see a request for /<root_domain>.js.

  • Or view the page source and confirm the script above appears in the <head>.

Previous
Previous

Google VLA Requirements

Next
Next

Creating UTM Tags for Google & Facebook Campaigns