Site logo

Archived topic

Google Conversion Tracking

2 replies · Started by Maciej on October 26, 2017

Viewing posts 1–3 of 3

I am trying to add a page specific conversion tracking for Adwords. I put the tracking code as follows but no tags are seen by chrome

After Header Hook:

<?php if ( is_page( 'thank-you' ) ) : ?>
<!-- Google Code for Website Leads Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = XXXXXXXXX;
var google_conversion_label = "XXXXXXXXXXX";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>

</noscript>

<?php endif; ?>

Never mind. Problem solved. I had to put it in the inside container hook

Glad you got it working :)

This archived topic is closed to new replies.