diff --git a/promo/templates/promo/index.html b/promo/templates/promo/index.html index a46d118..e40c64d 100644 --- a/promo/templates/promo/index.html +++ b/promo/templates/promo/index.html @@ -3,8 +3,10 @@ {% block promo_content %} {% if instance %} +
{% autoescape off %} {{ instance.text }} {% endautoescape %} +
{% endif %} {% endblock %} \ No newline at end of file diff --git a/zsite/static/js/snippets.js b/zsite/static/js/snippets.js index 7cb3285..66d68ff 100644 --- a/zsite/static/js/snippets.js +++ b/zsite/static/js/snippets.js @@ -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(); });