Live data from Hacker News

The Google Analytics Setup I Use on Every Site I Build

philipwalton.com

81–90 of 108 posts

Re: The Google Analytics Setup I Use on Every Site I Build

#81

Please don't contribute to Google's tracking dominance over the web. How insane is it that one company runs their javascript on 90% of the web?

What are the best alternatives?

Keen IO is a great alternative. Full disclosure, I'm a product manager at Keen. That said, we do help some of our customers move off of GA to gain more control and flexibility in their analytics

Re: The Google Analytics Setup I Use on Every Site I Build

#82

Please don't contribute to Google's tracking dominance over the web. How insane is it that one company runs their javascript on 90% of the web?

What are the best alternatives?

Heap Analytics -- https://heapanalytics.com

And I run everything through Segment rather than embedding individual trackers directly. Segment either relays data to other services or loads required JS on page load.

Re: The Google Analytics Setup I Use on Every Site I Build

#83

Please don't contribute to Google's tracking dominance over the web. How insane is it that one company runs their javascript on 90% of the web?

What are the best alternatives?

It is actually easy to implement GA-like functionality in JS, send the event data to the server, and process it e.g. daily. You can start slowly, e.g. track only clicks (make it sync), visit time and scroll (both async).

Of course my homegrown analytics reporting is far from Google's, but at least I have found a great balance between getting useful usage data on my sites, and at the same time respecting the visitors' privacy.

Re: The Google Analytics Setup I Use on Every Site I Build

#84
post #81

Earlier quoted context omitted.

What are the best alternatives?

Keen IO is a great alternative. Full disclosure, I'm a product manager at Keen. That said, we do help some of our customers move off of GA to gain more control and flexibility in their analytics

I last tried keen a few years ago, and really liked it.

The one thing I didn't like, and stopped using it was the pricing , which looks like has now been updated to be more realistic.

Definitely checking it out again now.

Re: The Google Analytics Setup I Use on Every Site I Build

#85

Earlier quoted context omitted.

Reports are from 20-30% of desktop and mobile users make use of some sort of adblocker/privacy tool. That is a very large set of users, and in some industries and domains the numbers go much higher. Purely for self-protection/anti-aggravation I absolutely recommend it to every casual user I advise.

I don't believe that figure at all for the general populace.

Do you have any sort of citation or is this just opinion? If you have evidence, please share.

Re: The Google Analytics Setup I Use on Every Site I Build

#86
post #48

Earlier quoted context omitted.

Google Tag Manager is not very practical in cases where you want a secure website. It renders CSP useless because it requires all sorts of permissions like 'self' on scripts and CSS. It's good to have on the marketing webpage where no user content is displayed though.

Can you elaborate on this? I recently had my marketing team ask me to replace GA with Google Tag Manager, and I'm not all that familiar with either, as running the web site is just a minor thing I do on the side of my product work... but this sounds like something I should know more about.

In the simplest terms, Google Tag Manager (GTM) is a script you load on your site that then loads additional (arbitrary) code based on conditions (which are executed client side). In the case of something like GA, let's say you want to track a new website activity or maybe want to pass data to a new custom dimension. Without GTM, you would update your GA javascript file. With GTM, you would make the update within their interface and that new code would get injected into your site. This enables (for right or wrong) the analytics team to manage what / how data gets collected in GA.

Within GTM you have the ability to inject html, javascript, css OR in many cases they have a wizard where someone less technical can put in some info and the code is generated. You can also use conditions to determine which code should load. For example, if page URL matches "orderConfirm" then execute this. Moreover, it gives you the option of when the code should run (immediate, DOM ready, onLoad).

Aside from GA, most companies have a shit load of 3rd party scripts that run on their pages, so GTM provides a central place to manage everything.

One problem is that anyone with editor access to GTM can inject just about anything (unless you block custom scripts within GTM which has other implications) and those deployments are real-time and done directly within the GTM web interface. I'm a developer on the marketing team, so I'm a fan, but it's risky in the wrong hands.

Re: The Google Analytics Setup I Use on Every Site I Build

#87

Please don't contribute to Google's tracking dominance over the web. How insane is it that one company runs their javascript on 90% of the web?

What are the best alternatives?

https://truestats.com - this actually scores all your visitors on how likely they are bots.

Re: The Google Analytics Setup I Use on Every Site I Build

#89

Please don't contribute to Google's tracking dominance over the web. How insane is it that one company runs their javascript on 90% of the web?

It's a tough call, especially if your revenue model is ad based. They ad networks only trust 3rd party analytics.

Re: The Google Analytics Setup I Use on Every Site I Build

#90
Hi people, I confirmed the excellent works of these certified hackers last week and I was amazed, they helped me hack an email account and phone's texts and I was able to check the mails entering the email account and the texts sent and received on the phone. Contact them on ZEUSHACKERS01@OUTLOOK.COM. They also hack websites,instagram hacks, kik hacks, upgrade school grades,tracking device,whatsapp hacks, fix credits, gmail account hack, iCloud hacks, facebook hacks and lots of hacking services. . Tell him I referred you
Post reply on HN