Systems Lab

Agent skill

first-party-data-strategy

This skill should be used when the user asks to \"set up server-side tracking\", \"implement CAPI\", \"build a first-party data strategy\", mentions \"Consent Mode V2\", \"cookieless advertising\", or \"GDPR-compliant tracking setup\".

activeSelf-containedInstructions only2,897 words

Filed under Analytics and reporting.

From Ad-Superpowers/ad-superpowers-plugin · 120 skills · 5 · pushed 2026-09-10

What it does when it runs

This skill should be used when the user asks to \"set up server-side tracking\", \"implement CAPI\", \"build a first-party data strategy\", mentions \"Consent Mode V2\", \"cookieless advertising\", or \"GDPR-compliant tracking setup\". Do NOT use for: attribution discrepancy diagnosis (use attribution-reconciler), GTM container auditing (use gtm-container-auditor), or incrementality measurement (use incrementality-testing-guide).

Read from the skill and the 0 files bundled beside it. A skill’s own description is written to be selected by an agent, so it describes the job and not the dependencies.

Keys and connectors you must supply
None found.
Hosts it reaches
No third-party host appears in the skill or its bundled files.
Tool permissions it declares
No allowed-tools in the frontmatter. It only issues instructions, so there is nothing to bound.
Actions present in the files
None. Instructions only.

Ask about first-party-data-strategy

Opens your assistant with this page's verified links already in the prompt.

Is this safe to install?ClaudeChatGPT
Adapt it to my stackClaudeChatGPT
What else do I need for it to workClaudeChatGPT
Rather ask a human? Talk to Cheetah
git clone --depth 1 --filter=blob:none --sparse https://github.com/Ad-Superpowers/ad-superpowers-plugin.git /tmp/ad-superpowers-plugin
git -C /tmp/ad-superpowers-plugin sparse-checkout set "plugin/skills/first-party-data-strategy"
mkdir -p ~/.claude/skills/first-party-data-strategy
cp -R "/tmp/ad-superpowers-plugin/plugin/skills/first-party-data-strategy/." ~/.claude/skills/first-party-data-strategy/

Picked up without a restart. A project skill of the same name is shadowed by your personal one. For one repository only, swap ~/.claude/skills for .claude/skills. Claude Code docs ↗

Or take the whole library

This repo ships a .claude-plugin manifest, so Claude Code can install all 120 skills at once. Plugin skills are invoked as /<plugin>:<skill>, so they never collide with your own.

/plugin marketplace add Ad-Superpowers/ad-superpowers-plugin
/plugin

The folder is the same in every client that implements the format — 46 of them — so if yours is not above, only the destination changes.

Reproduced in full from Ad-Superpowers/ad-superpowers-plugin/blob/9b6385d2d2d228e4dac096a1d6bc5715c04fa736/plugin/skills/first-party-data-strategy/SKILL.md, which is licensed MIT (repository). 2,897 words, 52 headings.

First-Party Data Strategy Guide

Purpose

Help advertisers build a robust first-party data infrastructure that maintains measurement quality and targeting effectiveness in an increasingly privacy-restricted advertising landscape.

When to Use This Skill

Invoke when user mentions:

  • First-party data: "How do I collect first-party data?"
  • Server-side tracking: "Should I implement CAPI?"
  • Privacy compliance: "How do I handle GDPR tracking?"
  • Consent Mode: "What is Consent Mode V2?"
  • CDPs: "Do I need a Customer Data Platform?"
  • Cookieless: "How do I prepare for cookie deprecation?"
  • Signal loss: "My conversion tracking is getting worse"

Part 1: The Privacy Landscape (2025-2026)

Current State of Digital Advertising Privacy

ChangeStatusImpact
iOS App Tracking TransparencyActive (since 2021)40-60% signal loss on mobile
GDPR Consent RequirementsActive~50% opt-in rates in EU
Chrome 3rd Party Cookie DeprecationActive (phasing out 2025-2026)Major ongoing impact — not a future risk
Meta Aggregated Event MeasurementActiveLimited to 8 priority events
Google Privacy SandboxDeployedTopics API, Protected Audiences replacing cookie-based targeting

Cookie deprecation is happening now, not in the future. Chrome began restricting third-party cookies in 2024 and is continuing the phase-out through 2025-2026. Safari and Firefox have blocked third-party cookies for years. The practical impact on tracking is already visible in attribution gaps. First-party data strategy is not preparation for a future change — it is the fix for a current problem.

Signal Loss by Region

RegionCookie Consent RateMobile Opt-in RateTotal Signal Loss
EU (GDPR)45-55%25-35%50-65%
UK50-60%30-40%45-55%
US (No federal law)75-85%35-45%25-35%
California (CCPA)65-75%35-45%35-45%

