The problem is head() executed so late in the lifecycle and router.afterEach executes before that. This causes the analytics send incompatible path and page title.
Anyways, until this issue resolved you can set disableAutoPageTrack: true and manually handle each route change in pages folder mounted() hooks.
The problem is
head()
executed so late in the lifecycle androuter.afterEach
executes before that. This causes the analytics send incompatible path and page title.Anyways, until this issue resolved you can set
disableAutoPageTrack: true
and manually handle each route change inpages
foldermounted()
hooks.Example:
this would execute after
head()
so thepage_title
andpage_path
are sent compatible now.