matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.73k stars 2.63k forks source link

Tracking Facebook apps with Piwik #1926

Open mattab opened 13 years ago

mattab commented 13 years ago

Tracking facebook app with Piwik (using the Image tracking tag) seems to not work correctly as it appears facebook is caching requests and responses from the Piwik servers. This leads to incorrect tracking results (see forum post for reference).

The solution might be to have Facebook provide a tag for the Piwik JS code, as it does for GA or quantcast: http://developers.facebook.com/docs/reference/fbml/quantcast

However I'm not confident FB will want to do this, since the Piwik JS will be hosted by each separate Piwik server and therefore considered insecure (loading 1st level JS in facebook.com domain wouldn't be a good idea).

I am unsure if there is a solution for tracking FB apps with Piwik. If there is, please post a comment.

mattab commented 13 years ago

If you know any solution or idea to have interesting Facebook app tracking with Piwik, please write a comment, we would ideally like to write a quick FAQ answer about this topic if possible!