• Blocking Google Analytics

    From Lawrence D'Oliveiro@21:1/5 to All on Thu Mar 14 04:57:25 2024
    I currently have the following in my /etc/hosts file:

    127.0.0.1 google-analytics.com
    127.0.0.1 googletagmanager.com
    127.0.0.1 securepubads.g.doubleclick.net
    127.0.0.1 www.google-analytics.com
    127.0.0.1 www.googletagmanager.com

    I think this is the reason why I see blank areas labelled “Advertisement” on certain sites. ;)

    Any others you have found useful?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Crash@21:1/5 to ldo@nz.invalid on Thu Mar 14 20:01:41 2024
    On Thu, 14 Mar 2024 04:57:25 -0000 (UTC), Lawrence D'Oliveiro
    <ldo@nz.invalid> wrote:

    I currently have the following in my /etc/hosts file:

    127.0.0.1 google-analytics.com
    127.0.0.1 googletagmanager.com
    127.0.0.1 securepubads.g.doubleclick.net
    127.0.0.1 www.google-analytics.com
    127.0.0.1 www.googletagmanager.com

    I think this is the reason why I see blank areas labelled Advertisement
    on certain sites. ;)

    Really? Have you forgotten about your ad blockers?

    Any others you have found useful?


    --
    Crash McBash

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ralph Fox@21:1/5 to Lawrence D'Oliveiro on Thu Mar 14 22:23:31 2024
    On Thu, 14 Mar 2024 04:57:25 -0000 (UTC), Lawrence D'Oliveiro wrote:

    I currently have the following in my /etc/hosts file:

    127.0.0.1 google-analytics.com
    127.0.0.1 googletagmanager.com
    127.0.0.1 securepubads.g.doubleclick.net
    127.0.0.1 www.google-analytics.com
    127.0.0.1 www.googletagmanager.com

    I think this is the reason why I see blank areas labelled “Advertisement” on certain sites. ;)

    Any others you have found useful?


    See the Example 2 list here:
    <https://calomel.org/proxy_auto_config.html>

    The PAC file in example 2 covers any domain ending in ".doubleclick.com", ".doubleclick.net", or ".googlesyndication.com". Something you can do
    more easily with a PAC file than with a hosts file.


    --
    Kind regards
    Ralph Fox
    🦊

    No place no condition is exempt from all trouble.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Ralph Fox on Thu Mar 14 20:37:15 2024
    On Thu, 14 Mar 2024 22:23:31 +1300, Ralph Fox wrote:

    Something you can do more easily with a PAC file than with a hosts file.

    Except that’s something that has to be loaded on a per-browser basis.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)