Title: GTM4WP problem a jquery function
Last modified: July 29, 2022

---

# GTM4WP problem a jquery function

 *  [menemem](https://wordpress.org/support/users/menemem/)
 * (@menemem)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/gtm4wp-problem-a-jquery-function/)
 * Good morning,
    i noticed the plugin interferes with a jquery function below:
 *     ```
       jQuery(document).ready(function( $ ){
           jQuery('body').on('click', '.product-image-link, .wd-entities-title, .product-element-bottom', function(e) {
           e.preventDefault();
           jQuery(this).parents('.product-grid-item').find('.open-quick-view').click();
       });
       });
       ```
   
 * This function was done by the creators of the template I am using on our website
   and is used to have the products page with the click in quick view on image and
   title without going to the single product page.
 * I wanted to point this out and ask you if you can help me solve this problem.
   
   Thanks and sorry for my English.
 * I noticed that the option that creates this “conflict” is Track enhanced e-commerce,
   if I turn it off everything works fine.
    I hope it is useful.
    -  This topic was modified 3 years, 10 months ago by [menemem](https://wordpress.org/support/users/menemem/).
    -  This topic was modified 3 years, 10 months ago by [menemem](https://wordpress.org/support/users/menemem/).
    -  This topic was modified 3 years, 10 months ago by [menemem](https://wordpress.org/support/users/menemem/).
    -  This topic was modified 3 years, 10 months ago by [menemem](https://wordpress.org/support/users/menemem/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgtm4wp-problem-a-jquery-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘GTM4WP problem a jquery function’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [menemem](https://wordpress.org/support/users/menemem/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/gtm4wp-problem-a-jquery-function/)
 * Status: not resolved