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

[Request] Need to combine the mumber of same page counting #11599

Closed
ChrisR1993 opened this issue Apr 7, 2017 · 3 comments
Closed

[Request] Need to combine the mumber of same page counting #11599

ChrisR1993 opened this issue Apr 7, 2017 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@ChrisR1993
Copy link

@tsteur
Hi, hope you doing well.
I had an issue about the same page counting.
for instance,

pageA.com/A/
pageA.com/A/index.html

these two address are totally identical page, but counted separately like the result of

pageA
/index.html 40,000
/index 900

So I and my customers have to do the math every single time to caculate the sum total and it
takes very long time.

I want to combine these into one analysis result and get the sum automatically.
Can you help me with this.

Appreciate your help every time.
Regards,

Chris

@Findus23
Copy link
Member

Findus23 commented Apr 7, 2017

While this isn't a direct solution to your problem, it's always helpful to have only one url for one page (and setup a redirect) as it can create many other problems (e.g. duplicate results in search engines)

@tsteur
Copy link
Member

tsteur commented Apr 7, 2017

As @Findus23 suggested redirects might be a good idea. Also in the JavaScript tracker you could set the URL always to the same URL manually. I think the method for this is setCustomUrl.

If you are familiar with PHP there may be a solution to group those results with a Piwik Plugin using the GroupBy filter. Setting custom URL manually may be the easiest solution. Eg in pseudo code:

if (url = /) {
  _paq.push(['setCustomUrl', '/index.html'])
}

@tsteur tsteur closed this as completed Apr 7, 2017
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Apr 7, 2017
@ChrisR1993
Copy link
Author

@Findus23 @tsteur

Thank you, appreciate your answers, so as my understanding there's no way to set the log import file to
solve this issue, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants