On our website we display a form with a click on a button. We are doing this with the css property display: none; and display:block;
The problem is that hubspot is tracking it as formview everytime someone visits our page, because the form is there it is just not visible until the user clicks on the button.
I tried creating the form when the button is clicked, but the form is not being created.
The form view tracking occurs when the form embed code is loaded, not necessarily when the form is displayed in a way that’s visible to visitors. It sounds like you’ve tried waiting to load the form until after the button has been clicked? How did you do that?