---
title: "PCM for In-App Direct Response Advertising"
description: "Private Click Measurement now supports in-app direct response advertising via a new eventAttribution property on SFSafariViewControllerConfiguration in iOS 15.2 beta, so ad taps can open the merchant page in-app instead of the device browser."
url: "https://swe.quest/articles/pcm-for-in-app-direct-response-advertising-6558a93640c32fa4"
canonical: "https://webkit.org/blog/12042/pcm-for-in-app-direct-response-advertising/"
source: "WebKit"
published: "2021-11-16"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 5
tags: ["privacy","ads","mobile","browsers","swift"]
---

# PCM for In-App Direct Response Advertising

A post on [WebKit](https://swe.quest/sources/webkit.md), published 2021-11-16, 5 min read, Announcement. Original: [https://webkit.org/blog/12042/pcm-for-in-app-direct-response-advertising/](https://webkit.org/blog/12042/pcm-for-in-app-direct-response-advertising/)

## Summary

Private Click Measurement now supports in-app direct response advertising via a new eventAttribution property on SFSafariViewControllerConfiguration in iOS 15.2 beta, so ad taps can open the merchant page in-app instead of the device browser. PCM combines 8 bits of click-source data with 4 bits of destination data into an identifier-free attribution report. In SFSafariViewController, clicks are ephemeral and are stored only if a conversion happens in that same view, which limits click fraud. Attribution is per hosting app, and reports are sent even when the app isn't running.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [Ads](https://swe.quest/tags/ads.md) (Domains)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)
- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [Swift](https://swe.quest/tags/swift.md) (Languages)

## Prerequisites

- iOS UIKit development
- Private Click Measurement basics

## Keywords

Private Click Measurement, SFSafariViewController, UIEventAttribution, WebKit, iOS 15.2, AppTrackingTransparency

## Related posts

- [Private Click Measurement: Conversion Fraud Prevention and Replacement For Tracking Pixels](https://swe.quest/articles/private-click-measurement-conversion-fraud-prevention-and-replacement-for-769973c036d0d7a0.md): WebKit · 2022-04-11 · Medium · 5 min read · Privacy, Ads, Browsers, Cryptography
  Private Click Measurement in iOS/iPadOS 15.4 and macOS Monterey 12.3 adds conversion fraud prevention, letting merchant sites sign unlinkable RSA blind-signature tokens.
- [PCM: Click Fraud Prevention and Attribution Sent to Advertiser](https://swe.quest/articles/pcm-click-fraud-prevention-and-attribution-sent-to-advertiser-5edbf9c4626a94b0.md): WebKit · 2021-07-29 · Medium · 8 min read · Privacy, Browsers, Ads, Cryptography, Threat detection
  Private Click Measurement in Safari 15 (iOS/iPadOS 15, macOS Monterey) gains three updates.
- [Link Click Analytics and Privacy](https://swe.quest/articles/link-click-analytics-and-privacy-ebc2604ab6e0de6c.md): WebKit · 2019-04-11 · Medium · 5 min read · Privacy, Browsers, Web performance
  WebKit keeps the anchor Ping attribute and the Beacon API enabled.
- [Private Browsing 2.0](https://swe.quest/articles/private-browsing-2-0-e10509f44e8abcba.md): WebKit · 2024-07-16 · Medium · 19 min read · Privacy, Browsers, Security
  Safari 17.0–17.5 extends Private Browsing well beyond ephemeral storage, adding link tracking protection that strips known click-level tracking query parameters before navigation and hides URL query strings, fragments and cross-site referrers from third-party scripts.
- [Global Privacy Control (GPC) WebKit API](https://swe.quest/articles/global-privacy-control-gpc-webkit-api-320ef8eb92f93e52.md): WebKit · 2026-11-18 · Medium · 1 min read · Privacy, Browsers, Mobile, Swift
  iOS, iPadOS, visionOS and macOS 27 add a WebKit API that lets apps embedding WKWebView or SwiftUI's WebPage opt navigations into Global Privacy Control, the emerging standard for signalling opt-out of data sharing and cross-context targeted advertising (recognized under California's CCPA).

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
