# Tracking pixel 403 Fixed by Disable Cloudflare Email Address Obfuscation

**URL:** https://forum.mautic.org/t/tracking-pixel-403-fixed-by-disable-cloudflare-email-address-obfuscation/33188
**Category:** Product Support
**Created:** [August 21, 2024, 2:56am UTC](https://forum.mautic.org/t/tracking-pixel-403-fixed-by-disable-cloudflare-email-address-obfuscation/33188 "2024-08-21T02:56:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![weasam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/weasam/32/679_2.png) [@weasam](https://forum.mautic.org/u/weasam)
#### Post date: [August 21, 2024, 2:56am UTC](https://forum.mautic.org/t/tracking-pixel-403-fixed-by-disable-cloudflare-email-address-obfuscation/33188/1 "2024-08-21T02:56:45Z")

</div>

Note of for fix tracking pixel get error 403  
Hope this could help others get some ideas what is happing in your instance

**Your software**  
My Mautic version is: Mautic 5.1.0  
My PHP version is: 8.1  
My Database type and version is: mariadb-10

**Your problem**  
My problem is:  
Email could not update the read count in Mautic.  
These errors are showing in the log:  
Web Browser Dev Tool: State Code: 403 on [https://mautic.domain.com/email/66c441f0c70a3473034906.gif](https://mautic.domain.com/email/66c441f0c70a3473034906.gif)  
This is a tracking pixel  
Steps I have tried to fix the problem:  
I watch over the email by source code,  
`<img height="1" width="1" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" /><script data-cfasync="false" src="[/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js](https://mautic.domain.com/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js)"></script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"rayId":"8b6713f07a727ba4","version":"2024.8.0","r":1,"token":"aec365b654fc4f77b4dfca95ec2567fa","serverTiming":{"name":{"cfL4":true}}}' crossorigin="anonymous"></script>`

Notice that has email-decode.min.js, this cloudflare feature will block Mautic tracking pixel access, and would slow user open email, our email is a HTML page, Cloudflare “Email Address Obfuscation” featured protect email scrape by robot which the HTML page will always load the Obfuscation script first.

Here How I get rid of Error 403 for Mautic Tracking pixel, hope could help others and help myself when this happen in my future installation

**Figure 1** Turn off Email Address Obfuscation

1. Step 1 : Login to Cloudflare Account and select the domain you hosted Mautic
2. Step 2: Find the Scrape Shield on the left panel
3. Step 3: Turn Off “Email Address Obfuscation”

**Figure 2** Use Cloudflare Page rules

> I use this method, because this method only effect on Mautic host, meanwhile cloudflare could still protecting my other host in the same domain.

Cloudflare \> [mydomain.com](http://mydomain.com) \> Rules \> Configuration Rules \> +Create Rule \>  
Rule name (required): Settings for Mautic  
When incoming requests match…  
Hostname \> Equal to \> “[mautic.mydomain.com](http://mautic.mydomain.com)”  
_(http.host eq “[mautic.mydomain.com](http://mautic.mydomain.com)”)_  
Then the settings are…  
Click +Add **Email Obfuscation** (optional) leave it off  
Click +Add **Hotlink Protection** (optional) leave it off, this could solve some email client could not open image within Email

[Save and Deploy]

> Blockquote
