Hello, tell me please connected the analytics code, set goals, but unfortunately they do not work, maybe the goal is set incorrectly? Here is a piece of code with a view.

<div class="button-1" data-tab-hide=".tabs,.title-quest-box" data-tab-show=".vopros-1" onclick="ga('send','event','knopka18','push18')"> <p>ПОЛУЧИТЬ СКИДКУ</p> </div> 

    1 answer 1

    Technically, everything is correct if there is a google analytics tracking code on the page.

    1. Maybe you are not looking there? The goals you created will be visible in the Behavior >> Events >> Overview report. And then choose by category or action.
    2. Sometimes, for example, in the feedback form, your event will not work, because it is canceled by javascript via preventDefault () after sending a message of this form. In this case, sending the message must be hung up before calling preventDefault () or modifying the code to send an event to google analytics.