Changeset 12459 in main


Ignore:
Timestamp:
12/06/16 13:05:43 (6 years ago)
Author:
Garth Braithwaite
Message:

ky epht - added GA script to ss.xslt and removed from content files.

Location:
adopters/ky-epht/trunk/src/main/webapps
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/about/Background.xml

    r12312 r12459  
    6969                         <script src='http://content.govdelivery.com/overlay/js/2089.js'></script>
    7070                        <!--End GovDelivery Overlay-->
    71                        
    72 <script>
    73   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    74   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    75   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    76   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    77 
    78   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    79   ga('send', 'pageview');
    80 
    81 </script>
    82 
    8371        </CONTENT>
    8472
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/about/ContactInformation.xml

    r12381 r12459  
    8080                        </div>
    8181                </div>
    82 <script>
    83   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    84   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    85   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    86   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    87 
    88   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    89   ga('send', 'pageview');
    90 
    91 </script>
    92 
    9382                </div>
    9483
    9584        </CONTENT>
    9685
    97 
    9886</HTML_CONTENT>
    9987
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/about/ContentUsage.xml

    r12423 r12459  
    9393                        </li>
    9494                </ul>
    95 
    96 <script>
    97   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    98   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    99   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    100   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    101 
    102   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    103   ga('send', 'pageview');
    104 
    105 </script>
    106                
    10795                </div>
    10896        </CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/about/DataPartners.xml

    r11645 r12459  
    7575                </style>
    7676
    77 <script>
    78   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    79   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    80   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    81   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    82 
    83   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    84   ga('send', 'pageview');
    85 
    86 </script>
    87 
    8877        </CONTENT>
    8978</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/about/MissionGoals.xml

    r12446 r12459  
    101101                </div>
    102102
    103 <script>
    104   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    105   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    106   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    107   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    108 
    109   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    110   ga('send', 'pageview');
    111 </script>
    112 
    113103                </div>
    114104        </CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/about/SiteMap.xml

    r12422 r12459  
    116116                </ibis:SelectionsList>
    117117
    118 <script>
    119   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    120   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    121   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    122   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    123 
    124   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    125   ga('send', 'pageview');
    126 
    127 </script>
    128 
    129118        </CONTENT>
    130 
    131119</HTML_CONTENT>
    132120
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/about/Tools.xml

    r11435 r12459  
    8080                <br/><br/>
    8181
    82 <script>
    83   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    84   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    85   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    86   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    87 
    88   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    89   ga('send', 'pageview');
    90 
    91 </script>
    92 
    9382        </CONTENT>
    9483</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/about/Tracking101.xml

    r12381 r12459  
    3737                Register and access the course through <a href="http://nehacert.org/moodle/course/category.php?id=41">NEHA's e-Learning Website</a>.
    3838                <br/><br/>
    39 <script>
    40   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    41   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    42   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    43   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    44 
    45   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    46   ga('send', 'pageview');
    47 
    48 </script>
    4939        </CONTENT>
    5040</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/about/Welcome.xml

    r12422 r12459  
    8585                         
    8686                </div>
    87 <script>
    88   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    89   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    90   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    91   })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
    92 
    93   ga('create', 'UA-88255660-2', 'auto');
    94   ga('send', 'pageview');
    95 
    96 </script>
    9787        </CONTENT>
    9888
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/dataportal/ContentUsage.xml

    r11435 r12459  
    148148
    149149       
    150         <script>
    151   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    152   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    153   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    154   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    155 
    156   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    157   ga('send', 'pageview');
    158 
    159 </script>
    160        
    161150        </CONTENT>
    162151</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/dataportal/Help.xml

    r11435 r12459  
    281281</div>
    282282
    283         <script>
    284   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    285   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    286   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    287   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    288 
    289   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    290   ga('send', 'pageview');
    291 
    292 </script>
    293 
    294283</CONTENT>
    295284</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/dataportal/MetadataIndex with names.xml

    r11435 r12459  
    341341                        </li>
    342342                </ul><br/>
    343 <script>
    344   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    345   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    346   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    347   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    348 
    349   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    350   ga('send', 'pageview');
    351 
    352 </script>
    353343        </CONTENT>
    354344</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/dataportal/ReportsIndex.xml

    r11435 r12459  
    475475               
    476476<br/><br/>
    477 
    478   <script>
    479   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    480   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    481   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    482   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    483 
    484   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    485   ga('send', 'pageview');
    486 
    487 </script>
    488477</CONTENT>
    489478</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/dataportal/Tips.xml

    r11435 r12459  
    7878                                </ul><br/>
    7979                If you have a tip you would like to share please <a href="mailto:eep@Kentucky.gov">email us</a>.<br/>
    80                
    81                 <script>
    82   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    83   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    84   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    85   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    86 
    87   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    88   ga('send', 'pageview');
    89 
    90 </script>
    9180        </CONTENT>
    9281</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/dataportal/TopicIndex.xml

    r11435 r12459  
    120120                </ibis:SelectionsList>
    121121                <br/><br/>
    122 <script>
    123   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    124   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    125   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    126   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    127 
    128   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    129   ga('send', 'pageview');
    130 
    131 </script>
    132                
    133122  </CONTENT>
    134123</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/dataportal/Tutorials.xml

    r11435 r12459  
    3636                To view the tutorials or workbook in PDF, you will need the Adobe <a href="http://www.adobe.com/prodindex/acrobat/readstep.html">Acrobat Reader</a> installed on your system.
    3737                </div><br/><br/>
    38                 <script>
    39   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    40   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    41   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    42   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    43 
    44   ga('create', 'UA-44136859-1', 'Kentucky.gov');
    45   ga('send', 'pageview');
    46 
    47 </script>
    4838        </CONTENT>
    4939</HTML_CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/environment/DrinkingWaterDetail.xml

    r12312 r12459  
    111111                        </CONTENT>
    112112                </ibis:ExpandableContent>
    113 
    114                
    115 
    116 
    117 
    118 
    119 
    120 
    121 
    122 
    123 
    124 
    125 
    126 <script>
    127   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    128   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    129   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    130   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    131 
    132   ga('create', 'UA-44136859-1', 'utah.gov');
    133   ga('send', 'pageview');
    134 
    135 </script>
    136113                </div>
    137114
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/environment/EnvironmentalHazardsDetail.xml

    r12312 r12459  
    237237                <br/>
    238238
    239         <script>
    240   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    241   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    242   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    243   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    244 
    245   ga('create', 'UA-44136859-1', 'utah.gov');
    246   ga('send', 'pageview');
    247 
    248 </script>       
    249 </div>
     239        </div>
    250240               
    251241        </CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view-content/xml/html_content/health/ReproductiveHealthDetail.xml

    r12312 r12459  
    100100                        </CONTENT>
    101101                </ibis:ExpandableContent>
    102                
    103                
    104                
    105                
    106 
    107 
    108 
    109                
    110                
    111                
    112 
    113 
    114 
    115 
    116        
    117 <script>
    118   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    119   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    120   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    121   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    122 
    123   ga('create', 'UA-44136859-1', 'utah.gov');
    124   ga('send', 'pageview');
    125 
    126 </script>
    127102                </div>
    128103        </CONTENT>
  • adopters/ky-epht/trunk/src/main/webapps/ehl-view/xslt/html/SiteSpecific.xslt

    r12451 r12459  
    354354                        <xsl:copy-of select="$SiteSpecific.printPageFooter"/>
    355355                </div>
     356
     357                <script>
     358                        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
     359                        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
     360                        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
     361                        })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
     362
     363                        ga('create', 'UA-88255660-2', 'auto');
     364                        ga('send', 'pageview');
     365                </script>
    356366        </xsl:template>
    357367
Note: See TracChangeset for help on using the changeset viewer.