With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
The basic requirements for heatmaps to work are the presence of the Web Governance token and the heatmap enabled attribute set to true.
<script type="text/javascript">
window._monsido = window._monsido || {
token: "insert-your-monsido-token-here",
heatmap: {
enabled: true
}
};
</script>
<script type="text/javascript" async src="https://app-script.monsido.com/v2/monsido-script.js"></script>
The heatmap function will automatically run on page load. It will determine the heatmaps should run on a particular session based on how heatmaps have been configured for your Web Governance account.
If heatmaps are applied to an SPA, by default, the heatmaps function runs on page load and sends its data when the page unloads.
It is possible to simulate an unload by using this command:
window.monsido_functions.sendHeatmapData();
You must restart the heatmap function after the URL has changed, using this command:
window.monsido_functions.resetHeatmap();
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.