Tracking conversion from Google Ads using gtag

If you are using Google Ads and wish to add conversion tracking to your bookings with Google’s global site tag (gtag.js), then you just need to paste your conversion ID and label in to freetobook – you can create them by following this process. You’ll find the information you need in the event snippet for your conversion action.

When you are ready, log in to freetobook and navigate to HOME tab then ANALAYTICS. You will find the relevant section midway down the page.

In the sample snippet below, CONVERSION_ID stands for the conversion ID unique to your account, while CONVERSION_LABEL stands for the conversion label, which is unique per conversion action.

Please enter the number after “AW-” for the conversion ID, and the letters and numbers after “/” for the conversion label.

<!-- Event snippet for Example conversion page -->
<script>
    gtag('event', 'conversion', {'send_to': 'AW-*CONVERSION_ID*/*CONVERSION_LABEL*',
        'value': 1.0,
        'currency': 'USD'
    });
</script>

It should look something like this – here, the conversion ID is “777148130”, and the conversion label is “6X4hCJrGopABEOKtyfIC”:

<!-- Event snippet for Example conversion page -->
<script>
    gtag('event', 'conversion', {'send_to': 'AW-777148130/6X4hCJrGopABEOKtyfIC',
        'value': 1.0,
        'currency': 'USD'
    });
</script>