HAIMDALL doesn't collect statistics about your readers. Instead, you connect the analytics tool you already use, and HAIMDALL adds it to your help site and sends it the events that show how readers use the help site. Your visitor data stays in your own tool. HAIMDALL stores none of it.
Connect a tool
Go to Customer site › Search & analytics. Only admins can see this.
Under Add a tool, choose your tool and enter its ID:
Google tag (Google Analytics 4): your Google tag ID: a Google Analytics measurement ID (
G-XXXXXXXXXX, from Admin › Data streams in Google Analytics) or a Google tag ID (GT-XXXXXXX, from your Google tag's settings).Google Tag Manager: the container ID (
GTM-XXXXXXX).Matomo: the
https://address of your Matomo installation and the site ID.Plausible: your site's domain. Add the script address too if you host Plausible yourself.
Microsoft Clarity: the project ID.
Custom snippet: any other tool's HTML or JavaScript. It runs on every customer page, so only paste code you trust.
The change takes effect straight away. You don't need to publish anything.
You can connect several tools at once. Analytics only loads on the customer help site. It never loads in the editor, on the sign-in page or in Preview.
Consent
In many countries, analytics cookies need the reader's consent first. Choose how your help site handles this:
Show HAIMDALL's cookie banner (the default). Readers see Accept and Reject buttons. Nothing loads, and nothing is sent, until they accept. Their choice is remembered for a year. You can translate the banner's wording in Customer site › Languages › Interface text: the keys start with
consent..I use my own consent tool. HAIMDALL shows no banner and waits for your consent tool to call
window.haimdallConsent(true), orwindow.haimdallConsent(false)if the reader declines.No consent needed. The tools load immediately. Only choose this for cookieless tools such as Plausible, and only if your privacy policy allows it.
With the Google tag or Tag Manager, HAIMDALL also uses Google Consent Mode v2: everything starts as denied and switches to granted when the reader accepts.
Was this article helpful?
Once an analytics tool is connected, every article asks readers Was this article helpful? with a thumbs-up and a thumbs-down button:
On a wide screen it's in the column on the right of the article, under On this page, and stays in view as the reader scrolls.
On narrower screens and phones it's at the end of the article.
A reader answers once: the button they chose is highlighted and they see a short thank-you. Each answer goes to your analytics tool as the help_article_feedback event (see below). HAIMDALL doesn't keep the answers itself, so without a connected tool the buttons don't appear.
Note
Like every event, an answer is only sent once the reader has accepted analytics (unless you chose No consent needed). Answers from readers who reject cookies or use an ad blocker don't reach your tool.
Events your tool receives
On top of page views, including pages readers move to without a full reload, your tool receives these events:
help_search: a search that found results. Its details aresearch_term,result_count,lang,territoryandversion. Google Analytics also gets its standardsearchevent, and Matomo records it as a site search.help_search_no_results: a search that found nothing, with the same details ashelp_search. This is the best signal of missing content.help_search_click: a reader opened a search result. Its details aresearch_term,article_idandposition.help_article_feedback: a thumbs-up or thumbs-down on Was this article helpful?. Its details arearticle_id,article_title,helpful(true or false),langandversion.help_language_switchandhelp_version_switch: a reader changed language or product version. Their details arefromandto.help_ai_chat_message: a reader sent a message in the AI chat (details:lang,territory,versionandturn, the message's number in the conversation).help_ai_questionandhelp_ai_feedback
A search is sent once the reader stops typing, not after every keystroke.
Where to find the events in each tool:
Google tag (Google Analytics 4): the events appear under their own names. Register
search_term,article_titleandhelpfulas custom dimensions. Then build Explorations such as "searches with no results" (thehelp_search_no_resultsevent, broken down bysearch_term) and "least helpful articles" (help_article_feedbackwherehelpfulis false, broken down byarticle_title).Matomo: events are recorded under the category "Help center", with the event name as the action and the search term or article as the label. Searches also appear in Site Search, including the searches that found nothing.
Google Tag Manager: each event is pushed to the
dataLayerwith its details as variables. Create triggers and Data Layer Variables for the events you want and send them wherever you like.
Searches without the browser
Ad blockers and readers who decline cookies mean browser analytics always under-count. To see every search, tick Also send searches to log export in Customer site › Search & analytics. Each help-site search is then sent from the server to your log export destinations as a help.search event. The event carries the search words, language, territory, version and number of results, but no address or cookie. Because search runs as the reader types, partly typed words appear too. See Exporting Logs and Events to set up a destination.
Turning search data into new content
Export the top searches with no results from your analytics tool and give them to an AI agent connected to HAIMDALL. The suggestArticlesForQueries tool sorts each search into one of three groups:
covered: readers already find a matching article;
weak: readers find something only through typo correction;
gap: readers find nothing.
For weak searches and gaps, it lists existing articles that could answer them, including drafts and articles in other languages, so you can publish or translate an article or add a search keyword instead of writing something new. See MCP Tool Reference.
Good to know
Ad blockers stop many analytics scripts, so treat the numbers as a lower bound.
Removing a tool on Customer site › Search & analytics stops it loading at once, including on pre-built pages.
HAIMDALL keeps no analytics data, so there is nothing to export or delete in HAIMDALL itself.