Skip to content

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

Open
@shahbazshueb

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions