I'm currently using Adobe DTM to track events on our sites.
Right now I'm dealing with a site that's coded mostly with ReactVR and then slapped onto a regular HTML page through ECMA6.
Now I'm trying to track an event using the following code but placing this into the app. But DTM is requiring a CSS selector which I can't even create because none of these events are driven by ReactVR and not a traditional DOM.
var inventoryCollect = new CustomEvent(‘inventoryCollect’, ‘detail’: {‘item_id’: ’Margarita'});
dispatchEvent(inventoryCollect);
Is there a way around this?
Please let me know if my question isn't clear.
Thanks.