Hello, we are advertising our Qualtrics survey with Google Ads, and would like to feed back to Google the “conversions”, i.e. information who successfully completed the survey, so that the ad can be optimised and shown to people who are most likely to complete it.
Accoring to Google, the process has two stages:
- Installing a tag in the website header--which I have successfully completed through Look and Feel -> General -> Header, and Google seems happy with it. Here is the code from Google I used:
copy the tag below and paste it between thehead
tags (<head></head>
):<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-xxxxxxxxxxx"></script> <script> window.dataLayer = window.dataLayer || e]; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-xxxxxxxxxxx'); </script>
- Installing event snippet on the website which participants reach after completing the survey (e.g. the last question or the end of survey message):
Install the event snippet on the conversion page. This is the page your customers reach on your website after they've completed a conversion – the "Thank you for your order" page, for example.
Open the HTML for the conversion page.
Copy the snippet below and paste it between thehead
tags (<head></head>
) of the page, right after the Google tag.<!-- Event snippet for Submit form conversion page --> <script> gtag('event', 'conversion', { 'send_to': 'AW-xxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxx-', 'value': 1.0, 'currency': 'GBP' }); </script>
How to complete step 2 above? I do not see any way to modify the <head></head>
part for individual questions, even when editing them with html editor.
Thank you.