We are using Heatmap recording to track user behaviour and improve our website.
As we are low coding on our Website (using Webflow), I am not sure how to solve the problem. We are using for some sections the setting of viewport height of min-height = 85% vh, which works totally fine.
But as you may see, the Matomo Heatmap shows the rendering of the page fully distorted.
But I am not sure which code to enter on our website and where to put it correctly (is it inside head tag, or before body tag?) Can you help me with that?
Hi, unfortunately I don’t know how to apply this change in Webflow.
I have a custom class & HTML Tag for the section which is causing the distortion, but I don’t have a custom Style sheet or so in Webflow. Do you have a step by step solution what I should do? As mentioned, I only can deal with low code solutions as I am not deep down in this topic. thanks.
Hi @chris_de
Why did you write: document.children[0].Section_Landing_become_partner+= ' matomoHsr '; instead of document.children[0].className += ' matomoHsr ';?
@heurteph-ei because your initial script with document.children[0].className += ' matomoHsr '; did not work, so I thought it might be related to className but this was not the case.
Can you check if the class has been added to the <html> tag?
Also, I don’t see the page class in your HTML…
And also, you wanted to have “min-height = 2000px (important)”. How high is the render in the heatmap? Isn’t it at least 2000px high?
The role of the script I provided is precisely adding the class to the <html> tag…
Can you check on the browser DOM inspector that the class has been added to the <html> tag?
Also, I don’t really understand what you did… You write somewhere about 85vh, but on the CSS code you provided, the measures are set in pixels (min-height: 2000px !important;)
vh is like another unit like px, Heatmap does work. The way heatmap understand and renders the web page little different than normal, hence this issue is caused, fix is to apply the styles recommended in the FAQ shared.