r/javascript • • Feb 16 '17

The Google Analytics Setup I Use on Every Site I Build

https://philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build/
320 Upvotes

24 comments sorted by

46

u/ourari Feb 16 '17 edited Feb 16 '17

Or switch to Piwik to help us defend our digital rights from Google's surveillance capitalism.

And for those looking to defend themselves against tracking, check out /r/privacytoolsIO.

3

u/OppenheimersGuilt Full stack dev Feb 17 '17

This is what I did. Using Piwik and can't be happier.

I did the setup with Nginx and PHP-FPM.

Painlessly easy.

2

u/iRuisu Feb 17 '17

Just read this comment and all of a sudden receive an email from Mozilla about a privacy paradox..

4

u/ScoopDat Feb 16 '17

Preach! That sub won't load on mobile for some reason.

3

u/[deleted] Feb 17 '17

It's because of the .

/r/privacytoolsIO

1

u/ScoopDat Feb 17 '17

Ahhh that works haha

3

u/ourari Feb 16 '17

2

u/ExecutiveChimp Feb 16 '17

Who are they?

5

u/ourari Feb 16 '17

A group of volunteers who care about privacy. It's all crowdsourced, open source, and available under a CC or GNU license. Suggestions and contributions go through Reddit and Github.

1

u/ScoopDat Feb 16 '17

Thanks man.

1

u/ourari Feb 16 '17

My pleasure!

1

u/[deleted] Feb 17 '17

Why did I not know about Piwik?

1

u/SamSlate Feb 17 '17

or, you know.. make your own..

I found piwik to be very slow and not much more user friendly than google analytics...

0

u/[deleted] Feb 16 '17

[deleted]

6

u/[deleted] Feb 16 '17

Isn't it yet another tracker ? Piwik is open-source and you can self host it.

8

u/ryncewynd Feb 17 '17

What's with the downvoted people saying thanks? Are they bot posts or something?

3

u/MarceauKa Feb 17 '17

My comment was deleted due to downvotes u___u

5

u/fuck_with_me Feb 17 '17

Yeah, seems like it. Not surprising that the guy posting articles about analytics is followed around by a cloud of bots...

3

u/SocraticAddict Feb 17 '17

I'm not a bot. I'm a user of digital analytics tools (GA included) and legitimately found this post insightful. I have a feeling I was downvoted by Piwik supporters.

1

u/XanarchyZA Apr 01 '17

Same here :/

-19

u/XanarchyZA Feb 16 '17

Thanks helps a ton!

-21

u/MarceauKa Feb 16 '17

Very interesting! Thank you.

-23

u/ageofzetta Feb 16 '17

Read the full article, it's amazing!! Thank you very much for sharing it!!

-24

u/ageofzetta Feb 16 '17

Read the full article, it's amazing!! Thank you very much for sharing it!!

-12

u/derekja Feb 17 '17

great article!