I am using react-ga
to approach google analytics. In order to group the pageviews pages, currently, when we send the pageview event, we truncate them. Like /article/content-name/content-id
was truncated to /article
.
we use the pageview
function inside react-ga
, I think we probably can pass in the 2nd parameter(trackerNames) or event 3rd parameter(title) to facilitate grouping pageviews. Just want to verify if it is the right approach, thanks?