# Privacy First Targeting Strategist

> Scores how exposed Google Ads, Meta, LinkedIn and TikTok are to tracking loss and writes a first-party data roadmap. Use for Conversions API, consent mode, server-side tracking, Customer Match, offline conversions, cookie loss or a low iOS ATT opt-in rate.

- Skill: `insightful-pipe/privacy-first-targeting-strategist` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx get-skill add insightful-pipe/privacy-first-targeting-strategist`
- Raw SKILL.md: https://api.skillmd.com/api/skills/insightful-pipe/privacy-first-targeting-strategist/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Product & Planning
- Author: Insightful-Pipe (https://skillmd.com/u/insightful-pipe)
- Updated: 2026-11-18
- Page: https://skillmd.com/skills/insightful-pipe/privacy-first-targeting-strategist

---


# Privacy-First Targeting Strategist

Tracking keeps shrinking. iOS asks every app user for permission to track and most say no. Safari and Firefox block third-party cookies and shorten the life of some first-party ones. Consent rules switch tags off until a visitor agrees, and ad blockers stop tags outright. Chrome still allows third-party cookies (Google dropped its plan to remove them), so the loss comes from those other sources, not from Chrome.

None of this can be undone, so the job is to adapt. This skill doesn't ask how your tracking works. It reads your accounts, shows where your ads lean on signals that are going away, and writes a plan that moves them onto signals you own.

## The thinking behind it

- **The rules are the field you play on, not an obstacle.** Plan for them.
- **Data you collect yourself, with consent, is the advantage.** Customer lists, CRM outcomes and logged-in behaviour keep working when cookies don't.
- **Measuring less is not the same as working less.** Ads still sell when a sale goes unattributed. Aim for good decisions, not perfect attribution.
- **Let the platforms' automation do more.** Smart Bidding, Performance Max and Meta's Advantage+ fill tracking gaps with modelling, but only as well as the conversions you feed them.
- **Brand demand needs no tracking.** People who already know you search for you by name.

## Two modes

- **Full plan** (the default): the six pillars, the readiness score and the roadmap, from "Before you start" to "Fixes this skill can run".
- **App tracking opt-in:** for an iOS app that wants more people to tap Allow on Apple's App Tracking Transparency alert. Use it when the user asks about their ATT opt-in rate, the tracking prompt, the screen shown before it or its wording. It has its own questions, steps and report in "App tracking opt-in mode" below, works from what the user pastes when nothing is connected, and skips the pillars unless the user asks for both.

## Before you start

For the full plan you need the InsightfulPipe MCP connected. The more of these platforms are connected, the fuller the picture: Google Ads, Meta (`facebook-ads`), LinkedIn Ads, TikTok Ads, GA4 (`google-analytics`), Google Tag Manager and Klaviyo.

1. Call `query_contexts` with `request="accounts"` for each platform. Note `workspace_id`, `brand_id` and the account id. If a platform has several accounts, ask which ones belong to this business. Never mix two businesses in one plan.
2. Call `query_contexts` with `request="actions_details"` for every action below and follow the body shapes it returns.
3. Ask the user five things, and use the defaults if they don't know:
   - **Business model:** ecommerce, lead gen, SaaS or app. Default: lead gen when the counted conversions are calls and forms, ecommerce when there are purchase conversions with values.
   - **Where customers are.** EU, EEA or UK visitors make consent mode a requirement. Default: the countries the campaigns target.
   - **Where sales close.** If leads close by phone, in person or in a CRM, offline conversions matter. Default: ask; don't assume.
   - **Customer list.** Roughly how many customer or lead emails they hold, and whether people agreed to marketing. Nothing connected shows this, so ask.
   - **Developer help.** Whether a developer can work on the site, the server or the CRM. Several fixes need one. Default: ask; the roadmap marks which steps need a developer either way.

Use the last 30 complete days for every performance number. State the dates and the currency at the top.

## How to run the queries

Google Ads queries go through `query_data` with `platform="google-ads"` and `action="gaql"`. Money fields end in `_micros`; divide by 1,000,000. Responses can name the type field `type_`; read either spelling. Other platforms use the action named in each check.

If a call fails, or a platform isn't connected, keep going. Mark what it would have shown as **unknown**, say why, and never fill the gap with a guess.

## The six pillars

Score each pillar **strong**, **partial**, **weak** or **unknown**. When several platforms feed one pillar, the pillar takes the worst result among platforms that spent money in the 30 days. A platform with no spend is reported but not graded.

### 1. Signal source mix: what your conversions depend on

**Google Ads.**

```sql
SELECT conversion_action.id, conversion_action.name, conversion_action.type,
       conversion_action.category, conversion_action.origin,
       conversion_action.primary_for_goal, conversion_action.include_in_conversions_metric,
       conversion_action.status, conversion_action.click_through_lookback_window_days,
       conversion_action.attribution_model_settings.attribution_model
