Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking file:// Links #5956

Closed
ingrid-schiele-fnt opened this issue Aug 8, 2014 · 1 comment
Closed

Tracking file:// Links #5956

ingrid-schiele-fnt opened this issue Aug 8, 2014 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@ingrid-schiele-fnt
Copy link

Hi everybody,

we do an assessment of available analytics tools and decided to use piwik for our internal wiki. Piwik is a great tool and helps us much to get infomation to improve our system. Our wiki should act as an roadmap to other systems in our application landscape so it is important for us to know which outlinks are used by the users. Unfortunately the tracking of file links doesn't work.

I try different things to get the tracking running:

[code]
< !-- this tracking works -->
< a href='http://mysite.com/partner/' class='piwik_link'>Link I want to track as an outlink< /a>

< !-- this tracking not -->
< a href='file://///filesrv01/doris/Templates/Email/' class='piwik_link'>Verweis auf fileverzeichnis mit piwik_link< /a>

< !-- this tracking using trackLink works-->
< a href="mailto:namexyz@mydomain.co.uk" target="_blank" onClick="javascript:_paq.push(['trackLink', 'http://mydomain.co.uk/mailto/Agent namexyz', 'link']);">namexyz@mydomain.co.uk < /a>

< !-- this not -->
< a href="file://///filesrv01/doris/Templates/Email/" target="_blank" onClick="javascript:_paq.push(['trackLink', 'file://///filesrv01/doris/Templates/Email/', 'link']);">trackLink auf fileverzeichnis < /a>
[/code]

It seems that only http and https links are tracked, so I try the following

< a href="file://///filesrv01/doris/Templates/Email/" target="_blank" onClick="javascript:_paq.push(['trackLink', 'http://filelink.de/filesrv01/doris/Templates/Email/', 'link']);">trackLink auf fileverzeichnis filelink.de < /a>

And this version works. But no I'm wordering is there a better and much nicer way to get the file tracking run?

Greetings
Ingrid

@mattab
Copy link
Member

mattab commented Aug 9, 2014

Hi Ingrid, instead of using trackLink please use the function trackEvent. See more info: event tracking user guide

For example you can track an event with category "file link" and action "the file name here".

@mattab mattab closed this as completed Aug 9, 2014
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants