Cross-Site Tracking Prevention examples
Cross-Site Tracking Prevention relaxed domains example
The example below allows a learning management system called Example, hosted at “myschool.townshipschools.org,” to give third-party domains access to cookies—all without specifying the names of the third-party domains.
Note: Up to 10 domains can be specified.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>Cross-Site Tracking Prevention Relaxed Domains</string>
<key>PayloadDisplayName</key>
<string>Cross-Site Tracking Prevention Relaxed Domains</string>
<key>PayloadIdentifier</key>
<string>com.apple.domains.ACCDBF25-6565-4DA9-A97A-610D2A7FCF29</string>
<key>PayloadType</key>
<string>com.apple.domains</string>
<key>PayloadUUID</key>
<string>ACCDBF25-0661-4DA9-A97A-610D2A7FCF29</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>CrossSiteTrackingPreventionRelaxedDomains</key>
<array>
<string>townshipschools.org</string>
</array>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Cross-Site Tracking Prevention Relaxed Domains Example</string>
<key>PayloadIdentifier</key>
<string>com.apple.dms.domains.crosssitetracking.apple</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>9D97290A-9E61-4238-94BD-9655421EF59C</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Cross-Site Tracking Prevention relaxed apps example
The example below allows a learning management system app called Example, with a bundle ID of com.example.app
to relax domains specified in the above profile within their native app. Without this additional profile, those domains would be relaxed only within Safari.
Note: Up to 10 apps can be specified.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>Cross-Site Tracking Prevention Relaxed Apps</string>
<key>PayloadDisplayName</key>
<string>Cross-Site Tracking Prevention Relaxed Apps</string>
<key>PayloadIdentifier</key>
<string>com.apple.domains.ACCDBF25-0661-4DA9-A97A-610D2A7FCF20</string>
<key>PayloadType</key>
<string>com.apple.domains</string>
<key>PayloadUUID</key>
<string>ACCDBF25-0661-4DA9-A97A-610D2A7FCF20</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>CrossSiteTrackingPreventionRelaxedApps</key>
<array>
<string>com.example.app</string>
</array>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Cross-Site Tracking Prevention Relaxed Apps Example</string>
<key>PayloadIdentifier</key>
<string>com.apple.dms.domains.crosssitetrackingApps.apple</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>9D97290A-9E61-4238-94BD-9655421EF59D</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Combined example
The example below combines both profiles above and allows specified domains to be relaxed in both Safari and the specified Example app.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>Cross-Site Tracking Prevention Relaxed Domains and Apps</string>
<key>PayloadDisplayName</key>
<string>Cross-Site Tracking Prevention Relaxed Domains and Apps</string>
<key>PayloadIdentifier</key>
<string>com.apple.domains.ACCDBF25-0661-4DA9-A97A-610D2A7FCF20</string>
<key>PayloadType</key>
<string>com.apple.domains</string>
<key>PayloadUUID</key>
<string>ACCDBF25-0661-4DA9-A97A-610D2A7FCF20</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>CrossSiteTrackingPreventionRelaxedApps</key>
<array>
<string>com.example.app</string>
</array>
<key>CrossSiteTrackingPreventionRelaxedDomains</key>
<array>
<string>townshipschools.org</string>
</array>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Cross-Site Tracking Prevention Relaxed Domains and Apps</string>
<key>PayloadIdentifier</key>
<string>com.apple.dms.domains.crosssitetrackingApps.apple</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>9D97290A-9E61-4238-94BD-9655421EF59D</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>