Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Ad-Superpowers/ad-superpowers-plugin --skill ga4-promotion-trackinggit clone --depth 1 https://github.com/Ad-Superpowers/ad-superpowers-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/ga4-promotion-tracking)<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/ga4-promotion-tracking"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/ga4-promotion-tracking/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/ga4-promotion-tracking"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/ga4-promotion-tracking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.02204 |
| Opus 5.5 | $0.00033 | $0.00882 |
| Sonnet 5.5 | $0.00017 | $0.00441 |
| Haiku 4.5 | $0.00008 | $0.00220 |
Grade A, and why
ga4-promotion-tracking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 330 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GA4 Promotion Tracking Guide
Complete guide for tracking internal promotions, coupon codes, and sales campaigns in Google Analytics 4.
DataLayer Implementation
view_promotion Event
VIEW_PROMOTION EVENT
====================
WHEN: Promotion banner/element enters viewport
DATALAYER CODE:
-----------------------------------------------------------------
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "view_promotion",
ecommerce: {
items: [{
promotion_id: "summer_sale_2024", // REQUIRED
promotion_name: "Summer Sale 2024", // REQUIRED
creative_name: "hero_banner_beach", // Recommended
creative_slot: "homepage_hero", // Recommended
location_id: "homepage" // Optional
}]
}
});
-----------------------------------------------------------------
VIEWPORT TRACKING IMPLEMENTATION:
---------------------------------
// With Intersection Observer (recommended)
const promotionBanner = document.querySelector('.promo-banner');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "view_promotion",
ecommerce: {
items: [{
promotion_id: promotionBanner.dataset.promoId,
promotion_name: promotionBanner.dataset.promoName,
creative_name: promotionBanner.dataset.creative,
creative_slot: promotionBanner.dataset.slot
}]
}
});
observer.unobserve(entry.target); // Track only once
}
});
}, { threshold: 0.5 }); // 50% visible
observer.observe(promotionBanner);
HTML DATA ATTRIBUTES:
---------------------
<div class="promo-banner"
data-promo-id="summer_sale_2024"
data-promo-name="Summer Sale 2024"
data-creative="hero_banner_beach"
data-slot="homepage_hero">
<!-- Banner content -->
</div>
select_promotion Event
SELECT_PROMOTION EVENT
======================
WHEN: User clicks on promotion element
DATALAYER CODE:
-----------------------------------------------------------------
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "select_promotion",
ecommerce: {
items: [{
promotion_id: "summer_sale_2024",
promotion_name: "Summer Sale 2024",
creative_name: "hero_banner_beach",
creative_slot: "homepage_hero",
location_id: "homepage"
}]
}
});
-----------------------------------------------------------------
CLICK HANDLER IMPLEMENTATION:
-----------------------------
document.querySelectorAll('.promo-banner').forEach(banner => {
banner.addEventListener('click', function() {
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "select_promotion",
ecommerce: {
items: [{
promotion_id: this.dataset.promoId,
promotion_name: this.dataset.promoName,
creative_name: this.dataset.creative,
creative_slot: this.dataset.slot
}]
}
});
});
});
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 330 lines · 83 tokens per session scan A f50bd797ce4b
ga4-promotion-tracking is a skill published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (5 stars, last pushed 29d ago), licensed MIT. It adds 83 tokens to every session and 2,204 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.
Other skills, from other repositories
sealeap-amazon-ca-apparel-ads
An Amazon Canada advertising planning guide for apparel products such as coats and underwear. It combines product life-cycle stages, seasonal timing, English and French search coverage, account evidence, profitability, and inventory considerations.
sealeap-amazon-listing-optimizer
Audit, diagnose, rewrite, creatively brief, test, and safely prepare updates for Amazon product detail pages using live marketplace and product-type requirements, verified product facts, Brand Analytics, Search Query Performance, Ads search terms, customer feedback, competitor observations, and optional third-party…
ai-model-expert-1688-ecommerce-video-generation-editing
An AI tool workflow for creating and editing 1688 e-commerce videos from text, images, videos, or audio. 1688 is a Chinese online wholesale marketplace.
302-ai-alternative-ai-hive
A migration guide for teams moving between AI model API platforms, especially for image and video generation. It helps review an existing OpenAI-compatible integration and plan testing, routing, and fallback options.
ai-hive-animation-167-e6ff654
An AI-HIVE workflow for creating original 8-bit pixel-art animation or game-oriented content. It covers characters, settings, storyboards, key frames, animation clips, and checks for visual consistency and originality.
ai-hive-agentic-ocr-targeted-evidence
A document-search workflow that first finds likely pages and then uses OCR, or software that reads text from images, on only the relevant scans, tables, or small text.