Making WordPress.org

Opened 2 months ago

Last modified 2 months ago

#4625 new defect

Slack info page is missing Google Tag Manager code

Reported by: jonoaldersonwp Owned by:
Milestone: Priority: lowest
Component: Slack & IRC Keywords: analytics


https://make.wordpress.org/chat/ omits our GTM snippet. This should be added.

Change History (3)

#1 @Otto42
2 months ago

What is the script code that needs to be added to the head section? This should probably be added to the mu-plugin that enables the rest of the chat page code.

#2 @jonoaldersonwp
2 months ago

Same as on other wp.org pages/templates.

In the head:

new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

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>

#3 @SergeyBiryukov
2 months ago

  • Component changed from General to Slack & IRC
Note: See TracTickets for help on using tickets.