Title: Plugin Kills Custom Checkout Button
Last modified: August 5, 2018

---

# Plugin Kills Custom Checkout Button

 *  [mo7900](https://wordpress.org/support/users/mo7900/)
 * (@mo7900)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/plugin-kills-custom-checkout-button/)
 * Hi, thanks for this amazing plugin. All works well, however, we have added a 
   custom checkout button on each product page next to the add to cart button.
 * The checkout button doesn’t work, if we select track enhanced ecommerce in your
   plugin. Would appreciate any help on this?
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-kills-custom-checkout-button%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-kills-custom-checkout-button/#post-10565953)
 * Hi,
 * You have added the HTML class single_add_to_cart_button to your checkout button.
   Since this is the same class that is being used in the normal add to cart button,
   my plugin attaches some event handlers to track add to cart event but seems to
   fail.
 * Try to replace this class with another class name that has the same rule set 
   as single_add_to_cart_button.

Viewing 1 replies (of 1 total)

The topic ‘Plugin Kills Custom Checkout Button’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-kills-custom-checkout-button/#post-10565953)
 * Status: not resolved