MediaWiki:Mobile.js: Difference between revisions
Jump to navigation
Jump to search
CryptoUser (talk | contribs) (Created page with "→All JavaScript here will be loaded for users of the mobile site: window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-S339JBKYQJ'); $('head').append($('<script/>').attr('async', 1).attr('src', 'https://www.googletagmanager.com/gtag/js?id=G-S339JBKYQJ'));") |
(No difference)
|
Latest revision as of 12:48, 29 May 2024
/* All JavaScript here will be loaded for users of the mobile site */
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-S339JBKYQJ');
$('head').append($('<script/>').attr('async', 1).attr('src', 'https://www.googletagmanager.com/gtag/js?id=G-S339JBKYQJ'));