Skip to main content

Verify Google Tag Manager Container

After setting up your client-side Google Tag Manager (GTM), it’s crucial to check that everything is firing correctly. Verification lets you know your results are reliable and accurate.

The debug tool won't work when setting up GTM as a Shopify custom pixel. We strongly recommend skipping container verification and immediately testing events with the Pixel Helper and Events Manager instead.

Web container

  1. In Google Tag Manager, select your web container to open its workspace.
  2. Open the Google Tag Manager debugger by selecting Preview.
  3. Paste the URL of your website and connect. Your website will load in a new tab.

    Don’t close this tab until you’ve verified all your event tags are firing correctly.

  4. Check that your event tags have been found. Select the tags to see the sent data.  Check fired events
  5. Ensure events are being properly sent to the ads manager with the Pixel Helper and Events Manager.

Server container

1. Check your server’s health

  1. Visit your website. Make sure it loads as expected.
  2. Go to the URL you set as your server container URL, adding the /healthy path. For example, if your server container URL is https://mysite.com/metrics, visit https://mysite.com/metrics/healthy.
  3. Check that the page displays ok. If it does, your server is healthy: your server’s running, responsive, and passing traffic to the server container. If you don’t see that, restart your server.

2. Check that your tags are firing

Verify your web container to ensure your conversion results are reliable and accurate.

3. Check that Reddit CAPI event tags are firing

  1. Go to your server container’s workspace in Google Tag Manager.
  2. Open the Google Tag Manager debugger by selecting Preview.
  3. Refresh the tab with your website and view the logs in the debugger.

    Don’t close this tab until you’ve verified all your event tags are firing correctly.

  4. In the Tags tab, check that all your Google Tag and CAPI event tags have fired. You can select the tag to see the sent data.
  5. Select your CAPI tag, then verify the two outgoing HTTP requests are firing correctly:
    • Authorization request: Sends requests to the API on your behalf using the credentials you set in your CAPI tag. This request comes from reddit.com. To verify, check that the response body contains access_token, expires_in, and has adsconversions in scope. Check access token
    • CAPI Ads API request: Collects data about the user’s interaction with a webpage for analysis and optimization purposes. This request comes from ads-api.reddit.com. To verify, check that events.user.uuid isn’t empty, and the remaining values match what you entered earlier. Check Pixel ID
  6. Ensure events are being properly sent to the Ads Manager with the Events Manager.