FROM conversion_action WHERE conversion_action.status = 'ENABLED'
```
```sql
SELECT segments.conversion_action, segments.conversion_action_name,
       metrics.conversions, metrics.all_conversions
FROM customer
WHERE segments.date DURING LAST_30_DAYS AND metrics.all_conversions > 0
```
Join the two on the conversion action resource name. `metrics.conversions` can't be selected from `conversion_action` itself; the API rejects it, so the second query reads it from `customer`.

Put every counted conversion (`metrics.conversions`) in one bucket by its type:

| Bucket | Types | Why it matters |
|---|---|---|
| Platform-native | `AD_CALL`, `GOOGLE_HOSTED`, `STORE_VISITS` | Measured inside Google; no site cookie needed |
| Browser tag | `WEBPAGE`, `WEBPAGE_CODELESS`, `WEBSITE_CALL`, `CLICK_TO_CALL`, `GOOGLE_ANALYTICS_4_CUSTOM`, `GOOGLE_ANALYTICS_4_PURCHASE` | Lost when the tag is blocked, consent is refused or the click cookie expires |
| Server or upload | `UPLOAD_CLICKS`, `UPLOAD_CALLS`, any `STORE_SALES` or `SALESFORCE` type | Sent from your own systems; survives browser limits |
| App | types starting with `ANDROID_`, `FIREBASE_` or `THIRD_PARTY_APP_ANALYTICS` | iOS app tracking needs the user's permission |

Any other type goes in "other" and is listed by name.

**Rating:** the browser-tag share of counted conversions. **Strong** at 40% or less, **partial** above 40% up to 75%, **weak** above 75%, and weak when nothing is counted at all.

**Meta.** `get_pixels` with `fields` `id`, `name`, `creation_time`, `last_fired_time`, `first_party_cookie_status`, `data_use_setting`, `is_unavailable`, `is_created_by_business`, `owner_ad_account`. Only these fields are accepted; automatic-matching fields return an error.
- **Weak** when the account spent money and has no pixel, or the pixel hasn't fired in 7 days.
- Note when `first_party_cookie_status` isn't `FIRST_PARTY_COOKIE_ENABLED`.
- Event Match Quality and the browser-versus-server split are not in the API. Ask the user to read them in Events Manager, and mark them unknown until they do.

**LinkedIn.** `get_conversions` with `ad_account_id` and `auto_paginate: true`. Each rule's `conversionMethod` says how it is measured: `INSIGHT_TAG_URL_MATCH_RULES` and other Insight Tag methods are browser tag, `CONVERSIONS_API` is server.

**TikTok.** `adgroups_metadata` (body `action: "adgroup/get/"`, `method: "GET"`, `advertiser_id`). Read `pixel_id` and `optimization_event` on active ad groups. A conversion ad group with no `pixel_id` measures nothing on the site. Whether the Events API is live is not readable; ask.

### 2. Server-side and matched data

```sql
SELECT customer.descriptive_name, customer.currency_code, customer.auto_tagging_enabled,
       customer.conversion_tracking_setting.conversion_tracking_status,
       customer.conversion_tracking_setting.enhanced_conversions_for_leads_enabled,
       customer.conversion_tracking_setting.accepted_customer_data_terms
FROM customer
```
```sql
SELECT offline_conversion_upload_client_summary.client,
       offline_conversion_upload_client_summary.status,
       offline_conversion_upload_client_summary.total_event_count,
       offline_conversion_upload_client_summary.successful_event_count,
       offline_conversion_upload_client_summary.success_rate,
       offline_conversion_upload_client_summary.last_upload_date_time,
       offline_conversion_upload_client_summary.alerts
FROM offline_conversion_upload_client_summary
```
```sql
SELECT offline_conversion_upload_conversion_action_summary.conversion_action_name,
       offline_conversion_upload_conversion_action_summary.client,
       offline_conversion_upload_conversion_action_summary.status,
       offline_conversion_upload_conversion_action_summary.total_event_count,
       offline_conversion_upload_conversion_action_summary.successful_event_count,
       offline_conversion_upload_conversion_action_summary.last_upload_date_time,
       offline_conversion_upload_conversion_action_summary.alerts
