Skip to content

Conversation

@WouterSteen
Copy link
Contributor

script-product-clicks.phtml is adding listners to product clicks. This is not the way we want to fire GTM events due to race conditions.

Use like this:

        yireoGoogleTagManager2Pusher(
            eventData,
            'push (page event "LoginReorder") [item/default.phtml]',
            function() {
                window.location = url
            }
        );
        ```

@jissereitsma
Copy link
Collaborator

Thanks!

@jissereitsma jissereitsma merged commit c406aa8 into yireo:master Dec 20, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants