Re: Manage analytics through tag manager?

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

On Thu, Jul 2, 2020 at 2:38 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:

>
>
> On Thu, Jul 2, 2020 at 1:50 PM Magnus Hagander <magnus(at)hagander(dot)net>
> wrote:
>
>>
>>
>> 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)
>>
>
> Thanks. Can you or Daniel or someone else please give the attached patch a
> quick look over before I commit it?
>

Hold that thought, logic bug detected...

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Dave Page 2020-07-02 13:56:30 Re: Manage analytics through tag manager?
Previous Message Daniel Gustafsson 2020-07-02 13:52:49 Re: Manage analytics through tag manager?