[jbosstools-issues] [JBoss JIRA] (JBIDE-19597) add google tag manager to website

Max Rydahl Andersen (JIRA) issues at jboss.org
Wed Apr 15 10:19:19 EDT 2015


Max Rydahl Andersen created JBIDE-19597:
-------------------------------------------

             Summary: add google tag manager to website
                 Key: JBIDE-19597
                 URL: https://issues.jboss.org/browse/JBIDE-19597
             Project: Tools (JBoss Tools)
          Issue Type: Task
          Components: website
            Reporter: Max Rydahl Andersen
            Assignee: Max Rydahl Andersen


Asked by jboss.org to add the following:

{code}
Option 1: You have an existing GA (Google Analytics) account you want to keep using. You should upgrade your GA account to use UA (Universal Analytics).

<script>dataLayer = [{'channel' : ‘<insert project name here>’, ‘additional_tracking_code’ : ‘<insert optional additional GA tracking code here>'}];</script>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-NJWS5L"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<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=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NJWS5L');</script>
<!-- End Google Tag Manager —>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jbosstools-issues mailing list