mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2025-01-02 20:22:41 +00:00
Added support for StatCounter
This commit is contained in:
parent
71735674eb
commit
640d5812d7
@ -23,3 +23,23 @@ var _paq = _paq || [];
|
|||||||
ga('create','{{ GOOGLE_ANALYTICS }}');ga('send','pageview');
|
ga('create','{{ GOOGLE_ANALYTICS }}');ga('send','pageview');
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if SC_PROJECT and SC_SECURITY %}
|
||||||
|
<!-- Start of StatCounter Code for Default Guide -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
var sc_project={{ SC_PROJECT }};
|
||||||
|
var sc_invisible=1;
|
||||||
|
var sc_security="{{ SC_SECURITY }}";
|
||||||
|
var scJsHost = (("https:" == document.location.protocol) ?
|
||||||
|
"https://secure." : "http://www.");
|
||||||
|
document.write("<sc"+"ript type='text/javascript' src='" +
|
||||||
|
scJsHost+
|
||||||
|
"statcounter.com/counter/counter.js'></"+"script>");
|
||||||
|
</script>
|
||||||
|
<noscript><div class="statcounter"><a title="site stats"
|
||||||
|
href="http://statcounter.com/" target="_blank"><img
|
||||||
|
class="statcounter"
|
||||||
|
src="http://c.statcounter.com/{{ SC_PROJECT }}/0/{{ SC_SECURITY }}/1/"
|
||||||
|
alt="site stats"></a></div></noscript>
|
||||||
|
<!-- End of StatCounter Code for Default Guide -->
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user