Opened 4 months ago

Closed 4 months ago

#2021 closed Bug/Fehler (fixed)

Google Analytics Code always on

Reported by: ines@… Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.6.1
Component: Module Version: trunk

Description

Does #2017 concern line 14 of includes/extra/application_bottom/10_google_analytics.php ?
If not this one might be better

if (TRACKING_GOOGLEANALYTICS_GTAG == 'true'

than

if (TRACKING_GOOGLEANALYTICS_GTAG != 'true'

Attachments (0)

Change History (7)

comment:1 Changed 4 months ago by Tomcraft

  • Component changed from Admin to Module
  • Milestone set to modified-shop-2.0.6.1
  • Version set to trunk

comment:2 Changed 4 months ago by Tomcraft

The file "/includes/extra/application_bottom/10_google_analytics.php" is
for "Classic" and "Universal Google Analytics" and therefore the code is
only inserted if "Google Analytics GTAG" is set to "false".

The code is correct for my understanding as it is.

comment:3 Changed 4 months ago by ines@…

Ok, else how do I get rid of GA?
I don't need Goggle Analytics GTAG or anything else from Google for this project.

My understandig was if I deselect Google Analytics Tracking, I won't get anything for that in the source code. And if I have a look in the matomo code, I see code analoge to my suggestion.

Thanks, Ines

comment:4 Changed 4 months ago by anonymous

Ok, read, Ines, read.
But how do I get rid of Google Analytics ?
Would somethink like

if (TRACKING_GOOGLEANALYTICS_GTAG != 'true' AND TACKING_GOOGLEANALYTICS_ACTIVE !='false'

work to get rid of Google Analytics?

comment:5 Changed 4 months ago by Tomcraft

I attached the corresponding changeset r13509 in ticket #2017 for you.

Please give feedback if that helped.

comment:6 Changed 4 months ago by ines@…

Yes, thank you. That has helped.

Regards, Ines

comment:7 Changed 4 months ago by GTB

  • Resolution set to fixed
  • Status changed from new to closed

already fixed in r13509

Add Comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.