aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/java/com')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java13
1 files changed, 2 insertions, 11 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java b/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java
index 261efff3..9c6251b0 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java
@@ -179,24 +179,15 @@ public class PageTemplates {
out.println("</div>");
out.println("</div>");
- out.println("<script>");
- out.println("(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){");
- out.println("(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),");
- out.println("m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)");
- out.println("})(window,document,'script','//www.google-analytics.com/analytics.js','ga');");
- out.println("ga('create','UA-385578-4','juick.com');");
- out.println("ga('require','displayfeatures');");
- out.println("ga('send','pageview');");
-
if (sapeon) {
+ out.println("<script>");
out.println("var _acic={dataProvider:10};");
out.println("(function(){");
out.println("var e=document.createElement('script');e.type='text/javascript';e.async=true;e.src='//www2.aci'+'nt.net/aci.js';");
out.println("var t=document.getElementsByTagName('script')[0];t.parentNode.insertBefore(e,t);");
out.println("})();");
+ out.println("</script>");
}
-
- out.println("</script>");
}
public void pageEnd(PrintWriter out) {