FROM offline_conversion_upload_conversion_action_summary
```

| Check | Result |
|---|---|
| Customer data terms | **weak** when `accepted_customer_data_terms` is false: no enhanced conversions or Customer Match can run |
| Enhanced conversions for leads | for lead gen where sales close offline: **partial** when `enhanced_conversions_for_leads_enabled` is false |
| Upload share | the server-or-upload share of counted conversions from pillar 1. For lead gen with offline closes, **partial** when it is under 10%: the path exists but is barely fed |
| Upload health | **partial** when a summary's `status` is not `EXCELLENT` or `GOOD`. List every alert |
| Web enhanced conversions | read in Tag Manager (pillar 3): a Google Ads conversion tag (`awct`) should have `enableEnhancedConversion` set to true. The Ads API doesn't show this, so it's unknown without Tag Manager |

**Strong** needs the terms accepted, the right enhanced conversions on for the business model, and, for lead gen with offline closes, an upload share of 10% or more.

Google's upload summaries don't count enhanced conversions for leads sent through the tag; those appear only in the Google Ads diagnostics screen. Say so. The summaries also count upload events over Google's own window, so their totals can differ from the 30-day conversion count in pillar 1. Report both numbers as they come.

**Meta and TikTok server events** (Conversions API, Events API) are not readable. Ask whether they are live, and treat a "no" on a platform with spend as **partial**.

When the plan recommends a Conversions API or Events API, name the events to send for the business model:
- **Ecommerce:** PageView, ViewContent, AddToCart, InitiateCheckout, and Purchase with its value.
- **Lead gen and SaaS:** PageView, Lead or CompleteRegistration, and a closed-deal event with its value when the CRM knows it.

Send each event from both the browser and the server with the same event id (`event_id` on Meta and TikTok), so the platform counts it once. Without that shared id, conversions are counted twice.

**Choose the route.** There are three ways to get server events to Meta (TikTok's Events API offers the same three):

| Route | Effort | Coverage | Developer |
|---|---|---|---|
| Partner integration: the store, CRM or form tool's built-in connection (Shopify, for example) | low | good: the standard events the partner sees | usually not needed |
| Server-side Tag Manager container | medium | better: what the web container sees, sent on from your own server | needed to set up and host it |
| Direct API from your own backend or CRM | high | best: any event, including offline ones such as a signed deal | needed |

Start with a partner integration when the site's platform has one. Move up a route when events the partner can't see matter, such as offline closes or custom steps. A server container found in pillar 3 makes the Tag Manager route the natural next step. If a route needs a developer and the user has none, say so and pick the partner route, or list the gap.

**Send match keys.** Meta grades how well server events match its users as Event Match Quality, shown in Events Manager. Raise it by sending these with each event: the customer's email and phone (hashed), your own customer id as `external_id`, and the browser ids `fbp` (from the `_fbp` cookie) and `fbc` (from the `fbclid` click id). TikTok takes the same kinds of keys, with `ttclid` as its click id.

### 3. Consent

Read the container that the site actually loads. `get_containers` with `account_id`, then `get_live_version` with `account_id` and `container_id`.

- A container whose `usageContext` includes `server` means server-side tagging exists.
- For each tag in the live version, read `type` and `consentSettings.consentStatus` (`needed`, `notNeeded` or `notSet`). Ad tags are Google Ads (`awct`, `gclidw`, `sp`), the Google tag (`googtag`), and custom HTML or template tags for Meta, LinkedIn or TikTok.
- A consent platform template, or a tag that fires on the Consent Initialization trigger (built-in trigger id `2147479572`), shows a consent setup.

| Customers in the EU, EEA or UK | Result |
|---|---|
| Yes | **weak** when ad tags have no consent settings and no consent setup exists; **partial** when some do |
| No | **partial** when there's no consent setup (some US state laws give people an opt-out); **strong** when one exists |

**GA4** (`google-analytics`):
- `list_google_ads_links`: note any link with `adsPersonalizationEnabled` false. Its audiences won't be used for personalised ads.
- `get_data_retention_settings`: `eventDataRetention` of `TWO_MONTHS` limits look-back analysis to two months.

Unknown when the site's container isn't connected. Report what you find; the legal side is for the user's lawyer.

### 4. First-party audiences

**Google Ads.**

```sql
SELECT user_list.id, user_list.name, user_list.type, user_list.membership_status,
       user_list.size_for_search, user_list.size_for_display, user_list.size_range_for_search,
       user_list.match_rate_percentage, user_list.eligible_for_search,
       user_list.eligible_for_display, user_list.membership_life_span,
       user_list.crm_based_user_list.upload_key_type,
       user_list.crm_based_user_list.data_source_type
