tracking

Embeds consent-aware analytics and conversion pixels via @astrojs/partytown for multiple platforms.

2|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/Anglesite/anglesite --skill tracking-anglesite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tracking
Source: https://github.com/Anglesite/anglesite/tree/main/agent-skills/tracking
Command: npx skills add https://github.com/Anglesite/anglesite --skill tracking-anglesite

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @astrojs/partytown, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill embeds analytics and conversion pixels securely, ensuring compliance with cookie consent policies and enhancing site performance.

Core Features & Use Cases

  • Consent-Based Tracking: Embeds pixels only after user consent, adhering to privacy regulations.
  • Pixel Integration: Supports Meta Pixel, Google Ads, GA4, LinkedIn, TikTok, Pinterest, X, and Microsoft Clarity.
  • Performance Optimization: Utilizes Partytown to offload pixels to a web worker, improving page load times.
  • Use Case: Install the pixel for Google Analytics to track website visits and user behavior without compromising privacy.

Quick Start

Run /anglesite:tracking to embed the necessary pixels for your site.

Frequently Asked Questions about tracking

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

FAQPage Schema
How do I add conversion pixels to my site without violating cookie consent policies?

To add analytics pixels securely, embed them within a consent management framework that delays script execution until users explicitly grant permission. This approach ensures tracking only activates after valid consent, maintaining compliance with privacy regulations.

What is the best way to prevent analytics scripts from slowing down page load times?

The best way to prevent analytics scripts from slowing down page load times is offloading them to a web worker. By utilizing Partytown, this Skill executes tracking pixels off the main thread, optimizing website performance while maintaining full tracking capabilities.

Can I use Partytown to integrate Meta Pixel and Google Ads conversion tracking?

Yes, you can use Partytown to integrate Meta Pixel and Google Ads. This Skill supports embedding conversion pixels for multiple platforms including Meta, Google Ads, GA4, LinkedIn, TikTok, Pinterest, X, and Microsoft Clarity within the web worker environment.

Do I need a consent management system to embed conversion pixels securely?

Yes, you need a consent management system to embed pixels securely. This Skill requires consent management integration to function properly, ensuring privacy regulations are met and tracking scripts only load after explicit user permission is granted.

How does web worker integration work for website analytics tracking?

Web worker integration for analytics tracking works by moving third-party script execution to a background thread. This Skill uses Partytown to offload pixel operations, preventing tracking scripts from blocking the main thread and improving overall site responsiveness.

What are the limitations of using Partytown for conversion tracking?

A limitation of using Partytown for conversion tracking is that it requires specific dependency setup and consent management integration. If your site lacks a proper consent framework or the @astrojs/partytown dependency, the secure pixel embedding process cannot function correctly.