Skip to content

vtwebguy/webkit-privacy-attribution

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seeing WebKit Privacy Preserving Ad Click Attribution in Action

You will need:

  • brew install nginx
  • append the contents of add-to-hosts to your /ets/hosts file
  • Install Safari Technology Preview version 82 or higher
  • Generate certificates for nginx SSL termination (see below)

To test the attribution reporting in action:

  • Run ./run.sh to start nginx
  • In another terminal window, run log stream -info | grep AdClickAttribution to tail debug log events for ad click attribution.
  • Open Safari Technology Preview
    • Go to "Experimental Features" in the "Develop" menu and enable both Ad Click Attribution features.
  • Visit https://search.example/ and accept the certificate.
  • Click the ad link to navigate to https://shop.example/ and accept the certificate.
  • Click the "Add to Cart" button.

For more help troubleshooting, see the official WebKit docs.

Generating SSL certifications

Run this command in the root of the git repository:

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout nginx.key -out nginx.crt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 91.2%
  • Shell 8.8%