Google Analytics Message

I see a weird code on the source code of my website, apparently being added by CloudFlare. Here is the code:

Any idea?

<script data-cfasync="false" src="[/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js](https://www.XXXXXX.com/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js)"></script><script>
jQuery(function() {
var gaProperty = '';
var disableStr = 'ga-disable-' + gaProperty;
if (document.cookie.indexOf(disableStr + '=true') > -1) {
window[disableStr] = true;
jQuery('#analytics_opt_out_link').text("You have opted out of Google Analytics tracking");
}
});
function analytics_opt_out() {
var gaProperty = '';
var disableStr = 'ga-disable-' + gaProperty;
document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStr] = true;
jQuery('#analytics_opt_out_link').text("You have opted out of Google Analytics tracking");
}
</script>

Ah, there it is.

That’s Email Obfuscation. That’s set in the Scrape Shield section of the Cloudflare Dashboard.
(that’s just the first Script)

I’m not sure what would have added the second part. Have you added some sort of Google Analytics code to your site somewhere?

Thank you. It seems another plugin is adding it to the pages.

1 Like

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