Measure Seconds In-Screen as a Standard Metric in 3 Minutes
The growing need for new performance metrics continues, and we see an increasing number of agencies and publishers wanting to move past viewability and further improving how to measure in-screen values. The top request: measure the number of seconds that an ad was viewable.
Custom events in Adnuntius makes it simple to measure anything. Here is how you can introduce seconds in-screen as a standard metrics on your campaigns.
Create a custom event (30 seconds).
Create a layout (2 minutes).
Change the layout on your creative (30 seconds) and measure away!
1 Create a custom event. Go to Custom Events, click “New”, give it a name (in our example we’re using “Milliseconds In-Screen”) and then choose to measure time. Lastly, copy the custom value from the example code (in the example below, this would be kzck0njhvm9d26xf).
2 Create a layout. Next, go to Layouts, click “New” and give it a name. In the example below we’re using “Image - With Seconds In-Screen” as we want to measure seconds in-screen for image creatives. That’s why we’ve chosen the Layout Type “Standard” and then pasted in the following into the render template field:
<a rel="nofollow" target="_top" href="{{{urls.destination.url}}}"><img src="{{{assets.Image.cdnId}}}" width="{{assets.Image.width}}" height="{{assets.Image.height}}" alt=""/></a>
<script>
adn.inIframe.recordInScreen('{{adId}}', 'kzck0njhvm9d26xf', {maxTime: 30000, threshold: 50});
</script>
Try doing the same, but make sure that you change “kzck0njhvm9d26xf” to the code that was generated for you when you created your custom event. Finally, save the layout.
3 Change the layout on a creative. Now it’s time to test your layout! Go to a creative that you can use for testing (make sure that it’s an image creative if your layout is for images), and then change the layout to “Image - With Seconds In-Screen” or whatever you chose to call your layout. Now go back to the parent line item and observe how your campaign collects in-screen data!
In the screenshow above, in the reporting area on the right notice how “Milliseconds In-Screen Count” and “Milliseconds In-Screen Average” are now part of your reporting. The average shows the average number of milliseconds in-screen while the count shows how many times this has actually been measured. The latter is useful because it tells you if you have enough events to trust the data, or if you should wait for more events before determining what the average actually is.
Another feature offered to you without any extra cost. Enjoy!