As the title says.
This is the first time I am using Matomo with a SPA. I am little bit confused about the documentation. The first point says that if there is an integration you should use that, but isn’t very explicit about whether this means that you should do none of the other things listed in the documentation.
After messing about with it I managed to get basic page and event tracking working by using useEffect on layout components that wrap all content.
But how do you use tags if using the React implementation? The tag manager is what creates the dataLayer right?