The First-Party Data Advantage

Data TypeDefinitionPrivacy StatusValue
First-partyData you collect directlyOwned, compliantHighest
Second-partyPartner's first-party dataLicensedMedium
Third-partyAggregated from many sourcesDecliningLowest

Why First-Party Data Wins:

  • You own it (no dependency on external sources)
  • Compliant by design (collected with consent)
  • More accurate (direct from customer)
  • Future-proof (not affected by browser changes)

Part 2: First-Party Data Collection Strategy

Data Collection Framework

What to Collect:

Data TypeExamplesCollection MethodPriority
IdentityEmail, phone, user IDAccount creation, checkoutP0
BehavioralPage views, clicks, time on siteAnalytics, server logsP0
TransactionalPurchases, order value, productsE-commerce platformP0
PreferenceNewsletter signup, interestsPreference centersP1
EngagementEmail opens, app usageEmail/app analyticsP1
FeedbackReviews, surveys, NPSDirect collectionP2

Collection Points

TouchpointData CollectedConsent RequiredImplementation
Website registrationEmail, nameYesForm + CMP
Newsletter signupEmailYesDouble opt-in
Purchase checkoutEmail, phone, addressLegitimate interestOrder flow
Account creationProfile dataYesSign-up flow
Loyalty programPreferences, historyYesProgram enrollment
Mobile appDevice ID, behaviorYes (ATT)SDK
Customer serviceInteraction historyLegitimate interestCRM

Data Quality Hierarchy

Email Quality Ladder:

LevelDescriptionMatch RateValue
Verified emailConfirmed via double opt-in95%+Highest
Checkout emailProvided at purchase85-95%High
Registration emailAccount signup70-85%Medium
Lead form emailMarketing capture50-70%Lower
Third-party listPurchased data20-40%Lowest

Part 3: Server-Side Tracking Implementation

Why Server-Side Tracking

Client-Side (Traditional)Server-Side
Blocked by ad blockers (25-40%)Not affected by ad blockers
Affected by ITP/ETPResistant to browser restrictions
Limited by cookie consentWorks with proper consent
6-7 day cookie lifetime (Safari)Extended attribution
Visible to userMore control over data

Platform-Specific Implementation

Meta Conversions API (CAPI)

What it does: Send conversion events directly from your server to Meta.

Implementation Options:

MethodComplexityBest For
Partner integrationLowShopify, WooCommerce, Segment
Gateway APIMediumCustom sites with GTM
Direct integrationHighFull control, custom platforms

Required Fields:

FieldTypeMatch Quality Impact
email (hashed)emHigh
phone (hashed)phMedium
first_name (hashed)fnLow
last_name (hashed)lnLow
IP addressclient_ip_addressLow
User agentclient_user_agentLow
Click ID (fbc)fbcHighest
Browser ID (fbp)fbpHigh

Event Match Quality (EMQ) Targets:

EMQ ScoreStatusAction
8.0+ExcellentMaintain
6.0-7.9GoodMinor improvements
4.0-5.9FairAdd customer parameters
<4.0PoorUrgent: add email/phone

Google Enhanced Conversions

What it does: Send hashed first-party data with conversion tags for better measurement.

Setup Options:

MethodRequirements
Tag ManagerGTM, data layer with user data
gtag.jsManual implementation
Google Ads APIServer-side sending

Required Data:

  • Email (hashed SHA256)
  • Phone number (hashed)
  • Name (optional)
  • Address (optional)

Implementation Checklist:

  • Enable Enhanced Conversions in Google Ads
  • Configure data layer to include user data
  • Hash all PII before sending
  • Verify setup with Tag Assistant
  • Monitor in Diagnostics tab

TikTok Events API

Setup Options:

  • Direct API integration
  • Partner integrations (Shopify, etc.)
  • GTM server-side container

Key Parameters:

  • email (hashed)
  • phone (hashed)
  • external_id
  • ttclid (click ID)
  • ttp (pixel ID)

LinkedIn Conversions API

Implementation:

  • Via LinkedIn Partner (Segment, mParticle)
  • Direct API integration

Match Keys:

  • email (SHA256)
  • LinkedIn First-Party ID
  • Google Click ID (for cross-platform)

Deduplication Strategy

Critical: Sending both client-side and server-side events can cause double-counting.

PlatformDeduplication Method
Metaevent_id matching
Googletransaction_id matching
TikTokevent_id matching
LinkedInconversion_id matching

Implementation:

  1. Generate unique event_id on client-side
  2. Include same event_id in server-side call
  3. Platform deduplicates automatically

