Custom Event Log Headers
Recording custom data in ad-serving reports can provide users with valuable insights into their ad campaigns beyond the standard metrics provided by the ad-serving platform. By recording custom data, users can track specific actions or events that are important to their business, such as purchases, sign-ups, or clicks on a particular product. This allows users to analyze their ad performance in relation to their business goals and make data-driven decisions on how to optimize their campaigns. Custom data can also be used to segment audiences and create more targeted campaigns, leading to higher engagement and conversions. Overall, recording custom data in ad-serving reports can provide a deeper understanding of ad performance and help users maximize their ROI.
To capture custom event log data, you will need to pass in the key-value pair information into the ad request.
Examples:
Let's pretend that our Custom Event Log Header is "Fish" and want to record the type of fish that was triggered during an ad impression and the value of fish will be 'salmon'
Using the JSON Ad API
https://servedbyadbutler.com/adserve/;ID=184386;size=300x250;setID=580612;type=json;_eld[fish]=salmon
Using Async JavaScript
<!-- Default Zone [async] -->
<script type="text/javascript">if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript";s.src = 'https://servedbyadbutler.com/app.js';var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}</script>
<script type="text/javascript">
var AdButler = AdButler || {}; AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || '';
var plc580612 = window.plc580612 || 0;
document.write('<'+'div id="placement_580612_'+plc580612+'"></'+'div>');
AdButler.ads.push({handler: function(opt){ AdButler.register(184386, 580612, [300,250], 'placement_580612_'+opt.place, opt); }, opt: { place: plc580612++, eventLogData: { "fish":"salmon",} , keywords: abkw, domain: 'servedbyadbutler.com', click:'CLICK_MACRO_PLACEHOLDER' }});
</script>