aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-05-22 22:09:54 +0300
committerGravatar Vitaly Takmazov2017-05-22 22:09:54 +0300
commit76a70dc91e4b277d9946d0e6563db8964275adac (patch)
treefd439a97f1bef889ddf97f65915a32ab5031f07e /juick-www/src/main/webapp/WEB-INF/views
parentc8197edc0019d92508ff65c8507e5696644f237b (diff)
juick-www: Google Analytics is served by Cloudflare now
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/footer.html23
1 files changed, 8 insertions, 15 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
index c9ccb26d..0fcd16de 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
@@ -16,19 +16,12 @@
{% endif %}
</div>
</div>
+{% if (showAdv | default(false)) %}
<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create','UA-385578-4','juick.com');
- ga('require','displayfeatures');
- ga('send','pageview');
- {% if (showAdv | default(false)) %}
- var _acic={dataProvider:10};
- (function(){
- var e=document.createElement('script');e.type='text/javascript';e.async=true;e.src='//www2.aci'+'nt.net/aci.js';
- var t=document.getElementsByTagName('script')[0];t.parentNode.insertBefore(e,t);
- })();
- {% endif %}
-</script> \ No newline at end of file
+ var _acic={dataProvider:10};
+ (function(){
+ var e=document.createElement('script');e.type='text/javascript';e.async=true;e.src='//www2.aci'+'nt.net/aci.js';
+ var t=document.getElementsByTagName('script')[0];t.parentNode.insertBefore(e,t);
+ })();
+</script>
+{% endif %} \ No newline at end of file