Last updated
Last updated
To be able to use the automatic route changes tracking, needs to be installed and then is possible to just pass the instance to the plugin by using the trackRouter
method.
By default the plugin tracks page_view
events, but it's possible to enable screen_view
instead by setting useScreenview
to true
The automatic tracking can use a custom template, instead of the default one: this will apply whether you are using pageviews or screenviews.
Enable routes auto tracking