How to exclude log in user and WP admin backend from google analytic tracking

Dear Be Team,

Please kindly help to exclude my backend activity from google analytic tracking. I'm using the SEO section in the Betheme>Theme Options>SEO and input my google analytic tag in Google Tag ID section.

I do this to avoid using an additional plugin for tracking, but the problem is it keeps sending my backend activity to google analytic. Please see below screenshot:

My website is https://bagustourservice.com for your reference.

Please kindly inform how to exclude my backend activity and log in user stat to Google analytic.

Thank you and looking forward for your response.

Best regards,

Bagus

Comments

  • Hi,

    The code you put in theme options is executed only on the frontend, and robots cannot access your backend with that.

    Please, turn off all of the plugins, refresh your cache, and check if the problem persists.


    Thanks

  • It solved now. I turned on developer connection test through the cloudflare dns server a few days ago and did not turn it off. I thought it was a necessary connection for the tag to work. I just turn it off now and tested for a few moments. It's no longer sending my backend activity but still tracking the frontend side.

    Thank you for your response and have a nice day.

  • I am happy to see that you found the root cause.

    If you have any other questions or problems, feel free to ask.


    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.