Setup
Paste the standard counter snippet into the school’s custom code (For developers → Custom code, HTML tab) and also specify the counter number inwindow.YM_ID — the platform needs it to call reachGoal:
Goals
In the counter settings, create JS goals with the following identifiers:Sign-up
reachGoal
Registration of a new account.
Lead (onboarding questionnaire)
reachGoal
The onboarding questionnaire has been completed.
Course view
reachGoal
A course page view.
Demo lesson opened
reachGoal
A demo lesson has been opened.
Free course enrollment
reachGoal
Enrollment in a free course.
Checkout started
reachGoal
Proceeding to payment.
Purchase
reachGoal
Successful payment. Goal parameters:
order_price, currency (not passed for internal currencies).Course completion
reachGoal
Completion of a course.
Updated: 2026-09-25 14:33 UTC