FROM user_list
```
- Count `CRM_BASED` lists (Customer Match) and report each one's `match_rate_percentage`.
- A list below 1,000 users on Search can't serve there. Report the largest list's search size.
- `SIMILAR` lists are retired: Google stopped similar audiences in 2023. List them as clutter to leave out of planning. Google makes them and they are read-only, so don't tell the user to delete them.

**Meta.** `get_custom_audiences` with `fields` `id`, `name`, `subtype`, `approximate_count_lower_bound`, `approximate_count_upper_bound`, `data_source`, `delivery_status`, `retention_days`, `time_updated`, `is_value_based`, `lookalike_spec`. Group the audiences by `subtype`:
- `CUSTOM` is a customer list. Note `is_value_based`.
- `WEBSITE` depends on the pixel.
- `LOOKALIKE` is built from another audience.
- `ENGAGEMENT` comes from activity on Meta.

A customer list not updated in 30 days is stale.

**Klaviyo.** `get_lists` with `auto_paginate: true`. Report each list's `opt_in_process`: double opt-in shows clear consent. The list action doesn't return sizes, so ask for them.

**GA4.** `list_audiences`. These are shared with linked Google Ads accounts.

**Rating:**
- **Strong:** at least one customer-list audience (Customer Match or a Meta customer list) is big enough to serve, and the Meta one is fresh.
- **Partial:** one exists but is too small or stale, or only pixel-based audiences exist.
- **Weak:** no customer-list audience anywhere connected.

**Segments to build.** These come from the store, CRM or email platform, not from the ad APIs. Plan one audience per segment:

| Segment | Ecommerce | Lead gen or services | Use |
|---|---|---|---|
| High value | top 20% of customers by revenue | the top 20% of won clients by deal value | source for lookalikes and value-based lists |
| Recent customers | bought in the last 30 days | won in the last 30 days | exclude from prospecting |
| Lapsed | no purchase in 90+ days | past clients | win-back offers; for services bought once, referral and review asks |
| High intent | cart abandoners, frequent visitors | form starters, missed calls, quotes not yet accepted | retargeting first |
| Email engaged | opened or clicked recently | the same | warm audience |

A segment's size comes from the user, or from the list once it is uploaded (`user_list.size_for_search`, Meta `approximate_count_lower_bound`). Until then, write "ask"; never guess a size.

**Lookalikes**, built from the high-value segment on each connected platform:
- **Meta:** a lookalike of the high-value customer list, starting at 1% and testing up to 3%. Use a value-based list when the list carries values.
- **Google:** similar audiences are retired. Use Customer Match as a signal for optimized targeting in Display, Demand Gen or YouTube. On Search, a Customer Match list works for observation, bid adjustments and exclusions, not for finding new people.
- **TikTok:** a lookalike of the customer-list audience.
- A platform that isn't connected gets no lookalike row; say so.

### 5. Targeting dependency: how much spend needs cross-site tracking

**Google Ads.**

```sql
SELECT campaign.id, campaign.name, campaign.advertising_channel_type,
       campaign.bidding_strategy_type, metrics.cost_micros, metrics.conversions, metrics.clicks
FROM campaign
WHERE segments.date DURING LAST_30_DAYS AND metrics.cost_micros > 0
```
```sql
SELECT campaign.name, campaign.status, campaign_criterion.type, campaign_criterion.negative,
       campaign_criterion.bid_modifier, campaign_criterion.user_list.user_list,
       campaign_criterion.user_interest.user_interest_category, campaign_criterion.status
FROM campaign_criterion
WHERE campaign_criterion.type IN ('USER_LIST', 'USER_INTEREST', 'AUDIENCE', 'CUSTOM_AUDIENCE', 'COMBINED_AUDIENCE')
  AND campaign.status = 'ENABLED'
```
```sql
SELECT campaign.name, campaign.status, ad_group.name, ad_group_criterion.type,
       ad_group_criterion.negative, ad_group_criterion.user_list.user_list,
       ad_group_criterion.user_interest.user_interest_category, ad_group_criterion.status
FROM ad_group_criterion
WHERE ad_group_criterion.type IN ('USER_LIST', 'USER_INTEREST', 'AUDIENCE', 'CUSTOM_AUDIENCE', 'COMBINED_AUDIENCE')
  AND campaign.status = 'ENABLED'
