How to delete Google Analytics

Removing Google Analytics takes three steps: take the code off your site, delete the property, and if you want, the whole account. Save your history first.

Create a free accountFree for up to three sites. No card needed.

Updated November 14, 2026

Step by step

  1. 1. Save your history from Google Analytics.
  2. 2. Start the new tool and compare.
  3. 3. Remove the code and delete the property.
  1. Save your history. Export what you want to keep. Google Analytics can save reports as CSV or PDF. Okidoki can import your history as daily totals, so the old numbers sit next to the new ones.
  2. Start the new tool. Add it a week or two before you remove Google Analytics, so you can compare the numbers.
  3. Remove the code from your site. See the table below for where it usually sits.
  4. Delete the property or the account. Open Admin in Google Analytics, choose the property and Move to trash. After 35 days it's deleted for good. You delete the whole account the same way under Account settings.

Where the code usually sits

PlatformWhereWhat to do
WordPressA plugin, like Site Kit or MonsterInsightsDeactivate and delete the plugin.
Shopify, Wix, SquarespaceA field in the settingsEmpty the field.
Google Tag ManagerA Google tag or Google Analytics tagPause or remove the tag, then publish.
Your own codegtag.js in the page headRemove the script.

Take Google Analytics out of your cookie banner and privacy policy at the same time. If it was the only reason you had a cookie banner, you may not need one any more.

Why the numbers differ

A cookieless tool usually shows more visitors than Google Analytics, because it also counts the people who said no to the cookie banner. That's not an error, it's all of your traffic. Okidoki vs Google Analytics shows the differences.

What happens to my data when I delete Google Analytics?

Google deletes the property’s data 35 days after you move it to the trash. Until then you can restore it. Export what you want to keep before that.

Free tools for this

More guides

Ask your website. Get answers right away.

Free for 3 sites. No credit card, no cookies, no code to touch.

Or look around a live demo first, no account needed →