WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Google AdWords conversion tracking tag
[resolved] Conversion Value not reporting? (15 posts)

  1. jefffffffrey91
    Member
    Posted 8 months ago #

    Here's a link to the order received page:

    http://chargeall.com/checkout/order-received/?GclidTest=123

    For some reason, my Google Analytics does not show conversions, but my Google Adwords conversion tracker does. The problem is that the Google Adwords conversion tracker does not give an Order Total value, so essentially I do not know how much money my Google Adwords is bringing in.

    http://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/

  2. alekv
    Member
    Plugin Author

    Posted 8 months ago #

    Hi jefffffffrey91

    Google Tag Assistant reports that the Google AdWords conversion tracking code is working fine. It also reports an order total value of 70.90$. If the value and conversion don't show up in your AdWords account there could be several reasons. Reporting delay which can take several hours, wrong conversion ID and / or conversion label. (Those are the most common issues).

    Regarding Google Analytics not reporting your orders correctly: You have two Analytics tags on your page which is wrong. To let Google Analytics and e-commerce tracking work properly turn off the Yoast Google Analytics plugin and turn on only the WooCommerce Google Analytics code insertion as well as the e-commerce tracking (both in WooCommerce). Again, orders get reported with a time delay. Essentially the WooCommerce Analytics with e-commerce tracking works fine and is my recommended way of tracking customer flow as well as e-commerce transactions.

    Regards
    Aleks

  3. alekv
    Member
    Plugin Author

    Posted 8 months ago #

    One more thing. After having seen your shop I would suggest to take a look at my other plugin: http://wordpress.org/plugins/woocommerce-google-dynamic-retargeting-tag/

    If you are using Google Merchant Center already or plan to use it the future this plugin will extend your Google AdWords reach and efficiency quite a bit.

  4. jefffffffrey91
    Member
    Posted 8 months ago #

    Wow, both great plugins.

    1.) If I turn off the Yoast Google Analytics plugin, will I no longer receive Analytics data for the rest of my website/non WooCommerce pages?

    2.) I manually installed the Google Retargeting tag on my website. Should I remove this and install your plugin?

  5. alekv
    Member
    Plugin Author

    Posted 8 months ago #

    1. If you have a standard WordPress with WooCommerce installation then WooCommerce will insert the Google Analytics tag on all pages. I suggest to give it a quick try (disable Yoast Google Analytics, enable WooCommerce Analytics and e-commerce tracking). Check if it is working with the Google Tag Assistant browser plugin. If you use some sort of caching mechanism, make sure to delete the cache before checking the tags.

    2. My plugin dynamic retargeting plugin requires also to have a Google Merchant Account up and running. If you have one for your shop then installing my plugin will suffice. You can delete the old retargeting tag. Again, make sure to check everything with Google Tag Assistant.

    If you run into any problems, please give me feedback. It will enable me to write a better setup guide for my plugins.

  6. alpinelakesdesign
    Member
    Posted 7 months ago #

    Aleks,

    I looked at the code created on the Thank You page when using this plugin, and I'm not sure it's going to work because the conversion value is left at the default of 0.00. If you look at this Google page:

    https://support.google.com/adwords/answer/1722054?hl=en

    and then scroll down to open the "Track transaction-specific Values" then open the PHP example, Google recommends replacin the conversion value with the following:

    if (<? echo $totalValue ?>) {
    var google_conversion_value = <? echo $totalValue ?>
    }

    Just thought I'd let you know. Good idea for a plugin!

    -- Lee

  7. alekv
    Member
    Plugin Author

    Posted 7 months ago #

    Hi Lee

    I have not had any issues with my current code so far and I'm not really sure why Google is suggesting this solution as there always should be a positive value in there. It only will show up with a value of zero when someone opens the thankyou page without having placed an order. In this case the conversion should not be measured anyway.

    Nonetheless I will implement this code snippet i the next version. The code doesn't impair the functioning of the conversion tag and I believe Google has it's reasons for this code.

    Regards
    Aleks

  8. alekv
    Member
    Plugin Author

    Posted 7 months ago #

    Hi Lee

    Just to let you know. The update with the PHP snippet which is recommended by Google is out now.

    Regards
    Aleks

  9. salty-sailor
    Member
    Posted 3 months ago #

    @alpinelakesdesign, regarding:

    Google recommends replacin the conversion value with the following:

    if (<? echo $totalValue ?>) {
    var google_conversion_value = <? echo $totalValue ?>
    }

    the preceeding sentence on the page you cite is:

    2.If your site has a variable conversion value, determine the PHP expression that displays that value.

    This begs the question whether the $totalValue variable is defined in WooCommerce, or perhaps that should be something else. Who can verify?

  10. CaliforniaTeachersCollege
    Member
    Posted 1 month ago #

    Yes, I'm using WooC...What is the PHP expression that displays that variable value? Can't find the answer...The Google recommended code isn't working for me.

  11. alekv
    Member
    Plugin Author

    Posted 1 month ago #

    Hi CaliforniaTeachersCollege

    Have a look at this code: http://docs.woothemes.com/document/custom-tracking-code-for-the-thanks-page/

    Maybe it will help you.

    Cheers
    Aleks

  12. CaliforniaTeachersCollege
    Member
    Posted 1 month ago #

    Aleks,

    Many thanks...Found it, installed, working perfect, and donated!

    True time and life saver...It was so frustrating trying to get Google Adwords variable value conversion working with Woo, this made it EASY!

    Thanks!

  13. alekv
    Member
    Plugin Author

    Posted 1 month ago #

    Thanks ! Happy to see one more satisfied WooCommerce and AdWords user :)

  14. CaliforniaTeachersCollege
    Member
    Posted 1 month ago #

    When I use Google's Tag Manager to verify your code, it's giving me the suggestion:

    Suggestion: Both <script> and <iframe> used.

    Do you understand why it's giving that message and what does it mean?

  15. alekv
    Member
    Plugin Author

    Posted 1 month ago #

    Honestly, I don't know why it's giving this error.

    I've implemented the code as specified. I just can't place it within the <body> tags because it will get messed up by a WordPress bug. http://core.trac.wordpress.org/ticket/3670

    So far I haven't noticed any problems, even with the warning you've mentioned. I would simply ignore it.

    Cheers
    Aleks

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.