Gravity forms causing scripts to run multiple times

Hi Chris

Sure, this is the particular page I’m having issues with - https://eightclients.staging.wpengine.com/grow-your-business-through-social-media/

For now, for testing purposes, I have actually removed the menu button and I’ve added 3 code snippets - one directly where the menu button appears in the header, one in the page’s head, one in the page’s body. These are all following this structure -

<script>
	console.log("head code");
</script>

When I load the page, I’m seeing each code execute 4 times in the console.

Interestingly, I have noticed in the console, they do appear to be coming from 4 different sources (see attached image), 3 of which seem to be related to virtual machines. But I’m not sure of the significance of that or what to do about it.

As mentioned before, I know this doesn’t seem to be connected to Gravity, but is only affecting the pages with Gravity Forms - if you navigate to the homepage of the above URL, you should see the codes only run once.