Summary
We are currently working on end to end testing Apple’s Private Click Measurement. PCM is divided into 3 steps, where the 3rd step involves Safari storing the conversion and sending it to our endpoint https://www.example.com/.well-known/private-click-measurement/report-attribution/ after a random delay. We have verified that steps 1 and 2 are working E2E, but when we get to step 3, we don’t observe Safari making the request to our endpoint.
Detail
Using Safari Technology Preview, we can observe the network requests from Mobile Safari. To test PCM, we turned on “Private Click Measurement Debug Mode” and opened a test Ad on the mobile device. We then triggered a conversion, and observed the output in the network/console tabs. Here is the output on the network tab:
And here is the output from the console:
Note that we see “[Private Click Measurement] Triggering Event Accepted,” in the console, which seemed to suggest that the Step 2 Data was accepted and that Safari should send the conversion to step 3. Since PCM Debug Mode is on, we should see the request to our Step 3 endpoint in 10 seconds. However, our sniffer(Charles) didn't detect any traffic to the attribution URL(https://www.example.com/.well-known/private-click-measurement/report-attribution/).
The above is reproduced consistently.
Any idea how can we debug further?