Tracking return on investment

ROI tracking

Note: while you can use Mituyu to track ROI events, we're working on the metrics at the moment to give you the most flexible way of querying the results. Soon, you'll be able to break down ROI performance by network, times of day, days of the week, and individual posts. Soon.

While Mituyu automatically tracks your audience clicking on links, it can sometimes be useful to record other events. When a user clicks on a Mituyu-published link, they're given a cookie. Should you wish to record an event on a page, such as a user signing up for your service, or buying something, you can call a small Javascript function from within your page, and Mituyu will record the action.

To get started, you'll need to include the ROI code in the <head> section of your page:

<script src="https://mituyu.com/roi" data-mituyu="your special code"></script>

The your special code element in the above code should contain just that - your special code. You can find the correct line of code for your brand in the ROI tracking section.

From this point, you can record events with the following piece of Javascript:

yutumi('name',[amount]);

The name field should contain the event name. This shouldn't be too specific - rather than recording each item you sell, for instance, you may wish to use 'sale' as a value.

The amount field is optional - if you include it, your event will be recorded with a value. You'll probably use this for monetary values, but you don't have to - no currency is assumed. Numbers can be from 0 to 999,999.99 - using up to two decimal places.

If the concept of firing Javascript events is beyond you, you may want to speak to your friendly neighbourhood web developer about adding them in - sadly, there's only so much user-friendly automation we can plug in for you!

Restricting your ROI domains

Mituyu only tracks the last link a user clicks for each property - so if someone clicks on a different link in between arriving at your site and triggering an ROI event, it won't be ascribed to the link they clicked. To that end, you can restrict the ROI domains you track, so that clicks to completely different sites don't compromise your results.

Put simply, to make your ROI results more accurate, simply add the domain names of your website - the place you're planning to return ROI events from.

Some examples for ROI tracking

If you were tracking sign-ups, as mentioned earlier, your call would look something like this, executed after the sign-up is complete:

yutumi('signup');

Whereas the call for someone spending an amount of money (£14.37, say) with you would look like this:

yutumi('sale',14.37);

Checking it's working correctly

The ROI tracking section contains an ROI status box, that shows you which events have been triggered over the course of the last 28 days, how many times they were triggered, and the sum of any values associated with them.

This service uses cookies to enable log-ons, enhance your user experience, and aid in content delivery. It also employs third-party services that may also issue cookies.