How to prevent websites from tracking you in Safari on iPhone

It’s no secret that websites track our online activity for varied reasons, such as giving targeted ads or offering a better user experience. But if privacy is your concern, then you can stop websites from tracking you on iOS. By default, Safari already limits third-party cookies on your phone, but you can also control other options, including location access.
Let me tell you more and explain how to prevent websites from tracking you in Safari on iPhone and iPad.
How to stop websites from tracking you in Safari to protect your privacy
Safari boasts a few different privacy and security settings that you can tweak to prevent websites from tracking you. Here’s what to do:
- Go to Settings → Safari.
- Scroll down to Privacy and Security.

Here you will see a few different options that you can toggle on or off as you like:
- Prevent Cross-Site Tracking: This limits third-party cookies and data. It is turned on by default, but you can toggle it off to allow cross-site tracking.
- Block All Cookies: Toggle ON this option to prevent websites from adding cookies to your iPhone. To clear cookies already stored on your iPhone, tap Clear History and Website Data. Do note that some websites need to use cookies to function effectively.
- Fraudulent Website Warning: Keep this toggled on to make Safari show a warning if you’re visiting a suspected phishing or otherwise untrustworthy website.
- Check for Apple Pay: Toggle this ON if you want websites that accept Apple Pay to know that the service is enabled on your device. You can toggle it off to prevent websites from checking if you have Apple Pay.
Prevent websites from tracking your location in Safari
Have you ever been annoyed by pop-ups on websites asking to know your location? There is often a legitimate reason for this, such as wanting to give you the most relevant information based on your area. But it can also be invasive and disrupt your browsing experience. Luckily, you have the option to prevent those pesky pop-ups. Just follow the steps below.
- Go to Settings → Safari.
- Scroll down and tap Location.
- To prevent websites asking to track your location, select Deny.
Note: If you select Allow, it will let websites track your location without asking. If you select Ask, websites will show you a pop-up seeking your permission to track location.
How to view the Safari privacy report on iPhone and iPad
Safari has an in-built Privacy Report that shows you a summary of trackers that have been detected and stopped on the webpage you’re visiting. It also helps you stay safe from malicious websites and keep your browsing activities private from others who use the same device.
To view the Privacy Report → tap the AA icon on the left side of the search field → tap Privacy Report.

So that was the lowdown on how to prevent websites from tracking you or asking for your location. If you have any further questions, let me know in the comments below. You might also like to read my detailed comparison of Safari and Google Chrome to know which is better for your iPhone or iPad.
Frequently Asked Questions
Topics
Written by
Arshmeet KaurA self-professed Geek who loves to explore all things Apple. I thoroughly enjoy discovering new hacks, troubleshooting issues, and finding and reviewing the best products and apps currently available. My expertise also includes curating opinionated and honest editorials. If not this, you might find me surfing the web or listening to audiobooks.
View all posts →More from How-to

How to Turn Off Location on Snapchat (Step-by-Step Guide)
Want to stop sharing your location on Snapchat? This guide explains how Snapchat location sharing works and shows simple ways to turn off your location using Ghost Mode or phone settings. Stay in control of your privacy in just a few steps.

Snapchat Parental Controls: How to Set Up Family Center and Keep Your Teen Safe
Snapchat’s Family Center lets parents monitor their teen’s friend activity and screen time without reading private messages. Here’s how to set it up and what to expect.

How to Block and Unblock Someone on Instagram
Instagram lets you block or unblock someone in seconds. Follow these simple steps to take full control of your privacy and online peace.