Promo monitoring

master
fefa4ka 10 years ago
parent 4e6887d1c4
commit f3d7e3736f
  1. 2
      promo/templates/promo/index.html
  2. 6
      zsite/static/js/snippets.js

@ -3,8 +3,10 @@
{% block promo_content %}
{% if instance %}
<div class="header-promo">
{% autoescape off %}
{{ instance.text }}
{% endautoescape %}
</div>
{% endif %}
{% endblock %}

@ -131,6 +131,12 @@ $(function() {
$('.service-calculator form').submit();
});
$( ".header-promo a" ).click(function(e) {
yaCounter950321.reachGoal('PromoClick');
ga('send', 'event', 'Promo', 'click', document.title);
});
detectRegion();
});

Loading…
Cancel
Save