I noticed that advanced DOM events are available in APP pixels not in custom Pixels. I don’t know why? Because there are couple of important events that are available in advanced DOM event but not available in custom pixel -
- Scroll
- Mouse Move
Lastly in the click event that is available in custom pixel there are less data than the click event that is available in advanced DOM event.
Can anybody help me with this.
Hello Rahi,
For privacy, security and performance purposes, Advanced DOM Events are restricted to apps offering heatmaps and/or session recording features.
DOM events are not an exact duplicate of the DOM to protect against future checkout upgrades. We recommend not building anything that relies on the DOM structure of a Shopify product, such as checkout, because it might change without notice.
For that same reason, DOM events only trigger on a subset of elements on checkout, meaning that reported behaviors are cherry-picked on checkout and a consistent data set (synthetic element) is provided whether or not the event occurred directly on, for example, an icon or the actual button.
Hope this help shed a light on the difference between the two APIs.
@emileber I understand the reason but is it possible to add scroll event and click event in normal DOM events that we found here -
And as per I know all this DOM events fire on all pages not only on checkout page.
Why I am asking this because for tracking purpose we need all this events to send GA4 and facebook Pixel. As custom events can’t directly access the DOM as it is in a sandbox environment. So We have to rely on events that is provided by custom Pixel.
1 Like
We initially had concerns about a performance hit with these high volume events. But we can reconsider. I’m wondering if you tried the Meta or Google apps? They may collect those events.
@Dave_Strang Yes we can use app. But we want to setup all our tracking through Google Tag Manager. So that we can have full control of all the data that we are sending to those third party platform. Pls reconsider It. It will be helpful for lot of people who want to track this type of events.