I want to add Google AdWords to my site but the script I'm supposed to add creates an iframe in the dom. This iframe is visible and moves down 13px (its height) all my page.
Is there any way to avoid this? If not, can I hide it without affecting Google AdWords functionality? (It is an empty iframe).
Also, app downloads and in-app purchases from Google Play, and local actions will automatically be recorded as conversions, and no tracking code is needed.
Before you can add a conversion tracking tag to your website, you'll need to do the following: Create a conversion action in your Google Ads account. To create a conversion action and get your conversion tag, follow the instructions in set up conversion tracking for your website. Have the ability to edit your website.
There's an easy fix that doesn't affect the functionality of the code snippet. I've done this with no adverse effects. Just place the script within a hidden div like below and it should do the trick:
<div style="display:none"> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> </div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With