Commit 568fe5f4 authored by mindthegab's avatar mindthegab
Browse files

-- added google analytics tracking code

-- upon release gaTrackingId should be passed on the command line or in settings

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@660 04253f4f-3451-0410-a141-5562f1e59037
parent 8966296c
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
<project>
  <body>
        <!--<menu ref="parent" inherit="bottom"/>-->
         <head>
            <script type="text/javascript">
            
              var _gaq = _gaq || [];
              _gaq.push(['_setAccount', '${gaTrackingId']);
              _gaq.push(['_trackPageview']);
            
              (function() {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
              })();
            
            </script>
        </head>
        
        <menu name="Alfresco AMP Archetype">
            <item name="Introduction" href="index.html"/>
+15 −0
Original line number Diff line number Diff line
<project>
  <body>
        <!--<menu ref="parent" inherit="bottom"/>-->
         <head>
            <script type="text/javascript">
            
              var _gaq = _gaq || [];
              _gaq.push(['_setAccount', '${gaTrackingId']);
              _gaq.push(['_trackPageview']);
            
              (function() {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
              })();
            
            </script>
        </head>
        
        <menu name="Alfresco Maven Plugin">
            <item name="Introduction" href="index.html"/>
+15 −1
Original line number Diff line number Diff line
@@ -32,7 +32,21 @@
    <publishDate position="navigation-bottom" format="MM-dd-yy" />
  
    <body>
         <head>
            <script type="text/javascript">
            
              var _gaq = _gaq || [];
              _gaq.push(['_setAccount', '${gaTrackingId']);
              _gaq.push(['_trackPageview']);
            
              (function() {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
              })();
            
            </script>
        </head>
        <!--<menu ref="modules" inherit="bottom"/>-->
        
        <!--<menu ref="parent" inherit="bottom"/>-->
+15 −1
Original line number Diff line number Diff line
@@ -31,7 +31,21 @@
    <publishDate position="navigation-bottom" format="MM-dd-yy" />
  
    <body>
         <head>
            <script type="text/javascript">
            
              var _gaq = _gaq || [];
              _gaq.push(['_setAccount', '${gaTrackingId']);
              _gaq.push(['_trackPageview']);
            
              (function() {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
              })();
            
            </script>
        </head>
        <menu name="Maven Alfresco SDK">
            <item name="Introduction" href="index.html"/>
            <item name="Maven Alfresco SDK Prerequisites" href="prerequisites.html" />