Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4236124
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:35:44+00:00 2026-05-21T02:35:44+00:00

How would a web analytics package such as piwik/google analytics/omniture etc determine what are

  • 0

How would a web analytics package such as piwik/google analytics/omniture etc determine what are unique pages from a set of urls?

E.g. a) a site could have the following pages for a product catalogue

  • http://acme.com/products/foo
  • http://acme.com/products/bar

or b) use query string

  • http://acme.com/catalogue.xxx?product=foo
  • http://acme.com/catalogue.xxx?product=bar

In either case you can have extra query string vars for things like affiliate links or other uses so how could you determine that its the same page?

e.g. both of these are for the foo product pages listed above.

  • http://acme.com/products/foo?aff=somebody
  • http://acme.com/catalogue.xxx?product=foo&aff=somebody

If you ignore all the query string then all products in catalogue.xxx are collated into one page view.

If you don’t ignore the query string then any extra query string params look like different pages.

If you’re dealing with 3rd party sites then you can’t assume that they are using either method or rely on something like canonicallinks being correct.

How could you tackle this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T02:35:44+00:00Added an answer on May 21, 2026 at 2:35 am

    different tracking tools handle it differently, but you can explicitly set the reporting URL for all the tools.

    For instance, Omniture doesn’t care about the query string. It will chop it off, even if you don’t specify a pageName and it defaults to the URL in the pages report, it still chops off the query string.

    GA will record the full url including query string every time.

    Yahoo Web Analytics only records the query string on first page of the visit and every page afterwards it removes it.

    But as mentioned, all of the tools have a way to explicitly specify the URL to reported, and it is easy to write a bit of javascript to remove the Query string from the URL and pass that as the URL to report.

    You mentioned giving your tracking code to 3rd parties. Since you are already giving them tracking code, it’s easy enough to throw that extra bit of javascript into the tracking code you are already giving them.

    For example, with GA (async version), instead of

    _gaq.push(['_trackPageview']);
    

    you would do something like

    var page = location.href.split('?');
    _gaq.push(['_trackPageview',page[0]]);
    

    edit:

    Or…for GA you can actually specify to exclude them within the report tool. Different tools may or may not do this for you, so code example can be applied to any of the tools (but popping their specific URL variable, obviously)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to graph/ or pull in data from Google analytics to my
I would like to upgrade my web projects on an IIS 5 server from
What would be the Master Pages equivalent in the Java web development world? I've
I would like to do some integration testing of a web service from within
I need to Track Unique Visitor count in my web application. I would really
I have a xml web service which I would like to track using Google
Does anybody know what google web master tools offer I have google analytics on
We're doing a simple implementation of Google Analytics on our ASP.NET with jQuery/AJAX web,
I'm creating a Web Start application which would benefit from some of the newer
What would happen if you used KRL to inject web analytics into various sites

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.