I suggest you ...

Allow me to ignore some query string variables

Similar to the way you can "Exclude URL Query Parameters" in your Google Analytics site settings. We use lots of tracking codes, so our landing pages look like hits to many different pages instead of many hits to one page from a number of different referrers.

27 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    chris eaveschris eaves shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    completed  ·  Allan BeaufourAllan Beaufour responded  · 

    This can be done by setting a variable in the chartbeat js:

    var _sf_async_config={uid:YOURID,domain:“YOURDOMAIN”,path:“/somepath/otherpath/page”};

    7 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...
      • Allan BeaufourAllan Beaufour commented  ·   ·  Flag as inappropriate

        setting the 'path' will report whatever it is set to as the path for the page. So in my example above the path will be reported as "/somepath/otherpath/page". In other words, you need to do this generically through your page templates, in the backend or in the js.

      • LoganLogan commented  ·   ·  Flag as inappropriate

        So setting path: on a page will cause the rest of the query string to be ignored?

        eg: I'm fetching /foo/bar.php?blah=blah&baz=baz, but I only want charbeat to track /foo/bar.php and ignore the params completely..... this will do it?

      • JoelJoel commented  ·   ·  Flag as inappropriate

        I would even go for excluding ALL query strings. It really pollutes our data to have the same story in multiple places.

      Knowledge Base and Helpdesk