WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Bug Fix/Note for use with WPEC 3.8+ (1 post)

  1. transom
    Member
    Posted 1 year ago #

    The code in googleanalytics.php (specifically wpec_transaction_tracking) is out of date with the 3.8+ versions of WP-e-commerce. Partially due to deprecated functions (which also have bugs in wpec, sigh) and also due to database changes.

    Further, because of the timing, the tracking only works if you are using the manual placement of the yoast_analytics function in the footer.

    Because of the size of my changes to the function to get it working correctly with 3.8+, you'll find a replacement function in this gist:
    https://gist.github.com/4172970

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic