Unreadable tracked URLs


(rantanplan) #1

Hello folks,

is it possible that you set some ‘rules’ so the displayed URLs are readable and meaningful?

I’ve got URLs like example.com/indexuid4asf09saf90u3fjl3ih9.htm that are tracked as, logically, indexuid4asf09saf90u3fjl3ih9.htm

Is there a plugin or Piwik feature that transforms this entries into e.g. news/whatever/or/whatever/ever (or whatever)?

Best regards and thanks for any help style_emoticons/<#EMO_DIR#>/smile.gif


(Matthieu Aubry) #2

You can’t edit the names from the Piwik UI, but you can record the right names, by specifying the name in the piwik javascript code. Please have a look at the Javascript Tracking documentation

A common way is to use the HTML Title value:

[…]
piwik_action_name = document.title;
piwik_idsite = 1;
piwik_url = ‘http://yourwebsite/piwik/piwik.php’;
piwik_log(piwik_action_name, piwik_idsite, piwik_url);
[…]