Part 4: Consent Mode v2 (Google)

What is Consent Mode v2?

Consent Mode v2 is Google's framework that allows tags to adjust behavior based on user consent status, while still enabling conversion modeling for non-consented users. Consent Mode v2 has been mandatory for EEA advertisers since March 2024. Version 1 is no longer sufficient.

What's New in v2 vs v1

Consent Mode v2 added two parameters on top of the original two:

ParameterVersionWhat It ControlsDefault Without Consent
ad_storagev1Advertising cookiesdenied (no cookies)
analytics_storagev1Analytics cookiesdenied (no cookies)
ad_user_datav2 newSending user data to Google for adsdenied
ad_personalizationv2 newPersonalized / remarketing adsdenied

Failing to implement ad_user_data and ad_personalization means:

  • Google may restrict audience list creation in the EEA
  • Smart Bidding signals are degraded
  • Remarketing audiences shrink

Implementation Levels

LevelDescriptionData Recovery
BasicBlock all tags when no consent0%
AdvancedSend cookieless pings, modeling enabled40-70% recovery
FullAdvanced + Enhanced Conversions70-85% recovery

Use Advanced mode minimum. Basic mode gives up all recovery potential.

Setup Checklist

  • Confirm CMP supports Consent Mode v2 (most major CMPs updated in 2024)
  • Configure all four consent mode parameters (not just the original two)
  • Pass consent state to all Google tags via GTM or gtag.js
  • Enable conversion modeling in Google Ads
  • Test with Tag Assistant (check for v2 parameters in network requests)
  • Monitor consent rates in GA4 (Admin > Privacy > Consent overview)

Recommended CMP Providers

ProviderComplexityBest For
CookiebotLowSmall-medium sites
OneTrustMediumEnterprise
UsercentricsMediumEU focus
OsanoLowUS focus
Built-in (Shopify)LowShopify stores

Part 5: Customer Data Platforms (CDPs)

Do You Need a CDP?

CDP Decision Matrix:

FactorYes, Get a CDPNo, Not Yet
Data sources5+ systems1-3 systems
Customer records100K+<50K
Monthly ad spend€50K+<€20K
Team size (marketing)5+ people<3 people
Multi-channel campaignsYesSingle platform
Real-time needsYesBatch OK

CDP Vendor Comparison

CDPBest ForPrice RangeComplexity
SegmentDeveloper-first, integrations€€€Medium
RudderstackOpen-source alternative€€Medium
mParticleMobile-first€€€Medium
Treasure DataEnterprise€€€€High
KlaviyoE-commerce, emailLow
Customer.ioMessaging focus€€Low
HightouchData warehouse-first€€Medium

CDP vs. Other Solutions

SolutionBest ForLimitation
CDPUnified customer view + activationCost, complexity
Data warehouse + Reverse ETLAnalytics teamsNo real-time
Marketing automationEmail/SMSLimited identity resolution
Platform audiencesSingle-platform campaignsNo cross-platform

Part 6: Data Activation for Advertising

Audience Activation Workflow

1. COLLECT → First-party data (email, behavior, transactions)
2. UNIFY → Match to single customer profile
3. SEGMENT → Create audiences based on attributes
4. ACTIVATE → Push to ad platforms
5. MEASURE → Close the loop with conversion data

Platform Audience Matching

PlatformUpload MethodMatch Rate (Email)Best Practice
Meta Custom AudiencesManager or API60-80%SHA256 hash, normalize
Google Customer MatchUI or API50-70%Multiple identifiers
TikTok AudiencesUI or API50-70%Include phone
LinkedIn Matched AudiencesUI or API40-60%Work email performs better

Audience Strategy Matrix

Audience TypeSourcePlatformsUse Case
PurchasersTransaction dataAllExclusion, lookalikes
High-value customersLTV dataAllLookalikes, upsell
Cart abandonersBehavior dataMeta, GoogleRetargeting
Email subscribersCRMMeta, GoogleRetargeting
Website visitorsAnalyticsAllRetargeting
App usersApp analyticsMeta, TikTokRe-engagement

Lookalike & Expansion Audiences

Note: Google Ads deprecated "Similar Audiences" in May 2023. Use Optimized Targeting (Display/YouTube) or PMax Audience Signals instead. Meta and TikTok still support Lookalike Audiences natively.

Quality Factors (Meta/TikTok Lookalikes & Google Audience Signals):

FactorImpact on Expansion Quality
Source audience size1K-50K optimal
Source qualityHigher LTV → better expansion
Data recencyLast 90 days best
Country scopeSingle country performs better

Part 7: Data Clean Rooms

What Are Data Clean Rooms?

