{"id":942,"date":"2013-06-04T00:21:17","date_gmt":"2013-06-03T22:21:17","guid":{"rendered":"http:\/\/majek.mamy.to\/?p=942"},"modified":"2013-07-01T01:12:02","modified_gmt":"2013-06-30T23:12:02","slug":"removing-some-query-parts-from-referers-in-awstats","status":"publish","type":"post","link":"https:\/\/majek.sh\/en\/removing-some-query-parts-from-referers-in-awstats\/","title":{"rendered":"Removing some query parts from referers in AWStats"},"content":{"rendered":"<p>For checking what&#8217;s going on my blog and other sites I use <a href=\"http:\/\/awstats.org\" target=\"_blank\">AWStats<\/a> &#8211; very popular and powerful web logs analyzer.<\/p>\n<p>Because I have many hits from forums, many referer links contains session ids. It pollutes &#8216;Links from an external page&#8217; section and make very long list of duplicated urls.<br \/>\nAWStats has a feature to remove some query parameters but I discovered (and it&#8217;s quite clear documented) that it works only for analyzed site links, not for referers \ud83d\ude41<\/p>\n<p>This long list made me angry every time I tried to look at it, so today I told myself: &#8220;Enough! It&#8217;s time to do something with it!&#8221;<br \/>\nAnd now I have new option available: <em><strong>URLReferrerWithQueryWithoutFollowingParameters<\/strong><\/em> \ud83d\ude42<\/p>\n<p>Patch: <a href=\"\/awstats-URLReferrerWithQueryWithoutFollowingParameters.diff\">awstats-URLReferrerWithQueryWithoutFollowingParameters.diff<\/a><\/p>\n<p>New option works exactly the same way as <em><strong>URLWithQueryWithoutFollowingParameters<\/strong><\/em> but removes some parts of referer.<br \/>\nI tested it against AWStats 7.1 and 7.1.1 &#8211; it works.<br \/>\nAnd as usual: use it at your own risk \ud83d\ude42<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>For checking what&#8217;s going on my blog and other sites I use AWStats &#8211; very popular and powerful web logs analyzer. Because I have many hits from forums, many referer links contains session ids. It pollutes &#8216;Links from an external <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/majek.sh\/en\/removing-some-query-parts-from-referers-in-awstats\/\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[54],"_links":{"self":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts\/942"}],"collection":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/comments?post=942"}],"version-history":[{"count":22,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts\/942\/revisions"}],"predecessor-version":[{"id":1069,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts\/942\/revisions\/1069"}],"wp:attachment":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/media?parent=942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/categories?post=942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/tags?post=942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}