T
T
tamweb2019-05-07 14:18:43
Yandex.Metrica
tamweb, 2019-05-07 14:18:43

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

2 answer(s)
I
Inna Untsova, 2019-05-07
@poiselle

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

R
Roman, 2019-05-28
@JohnnyBravo7

This can be configured through GTM, for example.
Listen for clicks on css selector and send events to metric on success

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question