Hainrixz/claude-ads / ads
ads
UnverifiedFree-first paid advertising audit and optimization skill, focused on the 3 platforms where 95% of advertiser spend lives: Meta, Google, TikTok. Guided onboarding (/ads start) saves context once and step-by-step OAuth walkthroughs; continuous coach (/ads next) ranks Quick Wins after each audit. ~158 weighted checks with scoring, parallel agents, industry templates, and AI creative generation.
references/tracking-google.md
View on GitHub# Google Ads Conversion Tracking
## Required Stack
```
1. Global Site Tag (gtag.js) → all pages
2. Enhanced Conversions → hashed first-party data (email, phone, address, name)
3. Consent Mode v2 → MANDATORY for EU/EEA since March 2024
4. Server-Side GTM → recommended for data durability
5. Offline Conversion Import → for lead gen (CRM → Google Ads)
```
## Enhanced Conversions
- Sends SHA-256 hashed first-party data
- Improves measurement by ~10% more measured conversions
- Required for smart bidding accuracy in cookie-degraded environments
- Setup via gtag.js or Google Tag Manager
- Works alongside standard conversion tracking
## Consent Mode v2
```javascript
// Default (before consent)
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied'
});
// After user grants consent
gtag('consent', 'update', {
'ad_storage': 'granted',
'ad_user_data': 'granted',
'ad_personalization': 'granted',
'analytics_storage': 'granted'
});
```
- Enforcement began July 21, 2025 for EEA/UK. Requires 700+ ad clicks/day over 7 days per country/domain for behavioral modeling to activate. Advanced mode mandatory (Basic = huge data loss). Combined with Enhanced Conversions + server-side tagging, recovers 30-50% of lost conversions.
- Enables conversion modeling for unconsented users
- Without implementation: 90-95% metric drops (enforcement tightened July 2025)
- ~31% of users accept tracking cookies globally
## Attribution
- **DDA (Data-Driven Attribution) is now MANDATORY default** (September 2025)
- Only two models remain: DDA and Last Click
- All rule-based models deprecated (first-click, linear, time decay, position-based)
- No minimum data threshold for DDA
- Windows: Click 1/3/7/30(default)/60/90 days; Engaged-view 3d; View-through 1d
## Customer Match
- Requires 90 days of account history and $50,000+ lifetime spend for full access
- Maximum membership duration: 540 days (changed April 7, 2025; previously infinite)
- Use for RLSA, similar audiences, and Customer Match lists
- First-party data source: CRM emails, phone numbers, addresses
## Conversion Setup Rules
- Use Google Ads native tracking as PRIMARY for bidding (real-time data)
- Import GA4 conversions for observation only
- Never count both (double-counting)
- Separate micro (AddToCart, TimeOnSite) from macro (Purchase, Lead) conversions
- Only macro conversions as "Primary" for bidding optimization
## Duplicate Detection Accuracy
- Only check **ENABLED** conversion actions for duplicates; exclude HIDDEN and REMOVED actions (they cannot cause double-counting)
- Exclude Smart Campaign system-managed conversions (e.g., 'Smart campaign map clicks to call') from DDA and counting-type checks; their attribution model and counting type are locked by Google
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |