Log in

Joomla

If you have built a website on the Joomla platform, you can integrate the web counter automatically using the official MyTracker plugin.

Integration

  1. Create a web counter in MyTracker if you have not already.
  2. In Joomla, download the MyTracker plugin and install it by going to System → Install → Extensions in the left navigation menu.
  3. In the control panel, in the Plugins block, find the MyTracker plugin and in the settings add the counter identifier in the Counter ID field. You can find the ID on the Web counter tab on your app page in MyTracker.
  4. Check the other plugin settings:
    • Domain. By default, the counter uses the RU domain. To track pageviews from regions where the VK services are not available, use the alternative COM domain.
    • Tracking user. You can collect stats not only on devices, but on users, if this option is enabled.
    • AMP Support. You can collect stats on AMP pages if the option is enabled.
  5. Click Save or Save & Close.

The counter code will be placed on all pages of your site automatically. Web stats will appear in MyTracker within two hours.

Track events

To collect data on registrations and authorizations, add the MyTracker S2S API access key in the plugin settings:

To track custom events, use JavaScript methods

  1. In the plugin settings, go to the API tab.
  2. In the APP ID field, enter the application ID. You can find the idApp in the address bar on the app page in MyTracker.
  3. In the API key field, enter the S2S API key from your MyTracker account. To learn how to get the key, see the S2S API authentication section.
  4. Check the other settings:
    • Tracking login.
    • Tracking registration.
    • Debugging API requests.
  5. Click Save or Save & Close.

MyTracker will receive events through the S2S API. The delay can be one to two hours.

Was this article helpful?