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

Add Piwik Analytics Support #3018

Closed
jri-sp opened this issue Mar 15, 2016 · 8 comments
Closed

Add Piwik Analytics Support #3018

jri-sp opened this issue Mar 15, 2016 · 8 comments
Assignees

Comments

@jri-sp
Copy link
Contributor

jri-sp commented Mar 15, 2016

Hi all,

Google Analytics is already supported by Dataverse, but Piwik is not.
I've implemented a new Snippet like the Google one and included it to the dataverse template.

It seems to work well for me, I would like to show you that in Pull Request. So I'm creating this issue to respect the Feature Request Process.
It could be useful for other users.

Some issues are related to this: #1594 #2729
Quick discussion on IRC: http://irclog.iq.harvard.edu/dataverse/2016-03-15#i_32730

My commits are visible here:

Regards,

@pdurbin
Copy link
Member

pdurbin commented Mar 16, 2016

@jri-sp it was nice chatting with you yesterday about this. Not all of us are familiar with http://piwik.org but as you indicated, it's been mentioned as an alternative to Google Analytics (by @bencomp ) in #1594 and at #2729 (comment)

I just left you a tiny comment at jri-sp@b7c9683#commitcomment-16727570 .

I think you should go ahead and make a pull request, especially since you said it's working for you: http://irclog.iq.harvard.edu/dataverse/2016-03-15#i_32743

pdurbin referenced this issue in jri-sp/dataverse Mar 16, 2016
@bencomp
Copy link
Contributor

bencomp commented Mar 17, 2016

We are looking at using Piwik for several of our services and out-of-the-box support in Dataverse would be great.

Do I understand correctly that this snippet only tracks page views, no other fancy things like actions (e.g. downloads) or searches? (I do need to get my hands dirty with Piwik, as searches might automatically be tracked - I don't know that yet :))

@sgrunt91
Copy link

Hi, @pdurbin and @bencomp ,

Yes, for now this code only tracks page views. Here is some examples:
capture d ecran 2016-03-22 a 12 48 34
capture d ecran 2016-03-22 a 12 49 39

In the screenshot dataset.xhtml?persistentId=doi:10.5072 > FK2 > 6WM7RL is a download of a .jpg but it's not in the Piwik's download section because of the Dataverse download mecanism through dataset.xhtml.

To add download support I think we need to add a CSS class, more info on http://piwik.org/faq/new-to-piwik/faq_47/

Am I wrong ?

@jri-sp jri-sp mentioned this issue Sep 22, 2016
11 tasks
@pdurbin
Copy link
Member

pdurbin commented Sep 22, 2016

@jri-sp just made pull request #3374 and I left a comment at #3374 (comment)

I have encouraged @jri-sp and @rmo-cdsp to call in via http://dataverse.org/community-calls to see if the issue can be moved out of "Backlog" at https://waffle.io/IQSS/dataverse

See our full conversation at http://irclog.iq.harvard.edu/dataverse/2016-09-22

@mheppler
Copy link
Contributor

Reviewed the code with @pdurbin, and all looks good. We agreed that we'd like @raprasad to also take a peek, in regards to the render used, which was based on his code for Google Analytics.

@mheppler
Copy link
Contributor

Received confirmation from @raprasad that everything looks good.

@djbrooke djbrooke added this to the 4.5.1 - IP Groups fixes milestone Sep 22, 2016
@djbrooke djbrooke self-assigned this Sep 22, 2016
@djbrooke
Copy link
Contributor

I'm going to add some documentation for this.

@djbrooke
Copy link
Contributor

Oops - verified that documentation has been added as part of #3374

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants