Google Ads Conversion Tag

More
1 month 1 week ago #185348 by blukas
Hi there

we built a configurator using Limesurvey for which we are running a google ads campaign. To track the campaign conversions we must include the following 2 sniplets into the code of the survey. I tried to put it directly into the first question html code but this doesn't seem to work - could you give me any hint where to place the two codes?

Google says:
To set up conversion tracking, you must have the global site tag and an event snippet in the code your page uses. To add the tag and snippet, select the framework your page uses and follow the instructions.


Global site tag: Copy the tag below and paste it in between the <head></head> tags of every page of your website. You only need to install the global site tag once per account, even if you're tracking multiple actions.


<!-- Global site tag (gtag.js) - Google Ads: 9689xxxx -->
<script async src=" www.googletagmanager.com/gtag/js?id=AW-9689xxxx "></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'AW-9689xxxx ');
</script>



Event snippet: The event snippet works with the global site tag to track actions that should be counted as conversions. Choose whether to track conversions on a page load or click.

<!-- Event snippet for Configurator conversion page -->
<script>
gtag('event', 'conversion', {'send_to': 'AW-9689xxxx /A9DmCIqG2xxxxxxxxM4D'});
</script
>

I don't need the tags on all the sites, really just the first page is ok.
Thank you for any input.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 month 1 week ago #185352 by holch
Replied by holch on topic Google Ads Conversion Tag
You'll have to include it into the design template of your survey.

I assume you have a custom template anyway, if you programmed a configurator.

Then you just implement it at the header or footer in your design template.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!