For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I am create a web pixel extension to track user behaviour. When subscribing to standard events they are fired correctly. But subscribing to dom events does work.
analytics.subscribe('clicked', (event) => {
console.log('Clicked', {
...event.data
});
});
I tried on firefox and chrome but the click event is not fired. The same happen for other dom events like form_submitted, input_focused as well.
What might be happening here? Couldn't find any documentation around troubleshooting this.
In my case, it only works on checkout pages, which is not my intended use. Any help is appreciated
Anybody have a fix for this - I got the same issue!!!