Re: Manage analytics through tag manager? - Mailing list pgsql-www

From Dave Page
Subject Re: Manage analytics through tag manager?
Date
Msg-id CA+OCxozEJ1T4=OrMYW-TsR6=Ve=kiSXdvWy9cnxTtKi3yFdPMw@mail.gmail.com
Whole thread Raw
In response to Re: Manage analytics through tag manager?  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Manage analytics through tag manager?
List pgsql-www


On Thu, Jul 2, 2020 at 2:52 PM Daniel Gustafsson <daniel@yesql.se> wrote:
> On 2 Jul 2020, at 15:38, Dave Page <dpage@pgadmin.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

pgsql-www by date:

Previous
From: Dave Page
Date:
Subject: Re: Manage analytics through tag manager?
Next
From: Daniel Gustafsson
Date:
Subject: Re: Manage analytics through tag manager?