```
Put each campaign's spend into one group:

| Group | What counts | Exposure |
|---|---|---|
| Intent or context | search campaigns whose targeting is keywords (audiences absent, or used only for observation) | none: a search query needs no cookie |
| Platform-modelled | Performance Max, and Meta ad sets with `targeting_automation.advantage_audience` = 1 or no detailed targeting | low: the platform models the gaps |
| Behavioural | campaigns or ad sets that target remarketing lists, website custom audiences, interests or behaviours (Meta `flexible_spec` or `custom_audiences` with `advantage_audience` 0; TikTok `audience_ids` or `interest_category_ids`) | high: shrinks as tracking does |

Read Meta targeting from `get_adsets` with `fields` `id`, `name`, `effective_status`, `optimization_goal`, `promoted_object`, `attribution_spec`, `targeting`. Read Meta spend per ad set from `get_insights_adaccount` with `level: "adset"`, `date_preset: "last_30d"` and `fields` `adset_id`, `adset_name`, `spend`, `actions`, `attribution_setting`. `get_adsets` leaves out archived ad sets, so spend always comes from insights.

**Rating:** the behavioural share of spend. **Strong** at 20% or less, **partial** above 20% up to 50%, **weak** above 50%.

### 6. Measurement resilience

- **Automated bidding share.** Add up the spend on Smart Bidding: `MAXIMIZE_CONVERSIONS`, `MAXIMIZE_CONVERSION_VALUE`, `TARGET_CPA` and `TARGET_ROAS`. These strategies learn from the conversions the account receives, so pillar 1 decides how well they learn.
- **A second source.** Is there anything to check platform numbers against: GA4, a CRM export or finance data?
- **Exposure estimate.** GA4 `tech` with dimensions `browser` and `operatingSystem`, metrics `sessions` and `keyEvents`. Add up the share of sessions on Safari, Firefox or iOS: the visitors most affected by browser and app tracking limits. For Meta, `get_insights_adaccount` with `breakdowns: ["impression_device"]` gives the share of spend on iPhone and iPad.
- **Attribution settings.**
  - Google: the attribution model and click lookback window of each counted action, from the pillar 1 query. Data-driven is the usual choice.
  - Meta: `attribution_setting` per ad set. 7-day click, 1-day view is the usual choice.
  - TikTok: the window is set on the pixel event in Events Manager, and `adgroups_metadata` doesn't fill it in reliably, so ask. 7-day click, 1-day view is the usual choice here too.
  - LinkedIn: `postClickAttributionWindowSize` and `viewThroughAttributionWindowSize` on each conversion rule.

**Rating:**
- **Weak:** Smart Bidding takes more than 50% of spend and pillar 1 is weak.
- **Partial:** Smart Bidding takes more than 50% of spend and pillar 1 is partial, or no second source exists to check against.
- **Strong:** otherwise.

**Which cross-channel approach fits.** Pick one for the measurement framework:

| Approach | Effort | What it tells you | Fits when |
|---|---|---|---|
| Last-touch (each platform's own report) | low | which ad got the last click; overstates retargeting and brand | always there; never on its own |
| Multi-touch (GA4 data-driven attribution) | medium | credit shared across the clicks GA4 can see | GA4 is connected and two or more paid channels spend |
| Incrementality test (holdout or lift study) | medium to high | whether the spend adds sales at all | a channel or campaign big enough to switch off in some regions or for some people |
| Marketing mix modelling | high | each channel's share of sales, from spend and sales over time; no tracking needed | several paid channels with two years or more of weekly history |
| Unified measurement | very high | mix modelling, tests and attribution combined | a data team and many channels |

Name the approaches that fit now and what would unlock the next one.

### Brand demand (reported, not scored)

Brand demand needs no tracking: people who already know you search your name, type your address or come back on their own. Report it next to the pillars. It isn't scored, because no API ties it to a single conversion.

```sql
SELECT campaign.name, campaign.advertising_channel_type, metrics.search_impression_share,
       metrics.search_budget_lost_impression_share, metrics.search_rank_lost_impression_share,
       metrics.impressions, metrics.clicks
FROM campaign
WHERE segments.date DURING LAST_30_DAYS AND campaign.advertising_channel_type = 'SEARCH'
  AND metrics.cost_micros > 0
