analytics-tracking-automation

Automate GA4 and GTM setup with event schemas, container sync, and preview verification.

5|1|Updated May 16, 2026
One-click install
npx skills add https://github.com/Aradotso/data-skills --skill analytics-tracking-automation-aradotso
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics-tracking-automation
Source: https://github.com/Aradotso/data-skills/tree/main/skills/analytics-tracking-automation
Command: npx skills add https://github.com/Aradotso/data-skills --skill analytics-tracking-automation-aradotso

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @google-cloud/tagmanager, @google-cloud/ga4, playwright, pdf2image, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the complex process of setting up and maintaining Google Analytics 4 and Google Tag Manager tracking on websites, reducing manual effort and ensuring accurate data collection.

Core Features & Use Cases

  • Site Analysis: Crawl and analyze websites to understand page structure and business intent.
  • Event Schema Design: Generate event schemas based on site structure for GA4.
  • GTM Container Sync: Create and update tags, triggers, and variables in Google Tag Manager.
  • Preview Verification: Automated checks for GTM container preview mode.
  • Publishing: Publish GTM container versions upon verification.
  • Shopify Support: Specialized tracking for Shopify stores, including cart, checkout, and purchase flows.
  • Use Case: A website owner looking to automate their GA4 and GTM setup to streamline data collection and improve tracking accuracy.

Quick Start

Set up GA4 and GTM tracking for your website using the 'event-tracking' CLI with the command: npx event-tracking init --url <your_website_url>

Frequently Asked Questions about analytics-tracking-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GA4 and GTM event tracking setup for my website?

Automate GA4 and GTM event tracking by analyzing site structure, designing event schemas, synchronizing GTM containers, and verifying tracking through preview mode before publishing. You can initialize the process using the event-tracking CLI with your website URL.

Does automated event tracking support Shopify stores and ecommerce flows?

Automated event tracking supports Shopify stores by generating specialized tracking for ecommerce flows, including cart additions, checkout steps, and purchase events directly within GA4 and GTM configurations.

What do I need to run automated site analysis for Google Tag Manager?

To run automated site analysis for Google Tag Manager, you need Node.js version 18 or higher and Playwright installed to enable website crawling and structural analysis for event schema generation.

Can I verify GTM container tags automatically before publishing?

You can verify GTM container tags automatically using built-in preview verification checks that validate your tracking implementation before publishing the container version to production.

What is the best way to generate a GA4 event schema from existing site structure?

Generate a GA4 event schema from site structure by crawling your website to understand page layout and business intent, then automatically mapping identified user interactions into standardized GA4 event parameters.

Why use Playwright for GA4 tracking implementation instead of manual GTM setup?

Using Playwright for GA4 tracking implementation automates browser interactions for accurate site crawling and preview verification, eliminating manual GTM setup errors and ensuring precise event tracking synchronization across containers.