# Is Historical Data Retained When You Delete A Goal?

**URL:** <https://community.piwik.pro/t/is-historical-data-retained-when-you-delete-a-goal/3926>\
**Category:** Data collection and tags\
**Created:** [April 23, 2024, 9:01pm UTC](https://community.piwik.pro/t/is-historical-data-retained-when-you-delete-a-goal/3926 "2024-04-23T21:01:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![indow\_windows](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@indow\_windows](https://community.piwik.pro/u/indow_windows)\
**Post date:** [April 23, 2024, 9:01pm UTC](https://community.piwik.pro/t/is-historical-data-retained-when-you-delete-a-goal/3926/1 "2024-04-23T21:01:06Z")

</div>

I am trying to confirm that I won’t lose any historical goal conversion data if I delete an existing goal.

We recently set up an API goal and are currently double counting the event from the former page view goal.

Logically, deleting a goal wouldn’t remove the historical data from the account, but I want to be 100% certain about this before taking action to remove the duplicate.

TIA

---

<div class="post-metadata">

**Author:** ![Jarek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jarek/32/4408_2.png) [@Jarek](https://community.piwik.pro/u/Jarek)\
**Post date:** [April 24, 2024, 10:12am UTC](https://community.piwik.pro/t/is-historical-data-retained-when-you-delete-a-goal/3926/2 "2024-04-24T10:12:06Z")

</div>

When the goal is deleted the data is not affected. In case of data exports (UI or API) you can see non-existing goal uuid instead of the name.
