Re: Manage analytics through tag manager?

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
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 13:56:30
Message-ID: CA+OCxozEJ1T4=OrMYW-TsR6=Ve=kiSXdvWy9cnxTtKi3yFdPMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

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

> > On 2 Jul 2020, at 15:38, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
> > Can you or Daniel or someone else please give the attached patch a quick
> look over before I commit it?
>
> Correct me if I'm wrong, but won't this only run tracking for those with
> DNT set?
>
> +var DNT = navigator.doNotTrack || window.doNotTrack ||
> navigator.msDoNotTrack || window.msDoNotTrack;
> +if ((DNT == "1") || (DNT == "yes")) {
> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
>

Yeah, sorry - brain fart, per my previous email.

Let's try again with the attached.

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

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

Attachment Content-Type Size
GTM_with_DNT_support-v2.patch application/octet-stream 1.3 KB

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Daniel Gustafsson 2020-07-02 13:59:11 Re: Manage analytics through tag manager?
Previous Message Dave Page 2020-07-02 13:53:01 Re: Manage analytics through tag manager?