Home Forums Community Forum Missing HTTP Response – AdWords Conversion Tracking code

Only users with a registered purchase of Avada can post to the community forum. Please register your purchase here.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • PaulaD
    Participant
    Post count: 1

    Hi,

    I am getting an error on google tag manager
    The report shows these errors:
    Missing HTTP Response
    google_conversion_value not set

    Any Javascript in a wordpress page is removed, has been added to child theme functions.php for 2 pages – using the code below:

    I have added this to functions.php (Child theme) and it puts the code on those 2 pages and is seen in the page source. But I still get the errors.

    Any help would be appreciated 🙂

     
    function wpb_hook_javascript() {
      if (is_page ( array( '2812', '2810') )) { 
        ?>
            <!-- Event snippet for Enquiry conversion page -->
                <script>
      gtag('event', 'conversion', {'send_to': 'AW-829444699/TI_iCM6y73kQ26TBiwM'});
    </script>
        <?php
      }
    }
    add_action('wp_head', 'wpb_hook_javascript');
     

    The report shows these errors:
    Missing HTTP Response
    Missing HTTP Response denotes that, while the AdWords Conversion Tracking code was detected in the page source, the script itself did not execute. Each time the Conversion Tracking script executes, we expect an HTTP Response carrying the Conversion Tracking request to Google’s servers carrying conversion_id, conversion_label, conversion_value and page URL.
    This means that the Conversion Tracking code is not implemented properly on the page and no conversions will be tracked.
    Recommended Action: Reinstall the Conversion Tracking snippet by removing the current iteration, copy a new version from the AdWords interface, and insert that version into the site

    google_conversion_value not set
    The google_conversion_value variable is not properly set within the Conversion Tracking script. The google_conversion_value is used to associate a dollar amount to each recorded conversion.
    Failing to properly set the google_conversion_value will prevent AdWords from reporting conversion value and associated ‘value’ metrics.
    Solution: Ensure that google_conversion_value in the Conversion Tracking script does not contain invalid characters such as currency symbols.

Viewing 1 post (of 1 total)
Only users with a registered purchase of Avada can post to the community forum. Please register your purchase here.