# How to clear goals count?

**URL:** <https://community.piwik.pro/t/how-to-clear-goals-count/4202>\
**Category:** Reports and working with data\
**Created:** [July 15, 2024, 7:09am UTC](https://community.piwik.pro/t/how-to-clear-goals-count/4202 "2024-07-15T07:09:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MisterCoco](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@MisterCoco](https://community.piwik.pro/u/MisterCoco)\
**Post date:** [July 15, 2024, 7:09am UTC](https://community.piwik.pro/t/how-to-clear-goals-count/4202/1 "2024-07-15T07:09:32Z")

</div>

Hey,  
i set up goal wrongly. After deleting goal, counter doesnt changes. How can i clear that counter?  
Thx

---

<div class="post-metadata">

**Author:** ![asinior](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/asinior/32/1905_2.png) [@asinior](https://community.piwik.pro/u/asinior)\
**Post date:** [July 15, 2024, 8:28am UTC](https://community.piwik.pro/t/how-to-clear-goals-count/4202/2 "2024-07-15T08:28:01Z")

</div>

Hi @MisterCoco,  
Welcome to the community!

This is probably due to the fact that the data that has already been gathered in the Analytics cannot be deleted and that might be the reason you are still seeing some results in your historical reports for this particular goal.  
What is the counter that you are referring to?

---

<div class="post-metadata">

**Author:** ![MisterCoco](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@MisterCoco](https://community.piwik.pro/u/MisterCoco)\
**Post date:** [July 15, 2024, 10:48am UTC](https://community.piwik.pro/t/how-to-clear-goals-count/4202/3 "2024-07-15T10:48:00Z")

</div>

Dear Asinior, thank you for reply.  
I had two goals: purchases and registrations. I noticed that registration goals was wrongly set up, i decided to delete it. But wrongly counted goals are still shown on conversions counter in the main dashboard.  
Best Regards

---

<div class="post-metadata">

**Author:** ![asinior](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/asinior/32/1905_2.png) [@asinior](https://community.piwik.pro/u/asinior)\
**Post date:** [July 15, 2024, 11:21am UTC](https://community.piwik.pro/t/how-to-clear-goals-count/4202/4 "2024-07-15T11:21:03Z")

</div>

The numbers for these particular goals will not be removed once the data for them was registered in the Analytics, however, the data for the goals that has once been deleted should not be aggregated in the Analytics reports after their deletion.  
Is the data for the goal still being accumulated in the Analytics after you deleted it?

If the data is only shown for a specific period of time in the past, then please pick a date range that starts from the date after the goal deletion.

---

<div class="post-metadata">

**Author:** ![MisterCoco](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@MisterCoco](https://community.piwik.pro/u/MisterCoco)\
**Post date:** [July 16, 2024, 7:07am UTC](https://community.piwik.pro/t/how-to-clear-goals-count/4202/5 "2024-07-16T07:07:13Z")

</div>

No, it is not being accumulated. This solution doesnt satisfy my fully but i guess thats all we can do. You can close the thread.

---

<div class="post-metadata">

**Author:** ![asinior](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/asinior/32/1905_2.png) [@asinior](https://community.piwik.pro/u/asinior)\
**Post date:** [July 16, 2024, 7:13am UTC](https://community.piwik.pro/t/how-to-clear-goals-count/4202/6 "2024-07-16T07:13:56Z")

</div>

As a matter of fact, apart from choosing a different date range, there is also one solution that I would see being applied here.  
You could always add a condition that will prevent the data from the deleted goal to be added to your goal conversion counter just as in the following example:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/5/5a30be4c872b23368bc75d4574dd8efe98a97870.png)

---

<div class="post-metadata">

**Author:** ![MisterCoco](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@MisterCoco](https://community.piwik.pro/u/MisterCoco)\
**Post date:** [July 16, 2024, 7:44am UTC](https://community.piwik.pro/t/how-to-clear-goals-count/4202/7 "2024-07-16T07:44:44Z")

</div>

Yeah, thats a better option. Thanks

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/1X/db7013c4fd6a24443b339309db52f14995207737.png) [@system](https://community.piwik.pro/u/system)\
**Post date:** [July 30, 2024, 7:45am UTC](https://community.piwik.pro/t/how-to-clear-goals-count/4202/8 "2024-07-30T07:45:42Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
