add google analytics
Closed this issue · 12 comments
not that we even really have pages... hmm.. haha
Why not? The more data we have, the better. Plus, Analytics supports
some kind of URL pushing, that suits our ajaxified app.
Do we have a Google Analytics component?
it would be duplicate content anyway since we're just copying the github readmes
Would still be intresting to see, which components are searched a lot.
👍 I wish github would let me use google analytics to see page views etc. of all my readmes (I'm vain like that)
I'm feeling absolutely the same. I'd love to know, how often my repos are clicked and cloned. :D
I was pretty sad, that readme images are cached. Haha.
(does 'component install' already ping to the registry?)
Nice point HTTPS images aren't cached, so I can use them to generate analytics data. :-)
Oh, wait a second... HTTPS images pass through? I think I need to code a little analytics server. ❤️
i think the http caching policy is the same for https content (assuming it's requested via https again), but it should respect the headers still
github caches http image links for several hours, mostly because it has to serve them through a proxy so that they end up on https (and don't mess up the nice green badge in the top left corner). It leaves https image links in tact though. You can see this in action when you do inspect element on a travis status badge in a github readme.
@silvinci If you do build something you could hook it into Google Analytics via something like https://github.com/Skookum/nodealytics
Great, thanks! This looks promising. When I get home from school I'll start a component based app on here in GitHub so people can use it as another example.
Looking forward to seeing it.