Git Product home page Git Product logo

Comments (2)

jurijc avatar jurijc commented on August 17, 2024

Hi, @filippo1996 I have found solution for this problem that I have also noticed.
You need to copy trigger Event - Ecommerce Events GA4 in gtm and remove from Event name select_item|
Then set this trigger for remarketing tag.
This is bug because on item click this event is sent and adds delay. Should be fixed @duracelltomi
image

from gtm4wp.

duracelltomi avatar duracelltomi commented on August 17, 2024

The root cause of this behavior is usually something different in your GTM container or on your website.

When someone clicks on a product in a product list, GTM4WP stops the browser from navigating the user to the product detail page so that it can signal GTM to fire tags related to the select_item event. Now two events can happen:
#1 GTM can fire all related tags quickly and GTM4WP can redirect the user to the product detail page quickly
#2 Something slows down the process, in that case GTM4WP instructs GTM to only wait for 2000ms and just THEN will the user redirected to the product detail page

I am managing some Woo sites where case #2 almost never happens, clicks work quickly with GTM4WP.

So there does not seem to be a single "fix" for that as it could be many factors that causes case #2 to happen.
What I could do is to give more control over the timeout, this way, you could set a lower value by accepting less captured data for the select_item event.

from gtm4wp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.