Making WordPress.org

Changeset 8276


Ignore:
Timestamp:
02/19/2019 04:45:34 AM (6 years ago)
Author:
dd32
Message:

Login: Add Google Tag Manager.

Fixes #4185.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/header.php

    r6660 r8276  
    1414<meta name="viewport" content="width=device-width, initial-scale=1">
    1515
     16<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
     17new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
     18j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
     19'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
     20})(window,document,'script','dataLayer','GTM-P24PF4B');</script>
     21
    1622<?php wp_head(); ?>
    1723</head>
    1824<body <?php body_class( 'wp-core-ui login' ); ?>>
     25<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P24PF4B" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    1926
    2027<div id="login">
Note: See TracChangeset for help on using the changeset viewer.