image for site

Disable Google Analytics for Zendesk Web Widget

Learn how to disable Google Analytics event reporting for Zendesk Web Widget (Classic) by modifying the analytics setting API.

How do I disable Google Analytics event reporting for the Web Widget (Classic)?

To disable Google Analytics event reporting for the Web Widget (Classic), you need to modify the analytics setting API on your web pages.

Add a script to each webpage with the widget, setting the analytics property to false. Ensure this script is placed before the widget code snippet in the body element. Here's an example of the script:

<script type="text/javascript"> window.zESettings = { analytics: false }; </script>

This will stop the widget from automatically reporting events to Google Analytics.


More related questions

How do I enable Google Analytics event reporting for Zendesk Web Widget (Classic)?

To enable Google Analytics event reporting for the Zendesk Web Widget (Classic), you need to ensure the Google Analytics tag is present on your web page. Once the tag is there, the widget will automatically start reporting events to Google…

How can I view Web Widget (Classic) event data in Google Analytics?

You can view Web Widget (Classic) event data in Google Analytics by accessing the Events section. This allows you to see how users interact with the widget. To do this, sign in to your Google Analytics account and navigate to Behavior > Events >…

What events are tracked by the Zendesk Web Widget (Classic) in Google Analytics?

The Zendesk Web Widget (Classic) tracks a variety of events in Google Analytics, providing insights into user interactions. Some of the tracked events include when a user opens or minimizes the widget, initiates a chat, submits a chat rating, or…

Can I customize Web Widget (Classic) event tracking for third-party analytics?

Yes, you can customize Web Widget (Classic) event tracking for third-party analytics services. This allows you to integrate the widget with other analytics tools beyond Google Analytics. To do this, you can use the Zendesk JavaScript APIs to modify…

How do I add the Zendesk Web Widget (Classic) to my website?

Adding the Zendesk Web Widget (Classic) to your website involves embedding a script on your web pages. This allows users to interact with the widget directly on your site. To add the widget, you need to copy the widget script provided by Zendesk…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites