[wp-meta] [Making WordPress.org] #4625: Slack info page is missing Google Tag Manager code

Making WordPress.org noreply at wordpress.org
Thu Jul 25 09:59:26 UTC 2019


#4625: Slack info page is missing Google Tag Manager code
----------------------------+---------------------
 Reporter:  jonoaldersonwp  |       Owner:  (none)
     Type:  defect          |      Status:  new
 Priority:  lowest          |   Milestone:
Component:  General         |  Resolution:
 Keywords:  analytics       |
----------------------------+---------------------

Comment (by jonoaldersonwp):

 Same as on other wp.org pages/templates.

 In the head:
 {{{
 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
 })(window,document,'script','dataLayer','GTM-P24PF4B');</script>
 }}}

 Immediately after the opening body tag:
 {{{
 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-
 P24PF4B" height="0" width="0"
 style="display:none;visibility:hidden"></iframe></noscript>
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4625#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list