If you have multiple mount points in your app, or if you only use react-tracking in subtrees of your React app, you may encounter a situation where you see empty tracking objects pushed to your data store. That's... not terribly useful.
This change prevents empty objects from being pushed to window.dataLayer.
If you have multiple mount points in your app, or if you only use
react-tracking
in subtrees of your React app, you may encounter a situation where you see empty tracking objects pushed to your data store. That's... not terribly useful.This change prevents empty objects from being pushed to
window.dataLayer
.