1.1.12 add YandexMetrika tag for registration page

This commit is contained in:
2024-06-20 16:00:23 +03:00
parent fddda1ef0a
commit 2b94d3f851
3 changed files with 6 additions and 3 deletions

View File

@@ -463,7 +463,7 @@
{% endif %}
</div>
<div class="button_register">
<button id="registration" onclick="sendRoute(this, {% if route.id%}{{ route.id }}{% endif %})"> {% translate "Разместить объявления" %} </button>
<button type="submit" id="registration" onclick="sendRoute(this, {% if route.id%}{{ route.id }}{% endif %})"> {% translate "Разместить объявления" %} </button>
</div>

View File

@@ -71,7 +71,7 @@
<span id="error_feedback_text">{{ form.errors.text_msg }}</span>
{% endif %}
<div class="button_feedback_form">
<button onclick="RequestCommercialOffer(this)" id="send_feedback_form">{% translate 'Отправить сообщение' %}</button>
<button type="submit" onclick="RequestCommercialOffer(this)" id="send_feedback_form">{% translate 'Отправить сообщение' %}</button>
</div>

View File

@@ -9,7 +9,10 @@
<section class="register">
<h1>{% translate "Регистрация" %}</h1>
<form name="registration_form" method="POST">
<form
name="registration_form"
onsubmit="ym(97070898,'reachGoal','Registration'); return true;"
method="POST">
{% csrf_token %}