Search code examples
google-analyticspageviews

Google Analytics page view


I'm trying to get the pageview number for the a particular page,

but I see two page view entry

I have:

/page ==> 100 page view

/page/ ==> 50 page view

The two pages are exactly the same page, but why does it have two entries?

Is the GA double counting, so instead of 150 views, I actually only get 100 view?

How do I combine the two entries?

Thank you


Solution

  • You can use a filter to the Google Analytics View to join then.

    Go to the Admin section > View column > Filters.

    Add Filter > Name it the way you want > Custom > Check "Advanced" option.

    Select the field Request URI, in field A put the value "^(/.*)/$". In field B put "-". In the Output "$A1", just like the image below.

    enter image description here

    Hope I've helped you.

    Regards, Vítor Capretz