Lightlines
By petrkindlmann

analytics-tracking-testing

petrkindlmann861 installs

Catch broken analytics before your code ships.

What it does

Builds analytics tracking tests that check emitted event data against a versioned tracking plan and block regressions in CI.

When to use it

Use when testing analytics events, marketing pixels, dataLayer pushes, purchase deduplication, scroll tracking, or tracking regression gates.

How to use it

Give it an application whose analytics need testing; it builds tracking-plan assertions, reusable capture fixtures, and a verified CI regression gate.

What you provide

  • An existing project

Uses

Security reviews

Not yet reviewed.


What you need · 2

Uses Playwright to run browser journeys, capture analytics beacons, and fail tracking assertions.

The supplied CI workflow runs the tests with Node.js 22.


Access · 6

This skill

GA4

Write

Sends test analytics events

Meta Pixel

Write

Sends test pixel events