You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to track custom pageviews for certain pages that contains identifiers for eg.
routes like /product/1 and /product/2 should be tracked as /product/id.
After reading this doc, I tried the following plausible('pageview, {u: '${window.origin}/product/id})} but this does not get tracked with the new url.
This does work when I enable manualPageviews in PlausibleProvider but it also disable automatic pageview which is not what I want to do.
Is there any way to do this?
The text was updated successfully, but these errors were encountered:
I need to track custom pageviews for certain pages that contains identifiers for eg.
routes like
/product/1
and/product/2
should be tracked as/product/id
.After reading this doc, I tried the following
plausible('pageview, {u: '${window.origin}/product/id})}
but this does not get tracked with the new url.This does work when I enable manualPageviews in PlausibleProvider but it also disable automatic pageview which is not what I want to do.
Is there any way to do this?
The text was updated successfully, but these errors were encountered: