WordPress.org

Forums

Google Analytics by Yoast
Shopp ecommerce tracking - problem and fix (1 post)

  1. Adam
    Member
    Posted 1 year ago #

    I noticed that Google Analytics for WordPress has Shopp eCommerce plugin support that enables conversion tracking, but it doesn’t work on Shopp v1.2.9, the version I have.

    I have a fix for this problem – I applied this fix and it works on my site.

    You need to change the two lines in the Google Analytics for WordPress plugin file frontend/class-frontend.php function shopp_transaction_tracking that read:

    if ( function_exists( 'is_shopp_page' ) && !is_shopp_page( 'checkout' ) ) return $push;

    to this:

    if ( function_exists( 'is_thanks_page' ) && !is_thanks_page() ) return $push;

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic