gpodder / gpodder.github.io

Collaboratively-maintained gPodder website
http://gpodder.github.io
35 stars 42 forks source link

Add google analytics tracking code #2

Closed adamvoss closed 7 years ago

adamvoss commented 7 years ago

@thp Is there an existing Tracking ID that should be used? If not I can create one and grant you all privileges.

elelay commented 7 years ago

Can google analytics be included in the 404 page only?

adamvoss commented 7 years ago

@elelay That is be possible. We would miss out on page view information for the rest of the site though.

thp commented 7 years ago

No, I don't have an existing ID. Feel free to create one.

elelay commented 7 years ago

@adamvoss I fail to see the point in adding google analytics. Can you elaborate?

adamvoss commented 7 years ago

@elelay My primary motivation is to enable the project to be able to answer questions about its website. Does it have any users? How many? Which pages are most popular? Etc.

The site was self-hosted they could have gotten that information from the web server (if it was so configured), now that it is hosted on the GH Pages platform a JavaScript-based solution is simplest (alternative would be tracking images, but we would need a server to host that).