If you have built a website on the OpenCart platform,
you can integrate the web counter automatically using the official MyTracker plugin.
Integration
Create a web counter in MyTracker if you have not already.
In OpenCart, download the MyTracker plugin
and install it by going to Extensions → Installer → Upload in the left navigation menu.
In the Marketing section, find the MyTracker plugin, enable it and 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.
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.
Click Save in the top right corner.
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: