[JUM] Yandex.Metrika

[JUM] Yandex.Metrika 2.1.0

No permission to download
A complete refactoring of the plugin has been performed.

Integration with Cookie Consent has been implemented.
The plugin now supports XenForo’s built-in cookie consent mechanism. When the “Require third-party cookie consent” option is enabled, the counter is loaded only after the user has granted consent for third-party cookies.
Yandex.Metrika is correctly displayed in the consent management interface with its label and description.


New counter initialization parameters:
  • Send page title — sends the page title together with pageview events.
  • Track URL hash changes — tracks changes in the URL hash, useful for SPA interfaces.
  • Accurate bounce rate tracking — improves bounce rate accuracy by counting visits lasting at least 15 seconds.
  • Deferred initialization — delays counter loading until the browser becomes idle (requestIdleCallback).
  • Trigger callback event — generates the yacounter<ID>inited event after the counter is initialized.

The counter code insertion has been fixed. The anchor no longer depends on the presence of Google Analytics code in the template. Previously, if it was absent, the counter might not load.
  • Love
Reactions: Volya
Back
Top Bottom