Re: Manage analytics through tag manager?

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Manage analytics through tag manager?
Date: 2020-07-02 12:33:47
Message-ID: 6FE9B59E-CBF0-4D1B-AA47-DC22867A10F1@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

> 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.

cheers ./daniel

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2020-07-02 12:50:19 Re: Manage analytics through tag manager?
Previous Message Dave Page 2020-07-02 12:25:40 Re: Manage analytics through tag manager?