Skip to navigation

Validation

Validate Page Intelligence tag deployment and IVT response.

Use your browser dev tools to validate Page Intelligence tag deployment and IVT response decoding. These steps apply whether you deployed manually or with Google Tag Manager (GTM).

Validate tag deployment

The simplest way to validate Page Intelligence tag deployment is with your browser dev tools. Follow these steps:

  1. Open a new browser tab.
  2. Open your browser dev tools and navigate to the Network tab.
  3. Navigate to a test page where you deployed the tag.
  4. Allow the page to load for a few seconds.
  5. Search for pgi. If the tag is loaded correctly, a network request for pgi.js appears.

Page Intelligence tag deployment validation

Validate the IVT response

Page Intelligence monitors user interactions and the user agent to detect invalid traffic. If the tag detects that browser dev tools are open while the page loads, it flags the traffic as IVT. This result is expected. Typical users do not browse with the dev console open, so that session is invalid for advertising purposes.

Follow these steps to validate the IVT response:

  1. Close your browser dev tools.
  2. Navigate to a test page where you deployed the tag.
  3. Allow the page to load for a few seconds.
  4. Open your browser dev tools and navigate to the Console tab.
  5. Enter the following without pressing Enter:
/INSERT YOUR REGEX KEY HERE/.test(window.dataLayer.find(e => e.event === 'miDec').value);
  1. Copy and paste your unique regex key in the placeholder. Leave the surrounding / characters.
  2. Press Enter.

If the console returns true, classify the traffic as valid (not IVT). If it returns false, classify the traffic as IVT.