Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
onClick="javascript: history.go(-1)"> | onClick="javascript: history.go(-1)"> | ||
</form> | </form> | ||
+ | // <nowiki> | ||
+ | <script async src="https://www.googletagmanager.com/gtag/js?id=G-YEV43L6CBH"></script> | ||
+ | <script> | ||
+ | window.dataLayer = window.dataLayer || []; | ||
+ | function gtag(){dataLayer.push(arguments);} | ||
+ | gtag('js', new Date()); | ||
+ | |||
+ | gtag('config', 'G-YEV43L6CBH'); | ||
+ | </script> | ||
+ | // </nowiki> |
Revision as of 11:25, 11 May 2023
/* Any JavaScript here will be loaded for all users on every page load. */ <form> <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)"> </form> // <nowiki> <script async src="https://www.googletagmanager.com/gtag/js?id=G-YEV43L6CBH"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-YEV43L6CBH'); </script> // </nowiki>