WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Google Analytics - both theme and plugin? (10 posts)

  1. Baumr
    Member
    Posted 1 year ago #

    I have both a WooThemes theme and the WooCommerce plugin:

    For WooThemes themes, there's the ability to add Google Analytics tracking to the page in the General Settings:

    "Paste your Google Analytics (or other) tracking code here. This will be added into the footer template of your theme."

    It's also in WooCommerce:
    Settings -> Integration Tab -> Google Analytics ID

    Should I set it in both places, or only the WooCommerce one?

    http://wordpress.org/extend/plugins/woocommerce/

  2. mikejolley
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    You only need to set it within the WooCommerce Integration tab if you plan on enabled 'ecommerce tracking'.

    Thanks

  3. Baumr
    Member
    Posted 1 year ago #

    I am, thanks.

    So I'll remove it from the theme :)

    I can imagine that being in both places, it can cause a few bugs...

  4. Baumr
    Member
    Posted 1 year ago #

    Important Update: I removed it from the WooTheme settings but left my UA-XXXXX-X number in the WooCommerce plugin, and the Google Code disappeared from my page source.

    Turns out it is needed in both places?

  5. mentor_01
    Member
    Posted 1 year ago #

    How about the google adwords conversion code? How is it added? And where?

  6. vignot
    Member
    Posted 1 year ago #

    mentor-01

    Did you ever find the answer to your questions. I've been trying to figure this out for weeks.

    Thanks..

  7. hobojoe00
    Member
    Posted 1 year ago #

    i have the same issue , i added the id to the woocommerce tab but its hard to believe it can track it with just the code. since Google provides the id and the script i added both. but my theme dident have a place to add it and i didnt want to try to figure out how to add it threw the editor or i installed a plugin called "insert headers and footers" i pasted the code there but my Google analytic is still saying no tracking info. im going to wait 24 hour and see if it updates but i would like to know i have it done right . if i dont need it in both places i would like to remove it so its not interfering. also what about the ad words conversion code?

  8. lindsaymcghee
    Member
    Posted 1 year ago #

    http://docs.woothemes.com/document/custom-tracking-code-for-the-thanks-page/

    But if you add this to your theme's function file make sure you do it again if you update the theme.

  9. miketopher
    Member
    Posted 1 year ago #

    Hi Lindsay, I used this info from the page you linked to but it breaks my page and i cannot figure out what it is thats causing it

  10. joeyrudi
    Member
    Posted 12 months ago #

    There are some good troubleshooting tips for setting up WooCommerce and GA eCommerce transactions at the bottom of this tutorial.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic