Skip to content

GTM Container Playground

Welcome to the GTM Container Playground. This page is a dedicated sandbox environment designed for analytics engineers to safely test their Google Tag Manager configurations and ggLowCodeGTMKit variables.

Testing variables requires a live Google Tag Manager container. Follow these steps to connect your container to this page:

  1. Open Tag Assistant: Open tagassistant.google.com in a new browser tab.
  2. Start a Preview: Click Add Domain and enter this exact page URL: https://youdontknowga.com/playground/gtm/. Click Connect.
  3. Inject Your Container: Once the new window opens (you are now looking at it), paste your Container ID (GTM-XXXXXXX) into the box below and click Connect GTM.
  4. Fire Events: Use the DataLayer Toolset buttons to push mock ecommerce and standard events. You will instantly see these events appear in your Tag Assistant window, allowing you to inspect how your variables evaluate them.

1. Connect Your Container

Enter your Google Tag Manager ID to dynamically inject the container into this page.

Advanced: Custom JSON Payload

This JSON is automatically injected before GTM loads. You can also edit it and push it manually at any time.

2. Trigger Test Events

Push mock GA4 events to the dataLayer to test your variables.

Latest dataLayer Push
 

Note on Security: Your GTM Container ID is never saved or sent to any server. This injection happens entirely locally in your browser session. As soon as you refresh the page, the container is removed.