Send events using the tag
Here we are assuming that you've already added the mediarithmics tag to your website and that you are ready to start tracking user activity.
An event is basically something user-relted that you would like to track. For instance, adding something to the cart or reading an article.
An event is composed of:
a name
properties such as a timestamp (when the event took place), ...
Sending events using the mediarithmics is very easy. Just use the push method, below your tag initialization:
And that's it, you've sent your first event. Congratulations!
You can name the event anything you want. Let's say for now you are tracking which product users view. So let's call your event "product-view" in the following examples.
Last updated