OpenUserJS / OpenUserJS.org

The home of FOSS user scripts.
https://openuserjs.org/
GNU General Public License v3.0
856 stars 302 forks source link

Add Google Analytics / Server Side Tracking #339

Closed Zren closed 9 years ago

Zren commented 10 years ago

We're getting 503s atm, and it would be good to know how much traffic we're getting to contributes to this. Not sure if @sizzlemctwizzle has server side tracking setup, but we can add something clientside.

Since we're serving static content on the same server, a 503 on a static content request will usually cause the UI to go unstyled.

jerone commented 10 years ago

:+1: on adding Google Analytics

It might be also a good idea to share the login credentials for the server, so more people can observe and handle when required.

Martii commented 10 years ago

Not sure if @sizzlemctwizzle has server side tracking setup

Probably does however this is related in part to #330. EDIT: e.g. Should subside when complete (hopefully later this week after the holiday).

but we can add something clientside.

Which will be blocked on my nets for sure. GA shares information with their partners which are vast so I'm a -1 at this point without a serious need. The 503's have been present during high traffic periods on the cloud which nodejitsu is responsible for.

I'd rather have some additional administration charts (notice the spikes at ~3:50 and ~6:00 whatever coordinated time) exposed and keep everyones privacy intact.


Since we're serving static content on the same server

Think cloud here not server.


It mite be also a good idea to share the login credentials for the server, so more people can observe and handle when required.

Not entirely sure what you want from this. Care to elaborate?

Zren commented 10 years ago

The fact that were getting 503s at all means there's need for it.

Server side tracking is definitely needed as not every route is a webpage. And the heaviest load should probably be on the meta pages.

99% of sites use analytics. Us not using it doesn't protect the user at all on those other sites. Users who go out of their way to protect themselves like you won't be affected either.

Zren commented 10 years ago

The nodejitsu page represents all sites on nodejitsu and is fairly useless for us as we need individual route performance in order to find bottlenecks.

cletusc commented 10 years ago

Which will be blocked on my nets for sure.

You are in the vast minority regarding whether a script works or not. It doesn't hurt not having it, and can provide valuable info for when it does work.

I am +1.

Martii commented 10 years ago

minority

You stepped out as an owner of your own free will. Sizzle will determine this for sure since he pays the bills but my vote is in so he can make an educated decision instead of a rash one that is based off of false information about any 503's being present. This isn't a new issue either (and I have maffs to prove it but I'm not at dev machine to upload those) so no one can blame it on the hosting the packages in our project. You are probably incorrect when you said that npm packages are installed soley in our host site. They are probably symlinked in and load balanced across the cloud which would be the smarter thing to do.

If anyone can prove that it's worth merit I'd be happy to read it. Until don't make this into a mountain when the other mole hills aren't complete yet. :)

99% of sites use analytics

100% of my nets which include many site don't use GA. You are also forgetting that some of the prior PRs are unit tests to probe nodejitsu. You are also forgetting about the revisiting CDNs. I'll be very blunt here and I apologize if someones ego gets bruised in advance the not so bright moment of using cloudflare for hosting when we can't control it or the original maintainers is one of the most inept decisions made. jQuery for example is quite easily referenced on the jQuery domain or at the most google apis. The mightfix is in there because it might be added to the project if sizzle decides so... until then all PRs with it in it will be rejected and you all should probably concentrate on finishing up your other PRs first that you assigned yourselves. I like the one you closed Zren even though it was too much in one shot. Dead code is different than unused library code imo.

Zren commented 10 years ago

Analytics = some form of reporting.

If you think that a large site doesnt have some form of it than you are naive. Just because it's not client side where you can see it doesn't mean its not there.

I don't really care about tracking users so much as seeing how many hits were getting, how long the request take, and how many 503s were getting.

Larger sites also have the manhour resorces to roll their own tracking analytic software.

Martii commented 10 years ago

One can say that using GA is naive as well. Assigned to sizzle as he will be in control of it if it gets created on their servers.

Martii commented 9 years ago

@sizzlemctwizzle I've got a local branch with the fixes ready if you want... let me know if you want me to reassign to me for that.

sizzlemctwizzle commented 9 years ago

Yeah, you can take it. On Jul 29, 2015 5:52 PM, "Marti Martz" notifications@github.com wrote:

@sizzlemctwizzle https://github.com/sizzlemctwizzle I've got a local branch with the fixes ready if you want... let me know if you want me to reassign to me for that.

— Reply to this email directly or view it on GitHub https://github.com/OpenUserJs/OpenUserJS.org/issues/339#issuecomment-126120050 .