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

The target link can always not be redirect successfuly using content-tracking #7782

Closed
SophiaJOYME opened this issue Apr 28, 2015 · 9 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.

Comments

@SophiaJOYME
Copy link

Since I use piwik cotent-tracking, the href=/anylink will be replaced with a link to piwik.php of Piwik installation which will in turn redirect the user to the actual target to actually track the interaction. Actually, we cannot open the target link now, the redirection costs lot of time, and the link cannot be opend mostly. Any solution for that? Thanks!

@SophiaJOYME
Copy link
Author

If every tracked link would be redirected, how can we visit our website quickly?
http://developer.piwik.org/guides/content-tracking

@hazrina
Copy link

hazrina commented Apr 28, 2015

test1

@SophiaJOYME
Copy link
Author

http://hhwqh.joyme.com/96703.shtml, the tracking now be added all second level pages first navigation except index page.

@SophiaJOYME
Copy link
Author

nav

@mattab
Copy link
Member

mattab commented Jul 14, 2015

Hi @tsteur do you know if it is possible to disable the piwik.php redirection, or would it be a feature request to be able to do Content Tracking without the piwik.php redirect? Couldn't find the info in http://developer.piwik.org/guides/content-tracking in a quick glance

@tsteur
Copy link
Member

tsteur commented Jul 14, 2015

It's not possible to do it (yet). I'd prefer to completely remove piwik.php redirect unless we also that setting (that needs to be implemented) for outlinks. As we track context menu clicks and middle clicks etc as "clicked" we could do same here for content interactions and remove piwik.php redirect

@mattab
Copy link
Member

mattab commented Jul 15, 2015

I'd prefer to completely remove piwik.php redirect

I also like the idea of removing the piwik.php redirect completely, and use the same technique as for download/outlink tracking which is to send http request + wait 500ms (configurable) before redirecting to actual target. How much effort would it be do you think?

@mattab mattab added Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. and removed Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels Jul 15, 2015
@mattab mattab added this to the Short term milestone Jul 15, 2015
@tsteur
Copy link
Member

tsteur commented Jul 15, 2015

I don't remember the code too much but it shouldn't be too much work as everything is already there re Outlinks/Downloads. There's also to do: Adjusting tests, removing redirect feature in piwik.php, a lot of testing. Maybe 3-7 hours?

@mattab
Copy link
Member

mattab commented Feb 24, 2019

Closing as duplicate of #12227 where we will remove the piwik.php redirect feature on content tracking (and use send beacon instead).

@mattab mattab closed this as completed Feb 24, 2019
@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

4 participants