Announcement

Collapse
No announcement yet.

AdWords Conversions - How To Send Dynamic Order Value

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AdWords Conversions - How To Send Dynamic Order Value

    Hello everyone! I have been having a really hard time getting the value of a sale show up in Google AdWords whenever a conversion fires.

    Originally we used this code. It works and tells us when a purchase happens, but not the value.

    <!-- Google Code for Online Store Purchase Conversion Page -->
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = ********;
    var google_conversion_language = "en";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "******************";
    var google_conversion_value = 0.00;
    var google_conversion_currency = "USD";
    var google_remarketing_only = false;
    /* ]]> */
    </script>
    <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/*********/?value=0.00&currency_code=USD&label=*************& guid=ON&script=0"/>
    </div>
    </noscript>

    I think after research today, we need to update our code to:

    <!-- Google Code for Online Store Purchase Conversion Page -->
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = **********;
    var google_conversion_language = "en";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "*********************";
    var google_conversion_value = [ordersubtotal];
    var google_conversion_currency = "USD";
    var google_remarketing_only = false;
    /* ]]> */
    </script>
    <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/***********/?value=0.00&currency_code=************************ &guid=ON&script=0"/>
    </div>
    </noscript>

    This conversion code is added to checkout #4 footer section. Can anyone confirm this is the correct setup? Any help would be greatly appreciated! Thanks!

  • #2
    That is correct. You need to use one of the below values. We always used [subtotal]

    The following Dynamic Tag variables can be used for these situations.

    [total] - total without currency symbol
    [ordersubtotal] - subtotal without currency symbol
    [total_noformat] - total without currency symbol. Also no commas for totals over $999 (i.e. 1,000; removes the comma)

    Comment

    Working...
    X