[www-doc] [Git][VideoLAN.org/websites][master] header: remove the Universal Analytics tag

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed Nov 4 12:34:38 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN organization / websites


Commits:
d2be1e10 by Martin Finkel at 2026-11-04T17:15:13+07:00
header: remove the Universal Analytics tag

Google stopped processing Universal Analytics data in July 2023, so the
UA-38853043-1 tag only loaded Google's script on every page and sent
visitor hits nowhere.

- - - - -


1 changed file:

- www.videolan.org/include/header.php


Changes:

=====================================
www.videolan.org/include/header.php
=====================================
@@ -253,16 +253,7 @@ function start_head( $title,
             }
         } ?>
 
-        <?php /* Analytics */ ?>
-        <!-- Google tag (gtag.js) -->
-            <script async src="https://www.googletagmanager.com/gtag/js?id=UA-38853043-1"></script>
-            <script type="text/javascript">
-            window.dataLayer = window.dataLayer || [];
-            function gtag(){dataLayer.push(arguments);}
-            gtag('js', new Date());
-
-            gtag('config', 'UA-38853043-1', { 'anonymize_ip': true })
-
+        <script type="text/javascript">
             function isTouchDevice() {
                 return 'ontouchstart' in window || navigator.maxTouchPoints;
             };



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/d2be1e10be9cf433769278975c37a9e7e4ac0d88

-- 
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/d2be1e10be9cf433769278975c37a9e7e4ac0d88
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the www-doc mailing list