• Resolved Karan

    (@peeyooshk)


    Hey:

    Post update to 3.7.0 the below script on our thank you page is not feeding the information. The information is used for Google Enhanced trackings. Please help if something is to be changed.

    
    <script>
      var enhanced_conversion_data = {
    "email": <?php echo "'".$order->get_billing_email()."'";?>,  
    "phone_number": <?php echo $order->get_billing_phone(); ?>,
    "first_name": <?php echo "'".$order->get_billing_first_name()."'"; ?>,
    "last_name": <?php echo "'".$order->get_billing_last_name()."'"; ?>,
    "home_address": {
          "street": <?php echo "'".$order->get_billing_address_1()."'"; ?>,
          "city": <?php echo "'".$order->get_billing_city()."'"; ?>,
          "region": <?php echo "'".$order->get_billing_state()."'"; ?>,
          "postal_code": <?php echo "'".$order->get_billing_postcode()."'"; ?>,
          "country": <?php echo "'".$order->get_billing_country()."'"; ?>
        } 
      };       
      
    </script>
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @peeyooshk,

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook Community group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Cheers.

    Thread Starter Karan

    (@peeyooshk)

    @rainfallnixfig Thanks for that. I have posted on Woocommerce Facebook community. Although when i try to enter the WooCommerce Slack it asks me email to send invite and when i enter the same it shows error “Error creating your account.”

    Mirko P.

    (@rainfallnixfig)

    Hi @peeyooshk,

    Make sure you don’t already have a Slack account in the WooCommerce Community with that email and clear the browser cache or use another browser.

    If you’re still unable to join there should be an email from a team member of Automattic in the invite that you can contact and they should be able to help you join the channels.

    Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Enhanced conversions not firing up’ is closed to new replies.