# Zero Click Avg and Open Avg In Reports And Contact Records - But Fine In Email Sent View

**URL:** https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640
**Category:** Product Support
**Created:** [August 14, 2020, 4:33am UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640 "2020-08-14T04:33:01Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 14, 2020, 4:33am UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/1 "2020-08-14T04:33:02Z")

</div>

**Your software**  
My Mautic version is: v2.16.3  
My PHP version is:PHP Version 7.0.33

**Your problem**  
My problem is: The reports are showing a 0 for average click rate and average open rate for all contacts even though I sent 8 emails having at least a 25% open rate and lots showing urls clicked in the email sent view.

These errors are showing in the log:  
Today’s Mautic error log is empty. Check server error log for error messages Mautic didn’t have a chance to catch.

Steps I have tried to fix the problem:  
None I don’t know where to start. Can someone reply with steps I should take to debug? I could probably figure it out but a push in the right direction would be appreciated. I can not find any recent bugs on Github about this. In the documentation I don’t see a page about debugging click and open rate issues. Maybe I missed a cron is all I can think of?

Let me know?

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [August 14, 2020, 8:16am UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/2 "2020-08-14T08:16:00Z")

</div>

Can you share your report configuration please? I know we did have some bug fixes in 3.x that addressed issues with reports but it would be good to double check the configuration!

---

<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: [August 15, 2020, 5:03pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/3 "2020-08-15T17:03:07Z")

</div>

Hi, plz also check if there the tracking gif is indeed in the emails you sent.  
Thx,  
J

---

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 15, 2020, 8:50pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/4 "2020-08-15T20:50:26Z")

</div>

Thanks for the reply! Here is my report settings:

![](https://www.awesomescreenshot.com/favicon.ico) [Edit Report - Highly Engadged | Mautic.png](https://www.awesomescreenshot.com/image/5171804/28cf30fa8da2d7d8b1f223a1e5726305)

![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/d35565a36f1dcd57eeb38857001459acfe926e97.png)

### [Edit Report - Highly Engadged | Mautic.png](https://www.awesomescreenshot.com/image/5171804/28cf30fa8da2d7d8b1f223a1e5726305)

Awesome Screenshot

Its not just reports. I tried to create a segment of highly negates users using click rate and even if I set it to a low value it comes up with nothing even with a 20%+ open rate and many clicks in my last 8 newsletters.

---

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 15, 2020, 8:55pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/5 "2020-08-15T20:55:52Z")

</div>

So I viewed the original email in GMAIL and I DO NOT see the tracking gif. I searched for “.gif” and nothing and then “src=” and checked every src and nothing. But why would I have opens showing for my campaign if it wasn’t adding the tracking pixel:

> **[View | HERO 2 JACK | Mautic.png](https://www.awesomescreenshot.com/image/5177506/ea5c944bdc3f96914e15f0f3fb97f234)**
>
> Awesome Screenshot

?

---

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 15, 2020, 8:59pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/6 "2020-08-15T20:59:08Z")

</div>

So this time I checked the same email in my THUNDERBIRD client and this time I DID see the gif:

> \<img height=3D"1" width=3D"1" src=3D"[https://readers.rebeccagrace=](https://readers.rebeccagrace=)  
> [allen.com/email/xxx.gif](http://allen.com/email/xxx.gif)" alt=3D"" /\>  
> (changed to xxx)

Therefor I assume GMAIL strips it out.

So yes I do have the tracking pixel in the email. Thanks for the suggestion.

---

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 15, 2020, 9:19pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/7 "2020-08-15T21:19:48Z")

</div>

Looks like the database says 0 for avg click/open rates too yet the leads table shows opens. Not sure where to check for individual click logs? See this:

> **[Untitled: Aug 15, 2020 5:13 PM.webm (video)](https://drive.google.com/file/d/1hCqOAwfMGcfl4PEh-fzFaHH8joQS65J5/view)**
>
> Google Drive file.

Does anyone know where lead clicks or lead opens are recorded in the db? I checked the lead event log and did a group by to see the different type of object and actions and this is what I have:

> **[web1.weismann.us / localhost / rebecca\_readers / lead\_event\_log | phpMyAdmin...](https://www.awesomescreenshot.com/image/5177592/b2c54c6eb10a0bde42cffbb30e796e5e)**
>
> Awesome Screenshot

---

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 15, 2020, 11:56pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/8 "2020-08-15T23:56:53Z")

</div>

Ok so is this where I would need to debug:

> <https://github.com/mautic/mautic/blob/8cb3c509a09224fe9c71abe84faebdb69c11c934/app/bundles/PageBundle/Entity/HitRepository.php#L435>

and

> <https://github.com/mautic/mautic/blob/8cb3c509a09224fe9c71abe84faebdb69c11c934/app/bundles/PageBundle/Entity/HitRepository.php#L471>

---

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 16, 2020, 8:42am UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/9 "2020-08-16T08:42:54Z")

</div>

Ok so I spent some time on this. This is my findings:

This file is only for page hits regarding MAUTIC page hits:

> <https://github.com/mautic/mautic/blob/8cb3c509a09224fe9c71abe84faebdb69c11c934/app/bundles/PageBundle/Entity/HitRepository.php#L435>

This file is for redirect type hits:

> <https://github.com/mautic/mautic/blob/c3c42e03e0d8b4cfde99928ea0793ca32648dbfe/app/bundles/PageBundle/Entity/RedirectRepository.php>

From what I can tell Mautic does not update the average clicks when it is a redirect type action?

Is this right?

I’m not sure why because its a click and its recorded in the contact log. Also we can even figure out dwell time if this redirect lands on a site with the javascript tracking snippet.

Am I way off here or is this right?

---

<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: [August 16, 2020, 7:08pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/10 "2020-08-16T19:08:33Z")

</div>

Hi, super weird, there is no way Gmail supposed to strip it out.  
They never do - however I also experience a bug with 2.16.2, my tracking gif was removed, and I could barely hacking it back again.

---

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 16, 2020, 8:31pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/11 "2020-08-16T20:31:11Z")

</div>

Sorry I was incorrect. I checked again and I did find it in Gmail this time. Maybe the one I checked was a test? Anyway also when I opened it in Gmail it tracked my open as well but did not change my avg open rate.

---

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 17, 2020, 2:06pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/12 "2020-08-17T14:06:40Z")

</div>

fyi i posted a bug

> <https://github.com/mautic/mautic/issues/9095>
>
> Bug Description
> Average Click Rate and Average Open Rate Not Recorded
> I can only say this is happening for redirect type links. For...

---

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 17, 2020, 10:19pm UTC](https://forum.mautic.org/t/zero-click-avg-and-open-avg-in-reports-and-contact-records-but-fine-in-email-sent-view/15640/13 "2020-08-17T22:19:30Z")

</div>

I feel really dumb! These are NOT mautic fields. They are custom fields my client added.
