[Resolved] Google Conversion Tracking

Home Forums Support Google Conversion Tracking

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #410846
    Maciej

    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; ?>

    GeneratePress 1.4
    #410849
    Maciej

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

    #410871
    Tom
    Lead Developer
    Lead Developer
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.