Hi Ateya,
Sorry, but that’s not possible. It’s a ‘feature’ of the Stealth Mode to also capture Enhanced Commerce actions.
If you don’t want this, you should disable stealth mode. I’m sorry, there’s no way around that.
Hi Daan
i’m not use Stealth Mode
this is my setting
i use now analytify
https://image.prntscr.com/image/5kl95zFhTdiQWa_cInqyhw.jpg
and now i get many of google files not cached in my website
see
https://image.prntscr.com/image/s5MY9uuqQiC1rSq92pxt4Q.jpg
how can i solve this problems ?
Thanks
Hi Ateya,
All these files are caused by your settings in your Google Analytics dashboard:
1. Ec.js is because you have Enhanced Commerce enabled,
2. Conversion.js is added because Google AdWords Conversion is enabled.
If these things are important for you, leave them enabled. If not, then disable them from your Google Analytics dashboard. To disable all these services you can use this guide I wrote a while back: https://daan.dev/wordpress/analytics-gdpr-anonymize-ip-cookie-notice/
Be advised that this will disable any type of data collection by Google Analytics. It is fully GDPR compliant, but doesn’t allow any type of remarketing, because no personal data is collected.
Thanks Daan
why this redirect ?
https://image.prntscr.com/image/55EkS5ILScihitjmF5XB9Q.jpg
-
This reply was modified 6 years, 4 months ago by
ateya3d.
-
This reply was modified 6 years, 4 months ago by
ateya3d.
-
This reply was modified 6 years, 4 months ago by
ateya3d.
Hello Daan
i get this error in my log
[25-Jan-2020 22:08:14 UTC] PHP Warning: Use of undefined constant DOING_AJAX – assumed ‘DOING_AJAX’ (this will throw an Error in a future version of PHP) in /****/****/public_html/wp-content/plugins/host-analyticsjs-local/includes/admin/cron/class-script.php on line 41
my PHP 7.2
i’m waiting your reply Daan
[25-Jan-2020 22:08:14 UTC] PHP Warning: Use of undefined constant DOING_AJAX – assumed ‘DOING_AJAX’ (this will throw an Error in a future version of PHP) in /****/****/public_html/wp-content/plugins/host-analyticsjs-local/includes/admin/cron/class-script.php on line 41
and this redirect chain , why not serve without redirect
https://www.cgway.net/wp-json/caos-analytics/v1/proxy/plugins/ua/ec.js
https://www.cgway.net/wp-content/cache/caos-analytics/plugins/ua/ec.js
Hi Ateya,
Sorry for the delay.
The error will be fixed in the next release. Will be released this weekend!
As for the redirect, that’s due to Stealth Mode. If you’re using Enhanced Commerce (ec.js) features in Google Analytics, these files need to be requested from the server as if they were requested by a browser. The only way to do that I could think of, is through a redirect.
If you don’t want this, disable Stealth Mode, save changes and trigger a manual update.