Analytics code for Rocha
parent
0a05398a0f
commit
81e955f13e
|
@ -59,3 +59,17 @@
|
|||
</nav>
|
||||
</aside>
|
||||
{% endblock %}
|
||||
{% block analytics %}
|
||||
{% if blog_user.username == 'rochacbruno' %}
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-33970092-1']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -433,6 +433,8 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% block analytics %}{% endblock %}
|
||||
|
||||
<div class="hidden">
|
||||
<img src="{{ STATIC_URL }}images/header-fixed-save.gif" alt="" />
|
||||
<img src="{{ STATIC_URL }}images/chosen-sprite.png" alt="" />
|
||||
|
|
Loading…
Reference in New Issue