I am new in HubSpot Development. Excuse me if my query is very basic. I have created one onload JavaScript for HubSpot forms on Google Tag Manager & not able to console the information on the HubSpot form console. Any pointers, If I'm missing anything here
If you want to trigger something on window load you would want to use GTM's Window Loaded trigger instead of Page View. With Window Loaded set as the trigger then all you would need is the console.log bit in your script instead of adding an extra window event listener.
If this answer solved your question, please mark it as the solution.
If you want to trigger something on window load you would want to use GTM's Window Loaded trigger instead of Page View. With Window Loaded set as the trigger then all you would need is the console.log bit in your script instead of adding an extra window event listener.
If this answer solved your question, please mark it as the solution.