---
title: "Link Click Analytics and Privacy"
description: "WebKit keeps the anchor Ping attribute and the Beacon API enabled."
url: "https://swe.quest/articles/link-click-analytics-and-privacy-ebc2604ab6e0de6c"
canonical: "https://webkit.org/blog/8821/link-click-analytics-and-privacy/"
source: "WebKit"
published: "2019-04-11"
difficulty: "medium"
kind: "Opinion"
reading_minutes: 5
tags: ["privacy","browsers","web-performance"]
---

# Link Click Analytics and Privacy

A post on [WebKit](https://swe.quest/sources/webkit.md), published 2019-04-11, 5 min read, Opinion. Original: [https://webkit.org/blog/8821/link-click-analytics-and-privacy/](https://webkit.org/blog/8821/link-click-analytics-and-privacy/)

## Summary

WebKit keeps the anchor Ping attribute and the Beacon API enabled. Disabling them would not stop link click analytics. It would push sites toward techniques that hurt users: synchronous XHR on unload, async XHR/Fetch with 100–350 ms navigation delays, and first-party bounce tracking. Intelligent Tracking Prevention instead blocks cookies and downgrades the referrer to origin-only for all these techniques when the request goes to a classified cross-site tracker, and it cleans up bounce trackers' website data. Users who want full blocking can install Content Blockers, and the hidden User Defaults flag that disabled Ping was an internal QA mechanism that was never meant to be a user setting.

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)
- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [Web performance](https://swe.quest/tags/web-performance.md) (Web & mobile)

## Prerequisites

- HTTP cookies and referrer
- Browser JavaScript events ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

WebKit, Safari, Intelligent Tracking Prevention, Beacon API, Ping attribute, XMLHttpRequest, Content Blockers

## Related posts

- [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.
- [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.
- [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.
- [In March, we see Firefox 87](https://swe.quest/articles/in-march-we-see-firefox-87-89133003c9c65b13.md): Mozilla Hacks · 2021-03-23 · Medium · 4 min read · Browsers, Privacy, Developer tools, Accessibility
  Firefox 87 enables the beforeinput event and InputEvent.getTargetRanges() by default, letting web apps inspect and cancel text edits in inputs and contenteditable elements before the DOM changes, with an example that protects metadata spans inside an editable comment.
- [PCM for In-App Direct Response Advertising](https://swe.quest/articles/pcm-for-in-app-direct-response-advertising-6558a93640c32fa4.md): WebKit · 2021-11-16 · Medium · 5 min read · Privacy, Ads, Mobile, Browsers, Swift
  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.

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)
