Analytics
Article destinations
The Canvas Analytics section accepts one GA4 Measurement ID (G-...) and one Yandex Metrica Counter ID. Empty article fields inherit the corresponding value from the client site's InitOptions.analytics. Article values override SDK values independently, and when both destinations resolve, Verstka attempts both callable provider APIs.
Verstka does not install or initialize either provider. IDs are embedded in public article data and are not secrets. Only trusted authors/publishers may choose destinations; a site with untrusted article authors must disable this feature with analytics: false in v1.
Widget events
| Event | Trigger | Once default |
|---|---|---|
| Shown | Positive viewport entry after viewer hydration | On |
| Hovered | Cursor enters the widget root | Off |
| Clicked | Native click inside the widget root | Off |
An empty event name disables that row. Once lasts only while the current page/tab document is loaded. Reloading or reopening the page allows the event again; no browser storage is used.
Event names
Names must contain 7–40 ASCII characters, start with lowercase vrstk_, begin the suffix with a–z, and then use only lowercase letters, digits, or _.
Valid examples:
vrstk_summer_offer_show
vrstk_summer_offer_hover
vrstk_summer_offer_clickDo not put personal, account, contact, article, widget, or user-entered data in names.
Provider notes
For a Yandex event to appear as a conversion, configure a matching JavaScript-event goal or a matching event-ID step in a multi-step goal. The vrstk_... call does not create a goal. Repeated Hover events can create high volume, prolong Yandex visit activity, and contribute to Yandex conversion limits.
Provider-owned enhanced measurement, click maps, or automatic goals can separately observe the same DOM action. Verstka does not disable or deduplicate them.
Preview
Client analytics is inactive in editor preview. Verify calls on the client site or through the documented client-site integration.