• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / eCommerce Tracking addon & custom thank you page

[Support request] eCommerce Tracking addon & custom thank you page

· ·

Home › Forums › Stripe Payments Plugin › eCommerce Tracking addon & custom thank you page

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by Admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 13, 2021 at 4:31 pm #3960
    mpar9675
    Participant

    Google analytics ecommerce tracking does not work if the product uses a custom thank you page. This seems to be because the control block checks if the queried page is the same id as the default checkout page.

    		$checkout_page_id = $this->ASPMain->get_setting( 'checkout_page_id' );
    		$page_id = get_queried_object_id();
    
    		if ( $page_id === $checkout_page_id)
    ...
    

    Is this the expected behaviour, or am I doing something wrong?

    May 15, 2021 at 9:04 am #3962
    Admin
    Keymaster

    By default the e-commerce tracking only works on the thank you page generated by our plugin. We will need to investigate and see if we can extend the function for custom thank you pages also.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.