devinit / DIwebsite-redesign

New DI website 2019
1 stars 1 forks source link

GA4 is including admins' behaviour in analytics, which means the analytics aren't representing users real behaviour #1370

Open SimonMurphyDI opened 8 months ago

SimonMurphyDI commented 8 months ago

Historically, we've tried to remove admins' activities from our web analytics see here: https://github.com/devinit/DIwebsite-redesign/issues/1248

But it looks like that's still happening

Please can we amend analytics so we're just looking at external users' behaviour? (Ideally this would also mean sections of the site that are password protected like the board portal and the gates work areas are unincluded)

Thanks! Simon

ThatcherK commented 8 months ago

@SimonMurphyDI , it looks like we are going to have to exclude internal IPs again

wakibi commented 7 months ago

@ThatcherK, this could be a long shot, but I believe the solution would be somewhere along excluding analytics collected when a user is logged in. It's only admins that log in I suppose. Is that doable? Excluding internal IPs may not be the best option here.

ThatcherK commented 7 months ago

@wakibi let me see if there is another way to do it apart from using IP addresses, perhaps with javascript? otherwise, the current option provided by google analytics is using IP addresses

ThatcherK commented 7 months ago

@SimonMurphyDI this is now done, I added a filter to the report to exclude admins

wakibi commented 6 months ago

@ThatcherK @SimonMurphyDI do we need to close this now? Or you are still testing?

ThatcherK commented 6 months ago

Done on my end