0

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?

Ron
  • 6,037
  • 4
  • 33
  • 52

1 Answers1

0

Yes, you can do that and it's the way we do it usually.

Shiva Pandey
  • 645
  • 6
  • 17