Pardot script commenting itself out
-
Hi guys, just noticed that the pardot plugin for WordPress seems to be commenting itself out inside the <script> tag, why would this be occuring if all settings authenticate successfully? I have selected our campaign within WordPress and haven’t changed anything.
Here’s an example of what its doing and according to our developer this is automated via the plugin, its not manually inserted or edit by them (i’ve taken out our ID’s for the sake of this topic)
<script type="text/javascript"> <!-- piCId = '#'; piAId = '#'; (function() { function async_load(){ var s = document.createElement('script'); s.type = 'text/javascript'; s.src = ('https:' == document.location.protocol ? 'https://pi' : 'https://cdn') + '.pardot.com/pd.js'; var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c); } if(window.attachEvent) { window.attachEvent('onload', async_load); } else { window.addEventListener('load', async_load, false); } })(); --> </script><script type='text/javascript'>
We’re also running seperate pardot tracking code inside an iframe but the pardot code is slightly different but uses the same Campaign ID, any idea what could be causing this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Pardot script commenting itself out’ is closed to new replies.