Do I need a data layer or can i use direct call for everything?
Apparently there's a really old JavaScript way of updating props of an `s` variable. DTM is the more recent old way and Adobe Launch is the newest way. I'm using Adobe Launch. For a SPA, the docs suggest I can update my data layer then set up rules in the portal to copy the props from my data layer into adobe analytics for tracking pages. I also see that there's a way of doing a direct call using `window._satellite.track(eventName, payload)`.
What I'm wondering is if I need to bother with the data layer approach or if I can just direct call everything with `window._satellite.track` and configure in the portal which one is a page and which is an event/link? Currently I've got code that will use the data layer to track pages and a direct call to track things like specific click events. Ideally I can just do it all one way.
Thank you!