Comments (11)
This might be solved for the time being with a small plugin. To discuss: alexander dot schwartz at gmx dot net. This has hardcoded cleaning for sessions.
<?php
/**
* Piwik - Open source web analytics
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id$
*
* @package Piwik_TidyUrl
*/
require_once "Tracker/Action.php";
class Piwik_TidyUrl_Tracker_Action extends Piwik_Tracker_Action {
public function getActionName() {
$actionName = parent::getActionName();
$actionType = parent::getActionType();
if ($actionType == 1) {
// remove tomcat jsession id
$actionName = preg_replace("/;jsessionid=[A-Za-z0-9\.]*/","",$actionName);
// remove seam conversation id (assuming always at end of url)
$actionName = preg_replace("/&conversationId=[0-9]*/","",$actionName);
$actionName = preg_replace("/\\?conversationId=[0-9]*/","",$actionName);
}
return $actionName;
}
}
/**
*
* @package Piwik_TidyUrl
*/
class Piwik_TidyUrl extends Piwik_Plugin
{
public function getInformation()
{
$info = array(
'name' => 'TidyUrl',
'description' => 'TidyUrl',
'author' => 'ahus1',
'homepage' => 'http://www.ahus1.de/',
'version' => '0.1',
'TrackerPlugin' => true, // this plugin must be loaded during the stats logging
);
return $info;
}
function getListHooksRegistered()
{
$hooks = array(
'Tracker.newAction' => 'logTidyUrl',
);
return $hooks;
}
/**
* URL Tidy
*/
public function logTidyUrl($notification)
{
$action =& $notification->getNotificationObject();
$action = new Piwik_TidyUrl_Tracker_Action();
}
}
from matomo.
I still like the idea of possibly doing the tidying in piwik.js (see #519).
from matomo.
In #1023, the user appears to propagate/persist the campaign parameters in the URL.
In conjunction with #79, we could have an option to filter all campaign parameters.
from matomo.
While exluding params as a whole is required for session params, I could also see a drill down behaviour for certain parameters (like it's already done with sites and folders in Actions/Pages).
First, I get a total of all hits, and on click these hits are splitted based on parameter value.
Example:
/index.php -> 6 pageviews
After drill down:
/index.php?message=logout -> 5 pageviews
/index.php?message=invalid-credentials -> 1 pageview
This is perfectly possible for only one parameter, but get's tricky (at least UI-wise) with more params.
from matomo.
Also, the page providing this feature could have an option "Record all page names as lowercase to avoid duplicated page names with or without capital letters"
(if you have a better wording please suggest)
from matomo.
From #1180, add ability to filter out the anchor/fragment after the hashmark.
from matomo.
(In [2023]) Fixes #5461 Adding URL Query parameters exclude setting, per website, and global. We also by default exclude sessionid, phpsessid, etc.
The query parameters are excluded case insensitive.
from matomo.
(In [2024]) Refs #5461 The url shouldn't be htmlspecialchared
Also fixing notice when triggering a goal manually (piwik.trackGoal(goalId)) where the location_ip used to get the country, wasn't set for a known visitor
from matomo.
There's a typo in the 0.6 update script. excluded_parameters should be added to the table after excluded_ips is added.
from matomo.
(In [2037]) fixes #5461 - re-order schema change (dependencies)
from matomo.
(In [2193])
refs #5461, refs #1347 - regenerate cache files
from matomo.
Related Issues (20)
- Export a report as a pdf
- Add the possibility to zoom on the map without clicking HOT 1
- Goal restrictions: make them available for some users only HOT 1
- Goal type: give the possibility for end users to categorize their goals
- Search/filter feature on the visit log page HOT 1
- Let the metrics/statistics window open
- Give the possibility to categorize/label segments
- Real time visit log updated when using HeartBeatTimer HOT 1
- [Bug] Discrepancy in Matomo Statistics for Confluence Pages HOT 1
- [Bug] Updating scheduled email report fails if goal has been deleted
- [Bug] Redirect issue when editing a goal
- Add possibility to customize icon of events per event category
- Optional Order ID
- [Bug] Plugin on activated does not load `configs.php` and results in \DI\NotFoundException
- [Bug] Segments: Filtering by country results in inconsistent data HOT 4
- how to track network status ? HOT 1
- [Bug] double metric _paq.push(['trackSiteSearch', false, false]) HOT 2
- [Bug]: Expand βOthersβ section for Pages not working
- [Bug] URL decoding should not be used when saving regular expressions
- Cross-visit Reports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matomo.