Events are sent through gtag(), or pushed to dataLayer for Google Tag Manager. All of them carry mascot_lang and page_kind (front, page, post, archive, search, 404 or contact). The text of a question is never sent.
| Event | When | Extra parameters |
|---|---|---|
mascot_greeting |
Greeting shown (once per visit) | returning |
mascot_click, mascot_menu_open |
Mascot clicked, menu opened | |
mascot_ask |
Question asked | results_count, ai_answer, answer_source, answered |
mascot_suggestion_click |
Suggestion button clicked | link_text |
mascot_chat_feedback, mascot_chat_reset |
Yes/No on an answer; Start over | helpful |
mascot_handoff_shown, mascot_handoff_sent |
Could not answer; visitor left a message | |
mascot_ask_result_click |
Answer link clicked | link_text, link_url, link_position, ai_answer |
mascot_link_click |
Quick link clicked | link_text, link_url, link_position |
mascot_tip_shown, mascot_tip_click |
Tip shown or clicked | tip_kind or link_text, link_url |
mascot_related_shown, mascot_related_click |
End-of-post suggestion | link_text, link_url |
mascot_exit_prompt, mascot_exit_click |
“Before you go” suggestion | link_text, link_url |
mascot_404_suggestion_shown and _click |
404 suggestion | link_text, link_url |
mascot_point, mascot_point_click |
Pointed at a button; visitor clicked it within 30 seconds | target |
mascot_celebrate, mascot_back_to_top, mascot_close |
Register the parameters as custom dimensions in GA4 (Admin → Custom definitions) to report on them.
