analytics-setup_skill

This skill helps you set up analytics and tracking for funnel pages, covering GA4, Meta Pixel, GTM, UTMs, and conversion events.
  • HTML

25

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

3 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill ominou5/funnel-architect-plugin --skill analytics-setup

  • SKILL.md3.9 KB

Overview

This skill sets up analytics and tracking for sales funnel pages, covering GA4, Meta Pixel, Google Tag Manager, conversion tracking, and UTM handling. It provides ready-to-use snippets, event patterns, and a practical checklist to ensure accurate attribution and measurable funnels. Use it to capture CTA clicks, form submissions, scroll depth, purchases, and persistent UTM data across visits.

How this skill works

The skill installs GA4 and Meta Pixel code in the page head and adds custom event handlers for funnel interactions (CTAs, forms, scroll depth). It captures UTM parameters from the URL, stores them in localStorage, and appends them to form submissions as hidden fields for attribution. Standard events and examples for tracking conversions (leads, registrations, purchases) are included so you can map them to goals in analytics and ad platforms.

When to use it

  • Building or auditing a lead-generation funnel that needs conversion attribution.
  • Running paid traffic (Facebook, Google) and requiring accurate ROI reporting.
  • Implementing persistent UTM capture so multi-step forms keep original source data.
  • Configuring conversion events before launching A/B tests or paid campaigns.
  • Ensuring consistent tracking across landing pages, thank-you pages, and checkout.

Best practices

  • Install GA4 and Meta Pixel in the <head> on every page to avoid missing PageView hits.
  • Use consistent event names and categories (e.g., cta_click, form_submit) for clean reports.
  • Persist UTM values in localStorage and append them to every form to preserve attribution.
  • Track a thank-you or confirmation page as a destination goal and mark form submits as conversions.
  • Test events with GA4 DebugView and Facebook Pixel Helper before going live.

Example use cases

  • Capture utm_campaign and utm_source on an ad landing page and attach them to the CRM via hidden form fields.
  • Track CTA clicks and scroll depth to identify which hero messages drive engagement and conversions.
  • Set up Meta Pixel purchase and AddToCart events for e-commerce funnels to optimize Facebook campaigns.
  • Configure GA4 custom events for multi-step checkout to measure drop-off between steps.
  • Use GTM to deploy tags and centralize event wiring for faster updates and A/B testing.

FAQ

Use GA4 for site analytics and Meta Pixel for Facebook ad optimization; having both ensures attribution across channels.

How long should I store UTMs?

Persist UTMs in localStorage for the typical sales cycle length (30–90 days) or until a conversion occurs, then clear if necessary.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational