Inserted Google Analytics code
This commit is contained in:
parent
4fc22e1a26
commit
65ee3d5579
14
pom.xml
14
pom.xml
@ -177,6 +177,18 @@
|
||||
|
||||
<properties>
|
||||
<attach-distribution>false</attach-distribution>
|
||||
<tracker-code><![CDATA[
|
||||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("UA-95307-3");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}
|
||||
</script>
|
||||
]]></tracker-code>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
@ -406,6 +418,7 @@
|
||||
<encoding>UTF-8</encoding>
|
||||
<locale>en_US</locale>
|
||||
<excludePackageNames>${project.groupId}.example*:${project.groupId}.container*:${project.groupId}.util.internal*</excludePackageNames>
|
||||
<footer>${tracker-code}</footer>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
@ -429,6 +442,7 @@
|
||||
<stylesheet>${basedir}/src/xref/stylesheet.css</stylesheet>
|
||||
<docTitle>${project.name} Source Xref (${project.version}, r${buildNumber})</docTitle>
|
||||
<windowTitle>${project.name} Source Xref (${project.version}, r${buildNumber})</windowTitle>
|
||||
<bottom><![CDATA[Copyright © {inceptionYear}-{currentYear} ${project.organization.name} All Rights Reserved.]]> ${tracker-code}</bottom>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
Loading…
Reference in New Issue
Block a user