Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking custom pageviews for aggregate pages that contain identifiers. #119

Open
shahbazshueb opened this issue Mar 27, 2024 · 0 comments

Comments

@shahbazshueb
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant