# Resetting stats in campaign

**URL:** <https://forum.mautic.org/t/resetting-stats-in-campaign/35709>\
**Category:** Ideas and Feature Requests\
**Tags:** campaigns\
**Created:** [May 22, 2025, 12:58pm UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709 "2025-05-22T12:58:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccamusso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ccamusso/32/14033_2.png) [@ccamusso](https://forum.mautic.org/u/ccamusso)\
**Post date:** [May 22, 2025, 12:58pm UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/1 "2025-05-22T12:58:24Z")

</div>

My idea is:

It would be very useful to have a button to reset the email open statistics for a campaign.

During the lifecycle of a campaign, the need to reset statistics often arises:

- To remove the statistics generated during initial testing
- To modify the campaign and clear the stats related to the previous version

Currently, the only options are to clone the campaign or manually delete records from the email\_stats table.  
A button would be much more convenient and safer.

---

<div class="post-metadata">

**Author:** ![andrew\_c3](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrew_c3/32/13547_2.png) [@andrew\_c3](https://forum.mautic.org/u/andrew_c3)\
**Post date:** [May 22, 2025, 1:28pm UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/2 "2025-05-22T13:28:24Z")

</div>

Hello [ccamusso](https://forum.mautic.org/u/ccamusso),

This is a great idea.

I would also find such a button very useful for resetting campaign stats generated during the testing phase before sending emails out to contact leads.

Thanks.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 22, 2025, 2:52pm UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/3 "2025-05-22T14:52:00Z")

</div>

Plz note, that campaigns include other actions as well, not only emails.

---

<div class="post-metadata">

**Author:** ![ccamusso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ccamusso/32/14033_2.png) [@ccamusso](https://forum.mautic.org/u/ccamusso)\
**Post date:** [May 22, 2025, 3:39pm UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/4 "2025-05-22T15:39:19Z")

</div>

Correct, I suggest implementing a button to reset all campaign statistics.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 23, 2025, 7:00am UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/5 "2025-05-23T07:00:34Z")

</div>

That might lead to contacts restarting campaigns.  
In my opinion it is a lot better option to hook up Metabase and have custom querries to see exactly what you want.

---

<div class="post-metadata">

**Author:** ![ccamusso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ccamusso/32/14033_2.png) [@ccamusso](https://forum.mautic.org/u/ccamusso)\
**Post date:** [May 23, 2025, 7:23am UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/6 "2025-05-23T07:23:02Z")

</div>

It’s true that an external service can be used.

But the problem lies within Mautic.

If Mautic allows the structure of a campaign to be modified but does not allow the statistical data to be reset, it facilitates a data consistency issue.

After the modification, the statistical data no longer reflects the latest update of the campaign, and this is a problem regardless of whether the data is analyzed with an external tool.

Adding a reset button does not eliminate the possibility of analyzing the data with an external tool. It’s an additional (easy) feature that helps maintain data consistency in Mautic.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 23, 2025, 8:58am UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/7 "2025-05-23T08:58:13Z")

</div>

So what data you need?

Probably

1. Actions
2. Decisions
3. Conditions

for each campaign.

You can capture all in Mautic’s report system, or with an external tool.  
Each of the items above have a date attached, so you can filter for dates, and you have your time based statistics.

---

<div class="post-metadata">

**Author:** ![ccamusso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ccamusso/32/14033_2.png) [@ccamusso](https://forum.mautic.org/u/ccamusso)\
**Post date:** [May 23, 2025, 9:28am UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/8 "2025-05-23T09:28:00Z")

</div>

It’s not important to understand which data I need.

My proposal is to add a button that allows to reset the statistical data. That’s it — it doesn’t matter which data I need, I just want to reset them.

There are several use cases, for example:

- Reset all statistical data generated after testing and before launching the campaign in production
- Reset the statistical data if I make significant changes to the campaign

For me: it doesn’t make sense to be able to modify a campaign—even significantly—and not have the option to reset the statistical data. It’s a matter of data consistency.

---

<div class="post-metadata">

**Author:** ![andrew\_c3](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrew_c3/32/13547_2.png) [@andrew\_c3](https://forum.mautic.org/u/andrew_c3)\
**Post date:** [May 23, 2025, 12:44pm UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/9 "2025-05-23T12:44:26Z")

</div>

Hello [ccamusso](https://forum.mautic.org/u/ccamusso),

Yes I totally agree that this feature is indeed required. You have may full support and backing.

What do you think about creating a menu named “Maintenance” were similar functionality can be placed securely like other systems or platforms. One named Marketplace has been added in the latest edition so it must be a trivial task ?

I hope you dont mind me saying that I’ve only been posting on this forum for a short while but in my short experience here the more experienced Mautic experts seem to try and dis-wade you that your idea is unworthy or unnecessary and you should just use Mautic as written. I dislike that practice.

Thanks.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 23, 2025, 12:54pm UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/10 "2025-05-23T12:54:13Z")

</div>

If you mean me, I’m terribly sorry, didn’t want to dis-wade anyone’s idea.  
Your idea is not unworthy. I simply wanted to draw your attention to the possible side effects.  
I’m sure the plugin will be great for your business needs.

---

<div class="post-metadata">

**Author:** ![andrew\_c3](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrew_c3/32/13547_2.png) [@andrew\_c3](https://forum.mautic.org/u/andrew_c3)\
**Post date:** [May 23, 2025, 1:33pm UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/11 "2025-05-23T13:33:57Z")

</div>

Hello,

Sorry, typo (dis-wade) yes I mean’t dissuade.

Yes a plugin is a really good idea. Why didn’t I think of that myself ?

I could write that in “C” quite quickly and it would be callable via a custom console command in ssh term. Anyone knows which tables store the stats to be cleared ?

But if you wanted it in php that would take me a while longer sadly.

Thanks.

---

<div class="post-metadata">

**Author:** ![ccamusso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ccamusso/32/14033_2.png) [@ccamusso](https://forum.mautic.org/u/ccamusso)\
**Post date:** [May 23, 2025, 1:40pm UTC](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/12 "2025-05-23T13:40:17Z")

</div>

Hi [joeyk](https://forum.mautic.org/t/resetting-stats-in-campaign/35709/10)  
Thank you very much for your message and for the open exchange of ideas — I truly appreciate it.

No offense taken at all, and I’m actually grateful for your input. Perhaps there was just a slight misunderstanding: I never felt your message was meant to discourage or dismiss anything.

I’m sure we both share the goal of finding the best solution, and I value the dialogue that leads us there.

Thanks again!