Secure environments where multiple parties can analyze combined data without exposing raw PII.

Use Cases

Use CaseHow It Works
Publisher collaborationMatch your data with publisher data
Retailer insightsConnect ad exposure to retail sales
AttributionCross-platform measurement
Audience buildingCreate segments from multiple sources

Data Clean Room Options

ProviderTypeBest For
Google Ads Data HubPlatform-specificGoogle campaigns
Meta Advanced AnalyticsPlatform-specificMeta campaigns
AWS Clean RoomsCloud-nativeCustom use cases
Snowflake Data Clean RoomsData warehouseAnalytics teams
LiveRampIndependentMulti-platform
InfoSumIndependentPrivacy-first

When to Consider

  • Ad spend > €500K/year
  • Need offline conversion attribution
  • Working with large publishers/retailers
  • Complex multi-party data needs

Part 8: Implementation Roadmap

Phase 1: Foundation (Weeks 1-4)

Priority Actions:

ActionEffortImpact
Implement server-side tracking (Meta CAPI)MediumHigh
Enable Google Enhanced ConversionsLowMedium
Review and optimize CMPLowMedium
Audit current data collectionLowFoundation

Quick Wins:

  • Add Meta CAPI via partner integration (Shopify/WooCommerce)
  • Enable Enhanced Conversions in Google Ads
  • Implement Consent Mode V2 with advanced mode
  • Add email collection to key conversion points

Phase 2: Enhancement (Weeks 5-12)

Focus Areas:

AreaActions
Data qualityImprove EMQ scores, add phone numbers
Consent optimizationA/B test CMP messaging
Audience buildingCreate customer match audiences
Cross-platformImplement TikTok/LinkedIn APIs

Phase 3: Optimization (Ongoing)

Regular Activities:

CadenceActivity
WeeklyMonitor EMQ scores, consent rates
MonthlyReview audience performance
QuarterlyAudit data collection, update strategy
AnnuallyReview CDP/tech stack needs

Part 9: Compliance Checklist

GDPR Compliance for Advertising Data

RequirementImplementation
Legal basisConsent or legitimate interest documented
TransparencyPrivacy policy updated
ConsentCMP implemented, records stored
Data minimizationOnly necessary data collected
Purpose limitationClear advertising purposes stated
Storage limitationRetention periods defined
SecurityEncryption, access controls
Data subject rightsDelete/export capabilities

Platform-Specific Requirements

PlatformKey Requirements
MetaGDPR consent signal, Terms of Service
GoogleConsent Mode, EU user consent policy
TikTokEEA consent documentation
LinkedInMember consent documentation

Part 10: Quick Reference

Signal Recovery Cheat Sheet

ProblemSolutionRecovery
Low Meta EMQAdd email + phone to CAPI+30-50% match
Google modeling inaccurateEnable Enhanced Conversions+20-40% accuracy
Safari cookie lossServer-side tracking+60-80% recovery
Ad blocker impactServer-side tracking+25-40% recovery
Low consent ratesOptimize CMP messaging+10-20% consent

Tech Stack Recommendations by Budget

Annual Ad SpendRecommended Stack
<€50KNative platform tools + GTM
€50-200KGTM Server + Basic CDP (Klaviyo)
€200K-1MFull CDP (Segment) + clean room
€1M+Enterprise CDP + custom data infrastructure

KPIs to Track

MetricTargetHow to Measure
Meta EMQ Score>6.0Events Manager
Consent rate>50%CMP dashboard
Customer match rate>60%Platform reports
Server-side coverage>80% eventsGTM Server
Modeled conversions %<40%Platform reports

Optional: Enrich with Live Data

If the user has connected their GA4 account, check current consent rate and data coverage to benchmark where first-party data collection stands today:

# Assess session volume and key event data — gaps indicate consent/tracking issues
ga4_run_report(
    property_id="YOUR_PROPERTY_ID",
    start_date="30daysAgo",
    end_date="today",
    metrics=["sessions", "totalUsers", "keyEvents"],
    dimensions=["date", "sessionDefaultChannelGroup"]
)

If you see significantly fewer sessions in GA4 than in your CMS/server logs, that gap represents unconsented or untracked users — the exact population the first-party data strategy needs to address. Use the ratio as the baseline "data loss rate" to track improvement against.

Last updated: February 2026 Based on platform documentation and industry best practices

Other skills for the same job

Different authors, same problem. Matched on the words in the skill name, across every library in the catalogue except this one.

Need help setting it up?

This page tells you what first-party-data-strategy does and what it needs. Cheetah builds the agent setup it runs inside: data, CRM, sequencing and the guardrails.

Book a call →

The directory stays free. There is nothing gated behind this.