V
V
VoisHunter2019-04-24 14:06:17
JavaScript
VoisHunter, 2019-04-24 14:06:17

Why does Google Analytics work?

Hello everyone, there is a button, I give an event to it, but when you click on it, nothing is transferred to the analytics, tell me where the bug is

<fieldset onclick="ga('send', 'event', 'form', 'submit');" class="ec-form__field-btn">
            <input class="ec-btn ec-btn--red" type="submit" value="<?=Translate::t(13)?>">
          </fieldset>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question