Answer the question
In order to leave comments, you need to log in
How to set goals for Buttons on the site in the metric?
I want to set a goal in the metric:
Add to cart (click)
Order a call (click)
Feedback (click)
Is it possible to do this without making changes to the code?
I tried to add to the goal in the metric: the url contains “addcar” but the data is not collected.
Website: orac.ru (Opencart engine)
Answer the question
In order to leave comments, you need to log in
the goals that you want to set up are js events;
when creating them, you need to enter additional code with their identifiers; when the goal is reached, the reachGoal method is called, into which your identifier is passed, in
other words, without changing the code, such goals cannot be configured in opencart, this option is available only in constructors like tilda,
set XXXXXX - the counter number of the Metrics
, set TARGET_NAME - the identifier of the goal itself
and write the code for buttons and form filling https://yandex.ru/support/metrika/general/goal-js
-... url after submitting the form
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question