Answer the question
In order to leave comments, you need to log in
What happened to the wordpress button?
I screwed the metric goals onto the button and ran into this picture
wp swears at this piece of code
<a href="#" class="banner_button_1" onclick="ym(55997530,'reachGoal','lead gl ek'); return true;>Оставить заявку</a>
</div>
<div class="product-single__popup">
<div class="overlay"></div>
<form method="post" id="order" class="product-order-popup order-popup-active">
<div class="order-popup_title text-center">Оформите заявку</div>
<input type="hidden" name="product_title" value="<?php the_title(); ?>">
<input type="hidden" name="product_price" value="<?= $price; ?>">
<div class="form-row">
<label>Имя<span>*</span></label>
<input type="text" name="name" placeholder="Иван Петров">
</div>
<div class="form-row">
<label>E-mail<span>*</span></label>
<input type="text" name="email" placeholder="[email protected]">
</div>
<div class="form-row">
<label>Телефон</label>
<input type="text" name="tel" placeholder="8 952 222 22 22">
</div>
<button class="btn-submit" id="sendBtn" " onclick="ym(55997530,'reachGoal','lead gl ek'); return true;">
Answer the question
In order to leave comments, you need to log in
There is a complete house in the code :)
At least there is a problem with the placement of quotes.
For example:
<a href="#" class="banner_button_1" onclick="ym(55997530,'reachGoal','lead gl ek'); return true;>Оставить заявку</a>
<a href="#" class="banner_button_1" onclick="ym(55997530,'reachGoal','lead gl ek'); return true;">Оставить заявку</a>
<button class="btn-submit" id="sendBtn" onclick="ym(55997530,'reachGoal','lead gl ek'); return true;">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question