Re: Manage analytics through tag manager?

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Manage analytics through tag manager?
Date: 2020-07-02 12:50:19
Message-ID: CABUevEzrbdNixDjqgW8Vi_xsL_72hfqrNH+eHS0UZjvSH8Mp6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Thu, Jul 2, 2020 at 2:33 PM Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:

> > On 2 Jul 2020, at 14:23, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> > On Thu, Jul 2, 2020 at 12:56 PM Daniel Gustafsson <daniel(at)yesql(dot)se
> <mailto:daniel(at)yesql(dot)se>> wrote:
>
> > What we can do to address concerns with tracking in the meantime is to
> honor
> > the DoNotTrack header in the site template, and only load GA/GTM in case
> > navigator.doNotTrack isn't set. Something like the (completely untested)
> > attached migth be all we need? The diff also removes the ability to
> load GA
> > over http, which we clearly shouldn't allow (and since moving the site
> to all
> > https we don't anyways IIUC).
> >
> > I think we'd also need to check windows.doNotTrack to cover Microsoft
> browsers, but yes, I think that will work with GA.
>
> Ah yes, my bad, window.doNotTrack (as you corrected in a subsequent email)
> is
> required for IE and Safari.
>
> > In GTM you can do it in the config (i.e. through the container settings
> in the management UI). Browsers would still pull the code of course, but
> then any tracking would be disabled.
>
> Right, I still prefer to do it on our side and put us in charge of whether
> tracking is invoked or not.
>

+1.

(Both on the turn it took with some more details in general, and
specifically on preventing even loading the GA/GTM scripts if the browser
is set to do not track)

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Dave Page 2020-07-02 13:38:30 Re: Manage analytics through tag manager?
Previous Message Daniel Gustafsson 2020-07-02 12:33:47 Re: Manage analytics through tag manager?