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

Piwik tracking isn't working, consider disabling it for now? #406

Closed
DeeDeeG opened this issue Dec 25, 2017 · 13 comments
Closed

Piwik tracking isn't working, consider disabling it for now? #406

DeeDeeG opened this issue Dec 25, 2017 · 13 comments

Comments

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Dec 25, 2017

Hi all.

As I mentioned in #395, Piwik tracking isn't actually working right now. Users' browsers request the piwik.js file from enspiral.info, which times out after taking a really long time trying to download the file. I think the file is gone from enspiral's servers. [Edit: not gone, just HTTP-only (not available over HTTPS) ]

We should probably either disable/remove Piwik from our site, or do the work of setting up another Piwik instance somewhere. [Edit: see comments below.]

@DeeDeeG
Copy link
Contributor Author

DeeDeeG commented Dec 25, 2017

Actually, the javascript file is still there. You can test it's still there by visiting:

http://analytics.enspiral.info/piwik.js

Not sure what's going on at this point, but I'm trying to find out (doing some research).

[Edit:

Okay it works over HTTP [non-secure], but not over HTTPS. i.e.:

http://analytics.enspiral.info/piwik.js
vs
https://analytics.enspiral.info/piwik.js

And by the way, our site requests it using the https:// URL.

/Edit]

@DeeDeeG
Copy link
Contributor Author

DeeDeeG commented Dec 25, 2017

If we still want Piwik tracking, it would be super awesome if Enspiral would be willing to set up their servers to serve piwik.js over HTTPS. That would solve our being unable to download the file.

It would also be better than our having to try to fetch it over HTTP [non-secure]. I'm not even sure whether that would be allowed by most browsers or not. But that would be another option to look into.

So to sum up, our options are:

  1. Ask Enspiral to serve piwik.js over HTTPS
  2. Fetch piwik.js over HTTP (if possible)
  3. Disable Piwik tracking for now
    3.1 Abandon using piwik entirely (?)
  4. Leave it alone (do nothing)

@ghost
Copy link

ghost commented Dec 26, 2017

I'm not familar with Piwik, but glancing at their website it appears there is also the option of downloading and running a self hosted copy.
https://piwik.org/docs/installation/

@stardust66
Copy link
Contributor

That would be a good option, but I don't think we can make it work with Heroku.

@DeeDeeG
Copy link
Contributor Author

DeeDeeG commented Dec 26, 2017

Maybe we could get another Heroku instance that acts as the Piwik server.

@ghost
Copy link

ghost commented Dec 26, 2017

It looks like there is a pre-packed installer for it utilizing Docker for Heroku, available with a one click install. Not sure if the cost is feasible as I am not familar with y'alls organization but looks to be pretty painless going that route (and LAMP is a tad painful compared to other stacks with Heroku).

https://github.com/dz0ny/heroku-docker-piwik

@DeeDeeG
Copy link
Contributor Author

DeeDeeG commented Dec 26, 2017

Seems like everything in there is potentially free except for JawsDB MySQL (free tier only gives you a 5mb database, larger tiers are $10/month and up)
https://elements.heroku.com/addons/jawsdb#pricing
https://elements.heroku.com/addons/jawsdb-maria#pricing

Also if we needed a paid Heroku instance for performance reasons, or because the "free dyno hours" got used up, we'd be paying monthly for that as well. Hopefully we wouldn't need to, though. (~$7/month and up for paid "dynos")
https://www.heroku.com/pricing

@mi-wood
Copy link
Member

mi-wood commented Jan 30, 2018

I am ok with disabling this for now, since A) It's not working and B) I don't think anyone looks at it. I think we should just set a separate ticket for adding analytics (whether that is piwik or not).

@tkwidmer any thoughts?

@mi-wood mi-wood mentioned this issue Jan 30, 2018
@mi-wood
Copy link
Member

mi-wood commented Jan 30, 2018

@mi-wood mi-wood mentioned this issue Jan 30, 2018
@mi-wood
Copy link
Member

mi-wood commented Jan 30, 2018

I signed up for piwik's hosted service, which has a 30 day trial and is $7 after.

I just had to change the js to use https: and it should be good to go.

PR is here: #440

@DeeDeeG
Copy link
Contributor Author

DeeDeeG commented Feb 22, 2018

Our free trial will end at roughly February 28th.

Any thoughts as to whether to renew the subscription when the free trial ends?

@ghost
Copy link

ghost commented Feb 25, 2018

Digital marketing and analytics is a large majority of my work, so I definitely understand getting analytics how you want them is difficult and having to re-do things sucks. So myself and another GitHubber (@jdorman0) collected $40 dollars to go towards paying up for a few months, or if y'all end up deciding Piwik doesn't provide enough value to warrant paying for then maybe it'll cover a few months of hosting or getting the core maintainers a cup of coffee.

What is the best way to send this? I checked out the Patreon but didn't see an option for a one-time donation.

EDIT: I ended up just doing it through Patreon, figured this would be easiest. Best of luck with y'alls site!

@mi-wood
Copy link
Member

mi-wood commented Mar 10, 2018

@jodylecompte Sorry for the late reply, but thanks so much! That will definitely help with subscription costs for a while!

@mi-wood mi-wood closed this as completed Mar 10, 2018
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

3 participants