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

Add Piwik stats #493

Closed
pascalchevrel opened this Issue Jul 4, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@pascalchevrel
Member

pascalchevrel commented Jul 4, 2015

We have set up Piwik on the mozfr server, we can activate it for the Transvision subdomain.

That means that we need to add some js in the base template to send hits to Piwik.

For pages without a template (our JSON API calls), I need to investigate if/how those can be counted

We also need to make it an optional setting because we don't want local installs, or non-official installs (on our VPSes or other people's) to send data to our Piwik instance. Similarily, we probably want other installations to send data to a separate Piwik instance or a different profile (for example a separate stats profile for our beta site).

@pascalchevrel pascalchevrel self-assigned this Jul 4, 2015

@pascalchevrel

This comment has been minimized.

Show comment
Hide comment
@pascalchevrel

pascalchevrel Jul 4, 2015

Member

That also means that we will have to apply the patch on the production server before a release so as to make sure that it works and sends data to Piwik correctly

Member

pascalchevrel commented Jul 4, 2015

That also means that we will have to apply the patch on the production server before a release so as to make sure that it works and sends data to Piwik correctly

@flodolo

This comment has been minimized.

Show comment
Hide comment
@flodolo

flodolo Jul 4, 2015

Contributor

Add a piwikurl to config.ini and inject JS only if that's available?

Contributor

flodolo commented Jul 4, 2015

Add a piwikurl to config.ini and inject JS only if that's available?

@pascalchevrel

This comment has been minimized.

Show comment
Hide comment
@pascalchevrel

pascalchevrel Jul 4, 2015

Member

That's the patch I am doing now :)

Member

pascalchevrel commented Jul 4, 2015

That's the patch I am doing now :)

pascalchevrel added a commit to pascalchevrel/transvision that referenced this issue Jul 4, 2015

Issue #493: Piwik Template integration
- add piwik_url and piwik_id variables to config.ini
- integrate js only in production mode, if the settings exist and are valid
@pascalchevrel

This comment has been minimized.

Show comment
Hide comment
@pascalchevrel

pascalchevrel Jul 4, 2015

Member

I couldn't find any way to track non-HTML pages

Member

pascalchevrel commented Jul 4, 2015

I couldn't find any way to track non-HTML pages

pascalchevrel added a commit that referenced this issue Jul 4, 2015

Merge pull request #494 from pascalchevrel/piwik
Issue #493: Piwik Template integration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment