image for site

Fixing Contextual Help Refresh Issues in SPAs

Learn how to ensure Zendesk's Contextual Help refreshes correctly in Single Page Applications (SPAs) with manual triggers.

Why doesn't Contextual Help refresh with page navigation?

If you're using a Single Page Application (SPA), the widget may not refresh automatically with page navigation. SPAs typically don't trigger a full page refresh, which is needed for the widget to update.

To address this, you can manually trigger a widget refresh using the zE function or by implementing additional logic to handle navigation changes. If you're still using legacy code, consider updating to the latest version for better support.


More related questions

How do I enable Contextual Help in Zendesk's Web Widget (Classic)?

To enable Contextual Help, ensure you have public help center content and the Web Widget (Classic) installed on your website. Then, in the Admin Center, click the Channels icon, select Classic > Web Widget, and toggle on the Help Center and…

How does Contextual Help determine which articles to suggest?

Contextual Help suggests articles based on the URL of the web page the user is on. It uses the part of the URL after the hostname to search your help center and displays the top three results as suggestions. For example, if a user is on…

Can I customize the articles suggested by Contextual Help?

Yes, you can customize the suggested articles if the default URL-based suggestions aren't useful. Use the SetHelpSuggestions API method to override the search results and specify which articles to display. This allows you to have more control over…

Does Contextual Help search article labels in Zendesk?

Contextual Help does consider article labels when determining suggestions. However, if the URL doesn't include relevant terms, the expected articles may not appear. To ensure specific articles are suggested, you can use the SetHelpSuggestions API…

Why are only three articles suggested by Contextual Help?

Contextual Help in Zendesk's Web Widget (Classic) is designed to show the top three articles based on the URL search. This limitation is in place to keep the suggestions concise and relevant. If users need more information, they can use the search…

Can I specify a specific article to always show in Contextual Help?

Yes, you can specify a particular article to appear in the top suggestions by using the SetHelpSuggestions API in your web widget code. This allows you to ensure that certain key articles are always visible to users, regardless of the URL they are…

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