```
Take the campaigns that target the business's own name; ask if the names don't make it clear. Report three things:
- **Impressions:** how often the brand ad showed. Read with impression share, this tracks how often people search for the business by name.
- **Search impression share:** your share of voice on your own name.
- **What cost the rest:** the two `_lost_` fields say whether budget or ad rank lost the remaining share.

Compare with the previous run when there is one.

| Brand measure | Where to read it | In this skill |
|---|---|---|
| Brand search lift | Search Console brand queries, or Google Trends | not read; ask, or use a Search Console skill if installed |
| Direct traffic | GA4, the Direct channel | not read; ask |
| Brand lift | a platform brand lift survey (Google, Meta) | ask whether one has run |
| Share of voice | search impression share on brand campaigns | read by the query above |
| Social listening | brand mentions in a listening tool | ask |

## Scoring

- Strong scores 2 points, partial 1 and weak 0. An unknown pillar is left out and listed.
- **Readiness = points ÷ (2 × graded pillars) × 100**, rounded to a whole number.
- 75 or above is **ready**, 45 to 74 is **exposed**, and below 45 is **at risk**. Show the math.

## Choosing the moves

Every move comes from a finding. Rank them in this order, skipping any step with nothing to do:

1. **Fix the conversion signal automated bidding learns from.** Applies when Smart Bidding takes more than 50% of spend. It covers a server or upload path (pillar 2) and enhanced matching on browser tags (pillar 1).
2. **Close consent gaps** where consent is required.
3. **Build first-party audiences:** Customer Match, Meta customer lists, and the collection that feeds them.
4. **Shift targeting** away from behavioural spend.
5. **Add a cross-check to measurement:** a second source, a lift test or a holdout.
6. **Housekeeping:** retired or empty lists, unused actions.

Within a step, the move from the weaker pillar goes first, then the one touching more spend. If both are equal, a server or upload path goes before a browser-tag fix. The top 5 are the first five moves in this order.

A move about a setting this run couldn't read starts with checking it: "check whether X is on; turn it on if it's off". Don't assume it is off.

**Timeline.** Put steps 1 and 2 in weeks 1 to 2, steps 3 and 4 in weeks 3 to 4, step 5 in month 2, and step 6 plus the regular refreshes under ongoing.

## Report format

1. **Header:** business (no account ids), platforms connected, date range, currency, readiness score and band.
2. **Scorecard:** one row per pillar, with the result, the key number and one sentence on why.
3. **Current assessment:**
   - **Tracking infrastructure:** one row each for browser tags, Google enhanced conversions (leads and web), offline conversion import, Meta Conversions API, TikTok Events API, LinkedIn Conversions API, consent and server-side tagging. Each row's status is in place, partial, missing, not connected or unknown, plus its priority: **P0** when a top-5 move from steps 1 and 2 fixes the row, **P1** when one from steps 3 to 5 does, **P2** otherwise.
   - **First-party data:** each asset with its size and whether it's being used.
   - **Current impact:**
     - **Estimated attribution exposure:** the browser-tag and app share of counted conversions (pillar 1), plus the Safari, Firefox and iOS share of sessions when GA4 is connected and the iPhone and iPad share of Meta spend when Meta is. The APIs can't show how many conversions were actually lost, so report the exposure and never invent a loss percentage.
     - **Channels most affected:** connected platforms with spend, each with its worst result across pillars 1, 2 and 5, worst first.
     - **Measurement confidence:** **high** when a second source exists and the server-or-upload share is 10% or more; **low** when there's no second source and the share is under 10%; **medium** otherwise.
4. **Top 5 moves:** each with:
   - what to do
   - the evidence (the call and the numbers)
   - the share of spend it touches
   - who does it: "I can do this now" or "do this in <platform or CRM>"
5. **Strategy:**
   - **Tracking roadmap:** phase 1 (weeks 1 to 2) and phase 2 (weeks 3 to 4). Mark each step "developer needed" or "no developer needed", and flag a needed developer the user hasn't confirmed. When a Conversions API or Events API is part of it, give the route, the events to send, the shared event id and the match keys (pillar 2). When no platform that has one is connected, say so in one line.
   - **First-party data plan:**
     - **Collection:** how to collect more first-party data, with consent, as one row each for email capture rate, account creation rate and consent opt-in rate: the current rate, the target and the method. No call in this skill reads these rates, so the current rate comes from the user; write "ask" when they haven't given it. Set the target with the user once the current rate is known, and never invent either number.
     - **Audience activation plan:** one row per segment from pillar 4, with its size (or "ask"), the platform and the use.
     - **Lookalike strategy:** one row per connected platform, from pillar 4.
   - **Campaign adaptation:** a before-and-after table for targeting.
   - **Platform recommendations:** one block per connected platform with spend, built from its findings:
     - campaign type
     - targeting
     - bidding and attribution window
     - server path (Conversions API, enhanced conversions, offline import or Events API)
     - creative: with broad or automated audiences the creative does the targeting, so vary the angle and the offer rather than the audience

     A platform that isn't connected gets one line saying so.
   - **Measurement framework:** the cross-channel approach that fits (pillar 6), which source to read how often, and which metrics to track:
     - platform reporting, daily or weekly
     - server or upload conversions, weekly
     - blended cost per acquisition from finance data, weekly
     - an incrementality or holdout test, quarterly
     - marketing mix modelling, yearly, once several paid channels have a long history; say "not yet" when they don't
   - **Brand demand:** the brand campaign numbers from the brand section, and every brand measure from its table to watch, each marked read or ask. Every one marked ask also goes under unknowns.
   - **Timeline:** built from the rule above.
6. **Unknowns:** what couldn't be read, why, and what would fill the gap.
7. **Go deeper:** the next step for tag-level fixes (the conversion-tracking-auditor skill), consent and tag settings (gtm-container-auditor), Meta audiences (facebook-ads-audience-builder) and measurement (attribution-model-auditor). Skip a step whose platform isn't connected. Write each remaining step in plain words; name the skill when the user has it installed, and when you can't tell, add the name with "if installed".

## Common situations

- **"Meta results fell after iOS changes."** Pillars 1, 2 and 5 on Meta.
  - Check the pixel and ask about the Conversions API: it's usually the biggest single repair.
  - Then consolidate ad sets so each one gathers more conversions.
  - Move from narrow interests to Advantage+ audience.
  - Upload customer lists, value-based where possible.
  - Keep UTM tags on every link, so GA4 sees the clicks Meta can't.
- **"How do I depend less on cookies?"** Read pillar 5's behavioural share first. It is the targeting most at risk.
  - Add a server path (pillar 2).
  - Build customer lists (pillar 4).
  - Try contextual placements: Google topics, placements and content keywords. On programmatic buys, use publisher-direct deals and seller-defined audiences (segments the publisher builds from its own content and readers) instead of third-party cookie segments.
  - Expect retargeting pools to shrink and more conversions to be modelled.
- **"I don't trust my attribution."** Put four numbers side by side every week: platform conversions, server or upload conversions, GA4 conversions, and real revenue or signed deals from the CRM or finance. Treat the server and CRM numbers as closest to the truth. Track cost per acquisition across all channels together, using finance data.
- **"I don't have much first-party data."** Collection comes first:
  - an email offer worth giving an address for
  - exit-intent capture
  - account sign-up incentives
  - quizzes that ask about preferences
  - loyalty perks

  Customer Match needs a list big enough to serve, so start collecting before you need it.
- **"Our iOS app's tracking opt-in is low."** Run the app tracking opt-in mode below.
- **"Should we buy a customer data platform?"** It pays off when you have many data sources (five or more), a large customer base (roughly 100,000 or more), complex segments and someone to run it. With one or two sources and basic audiences, platform-native tools, email-platform segments and scheduled list uploads do the job.

## What the platforms do differently

| Platform | Hit from app tracking limits | Hit from browser and consent limits | How to adapt |
|---|---|---|---|
| Meta | heavy: lost most cross-app tracking | heavy | Conversions API, customer lists, Advantage+ |
| Google Search | light: intent comes from the query and signed-in data | moderate: site tags still need consent | enhanced conversions, offline import, Customer Match |
| Google Display and YouTube | moderate | heavy for remarketing | Customer Match, contextual targeting, optimized targeting |
| TikTok | heavy | heavy | Events API, Smart+ campaigns, customer lists |
| LinkedIn | moderate | moderate | Conversions API, matched audiences, firmographic targeting |
| Programmatic and open-web display | moderate | heavy: third-party cookie segments fade | contextual and publisher-direct buys, seller-defined audiences |
| Email and SMS | none | none | grow the list |

## Fixes this skill can run

Only after the user says yes to the exact change. Show the full payload first and report the result after. Write actions need a Read & Write connection, and an owner, admin or operator can switch them off.

| Fix | Action | Notes |
|---|---|---|
| Create a Customer Match list | `create_user_list` with `name`, `list_type: "CRM_BASED"`, `upload_key_type: "CONTACT_INFO"`, `customer_match_data_source: "FIRST_PARTY"`, `membership_life_span` | Needs `accepted_customer_data_terms` true |
| Fill it | `upload_customer_list` with `user_list_id`, `customer_match_operation: "ADD"`, `members` (email, phone, name, country and postal code; hashed by the tool) and `consent` (`ad_user_data`, `ad_personalization`) | Only people who agreed to marketing. Set `consent` to what they actually agreed to. Never upload a bought list |
| Send closed deals back to Google | `upload_click_conversions` with `conversion_action_id` (an `UPLOAD_CLICKS` action), `upload_type` (`CLICK_ID` with gclid, or `ENHANCED_CONVERSIONS_FOR_LEADS` with email or phone), and `conversions` (`conversion_date_time`, `conversion_value`, `currency_code`, `order_id`) | Use rows from the user's CRM only. Check the result in the upload summary query in pillar 2 |

Pixel, Conversions API, consent banner and Tag Manager changes are out of scope here. Recommend them, and leave the build to the developer or the matching skill.

## App tracking opt-in mode

iOS shows each app's tracking request once per install, as a system alert the app can't change except for one sentence of its own. The share of people who tap Allow decides how much of the app's iOS audience the ad platforms can measure, optimise for and retarget. This mode puts a value on each point of that share from the account's own results, checks the screens around the alert against Apple's rules, redesigns them, and reads the change by app version.

Push notification permission and SKAdNetwork or measurement-partner setup are separate jobs; say so if asked.

### Before you start (this mode)

Ask for these, and work with whatever the user gives:
- **The current opt-in rate and how it is counted:** where the number comes from (the app's own analytics, a measurement partner's dashboard) and what it is divided by.
- **The screens:** a screenshot or the text of any screen shown before the alert, the purpose string (the app's sentence inside the alert, set in `NSUserTrackingUsageDescription`), and the moment the alert appears (first launch, after sign-up, after a first task).
- **iOS and Android results per ad platform** for the same 30 days: spend, clicks and the result the campaigns optimise for (install, sign-up, purchase). Skip this when the platform is connected (below).
- **Version history:** which app version changed the prompt, and when it was released.
- **Where users are.** EU users can get a different alert (see the redesign).

With no numbers and nothing connected, still run the rule check and the redesign, and mark the value and the version read as unknown.

### Read the numbers (when connected)

All three reads are optional upgrades. Check each body with `actions_details` first.

**Meta.** `get_insights_adaccount` with `level: "campaign"`, `date_preset: "last_30d"`, `breakdowns: ["impression_device"]` and `fields` `campaign_name`, `objective`, `spend`, `clicks`, `actions`. Keep app campaigns (objective `OUTCOME_APP_PROMOTION`, or `APP_INSTALLS` on older ones). `iphone` and `ipad` rows are iOS; `android_smartphone` and `android_tablet` rows are Android. The result is the action type the campaigns optimise for, such as `mobile_app_install` or `app_custom_event.fb_mobile_purchase`; ask when it isn't clear.

**Google Ads.** Each app campaign promotes one app in one store, so the store tells you the operating system.

```sql
SELECT campaign.name, campaign.advertising_channel_sub_type,
       campaign.app_campaign_setting.app_store, campaign.app_campaign_setting.app_id,
       metrics.cost_micros, metrics.clicks, metrics.conversions
FROM campaign
WHERE campaign.advertising_channel_type = 'MULTI_CHANNEL'
  AND segments.date DURING LAST_30_DAYS AND metrics.cost_micros > 0
```
`APPLE_APP_STORE` is iOS and `GOOGLE_APP_STORE` is Android. Read Meta and Google separately; their iOS measurement works differently, so never pool them.

**GA4 (the app's data stream).** GA4 doesn't record the tracking answer on its own. If the app logs its own events for it (ask for the names, for example one when the alert shows and one per answer), run `get_report` with `dimensions` `platform`, `appVersion` and `eventName`, `metrics` `totalUsers`, and dates that cover the versions to compare. The action takes no filter, so keep the rows with those event names and `platform` iOS yourself. Without such events, the version read uses the user's own numbers.

### The opt-in rate

- **Opt-in rate = people who chose Allow ÷ people who answered the alert.**
- People who switched off "Allow Apps to Request to Track" in Settings never see the alert; the app gets a no without asking. Report their share apart when the data splits it out, and keep them out of the rate: no screen reaches them.
- A rate over all installs or all users is lower than this one. Say which one the user gave, and never compare the two kinds.

### What one point of opt-in is worth

Work per ad platform, on the same 30 days, iOS against Android:

1. **Results per click** = results ÷ clicks, for each. The platform counts clicks whatever the person chose, so clicks are a fair base.
2. **Ratio r** = iOS results per click ÷ Android results per click.
3. **Share still seen.** Treat Android as fully measured, and an iOS person who allowed tracking as measured like an Android one. Then r = o + (1 - o) × m, where o is the opt-in rate and m is the share of results from people who said no that the platform still sees through modelling and aggregated reports. So **m = (r - o) ÷ (1 - o)**, kept between 0 and 1.
4. **Extra measured iOS results per point** = iOS clicks × Android results per click × (1 - m) ÷ 100.
5. **Measured iOS cost per result** now, and at 5 and 10 more points: iOS spend ÷ (iOS results + points × extra results per point).
6. **Money value per point** = extra results per point × the Android cost per result (or the user's target cost per result when given): what the platform would charge for those results where it can see them. This is value for measurement and bidding, not new sales. The people already convert; the platform sees more of them and learns from them.
7. **Targeting value per point.** iOS audiences built from in-app events (retargeting lists, lookalike seeds) hold mostly people who allowed tracking, so each extra point grows them by about 100 ÷ (opt-in rate in percent) percent. At a 25% opt-in, one point adds about 4%.

Edge cases:
- **r is 1 or more:** iOS reports as fully as Android on this platform, so there is no measurement gap to recover there; only the targeting value remains. Say so.
- **r is below o:** the gap is bigger than missing permission explains, so part of it is real (iOS people convert less, or the iOS store page or sign-up flow is weaker). Set m to 0, call the figure a ceiling, and suggest checking the iOS flow.
- **Fewer than 30 results on either side:** too few to read. Show the numbers and mark t

…(truncated)
