|
72 | 72 | </div>
|
73 | 73 | </footer>
|
74 | 74 | {% endif %}
|
75 |
| - {% if options.analyticsProvider=="xiti" and options.analyticsId is not empty %} |
| 75 | + {% if options.analyticsProvider=="xiti" and options.analyticsAccountId is not empty %} |
76 | 76 | <a href="http://www.xiti.com/xiti.asp?s=<%=webSite.options.analyticsAccountId%>" title="WebAnalytics" target="_top">
|
77 | 77 | <script type="text/javascript">
|
78 | 78 | //<!--
|
79 |
| - Xt_param = 's={{ options.analyticsId }}&p={{ _resource.name~" - "~currentPage.title }}'; |
| 79 | + Xt_param = 's={{ options.analyticsAccountId }}&p={{ _resource.name~" - "~currentPage.title }}'; |
80 | 80 | try {Xt_r = top.document.referrer;}
|
81 | 81 | catch(e) {Xt_r = document.referrer; }
|
82 | 82 | Xt_h = new Date();
|
|
89 | 89 | //-->
|
90 | 90 | </script>
|
91 | 91 | <noscript>
|
92 |
| - <img width="39" height="25" src="http://logv17.xiti.com/hit.xiti?s={{ options.analyticsId }}&p={{ _resource.name~" - "~currentPage.title }}" alt="WebAnalytics" /> |
| 92 | + <img width="39" height="25" src="http://logv17.xiti.com/hit.xiti?s={{ options.analyticsAccountId }}&p={{ _resource.name~" - "~currentPage.title }}" alt="WebAnalytics" /> |
93 | 93 | </noscript></a>
|
94 | 94 | {% endif %}
|
95 | 95 | </div>
|
|
119 | 119 | })();
|
120 | 120 | </script>
|
121 | 121 |
|
122 |
| - {% if options.analyticsProvider=="google" and options.analyticsId is not empty %} |
| 122 | + {% if options.analyticsProvider=="google" and options.analyticsAccountId is not empty %} |
123 | 123 | <script>
|
124 | 124 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
125 | 125 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
126 | 126 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
127 | 127 | })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
128 | 128 |
|
129 |
| - ga('create', '{{ options.analyticsId }}', 'auto'); |
| 129 | + ga('create', '{{ options.analyticsAccountId }}', 'auto'); |
130 | 130 | ga('send', 'pageview');
|
131 | 131 | </script>
|
132 | 132 | {% endif %}
|
|
0 commit comments