We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b0fc60 commit e1f3cc3Copy full SHA for e1f3cc3
docs/content/scripts/tracking/google-tag-manager.md
@@ -97,7 +97,7 @@ const { proxy } = useScriptGoogleTagManager({
97
id: 'YOUR_ID' // id is only needed if you haven't configured globally
98
})
99
100
-useScriptEventPage((title, path) => {
+useScriptEventPage(({ title, path }) => {
101
// triggered on route change after title is updated
102
proxy.dataLayer.push({
103
event: 'pageview',
0 commit comments