Display Ads Performance with Sugar

22
Sugar Display ad delivery solution. Performance. Flexibility. Analytics. Tony Ford @tony4d

description

Display Ads Performance with sugar.

Transcript of Display Ads Performance with Sugar

Page 1: Display Ads Performance with Sugar

SugarDisplay ad delivery solution.Performance. Flexibility. Analytics.

Tony Ford@tony4d

Page 2: Display Ads Performance with Sugar

Ad code is mostly evilLow performancedocument.write()Lots of http requestsBloated flash filesBloated htmlUnoptimized javascript

Page 3: Display Ads Performance with Sugar

We have no controlAds are usually 3rd partySometimes 6th, 8th, or 10th party

Page 4: Display Ads Performance with Sugar

Or do we?Maybe we can control the impact on performance by decoupling ads from content

Page 5: Display Ads Performance with Sugar

Long skinny adLong skinny adFatFat

square square adad

Page 6: Display Ads Performance with Sugar

Sugar developmentMostly about failure

Page 7: Display Ads Performance with Sugar

Day 1 AssumptionFetch creative server-sideInject on the client-side after onloadOur page load times will decrease

Page 8: Display Ads Performance with Sugar

Failure 1Javascript in the ad will not execute

Page 9: Display Ads Performance with Sugar

Failure 2Javascript executes,but document.write() destroys the document

Page 10: Display Ads Performance with Sugar

Failure 3Doesn’t work in ie & more than one document.write() destroys the iframe doc

Page 11: Display Ads Performance with Sugar

Failure 4Evil

Page 12: Display Ads Performance with Sugar

Failure 5Switch strategy, use creative urlsNo cross domain frame communicationMany ad products not possible (i.e. expanding)

Page 13: Display Ads Performance with Sugar

SuccessFriendly iframeiframe is on the same protocol, domain & portno cross frame communication restriction

Page 14: Display Ads Performance with Sugar

iframe src

Page 15: Display Ads Performance with Sugar

Original AssumptionDoesn’t really fitDisplay ads want to be urls on the client-side

Page 16: Display Ads Performance with Sugar

Problem Avoided Not SolvedDisplay ads are still slow

Page 17: Display Ads Performance with Sugar

AnalyticsWe still can’t control display ad codeBut maybe we can influence those that do

Page 18: Display Ads Performance with Sugar

GA Event TrackingTrack the load time for every ad

Page 19: Display Ads Performance with Sugar

Demohttp://www.ign.com/sugardemo.htmlhttp://www.google.com/analytics/https://github.com/tony4d/sugar

Page 20: Display Ads Performance with Sugar

ButTurns out we can do creatives instead of urlsCurrently prototypingEven better performance O(1) vs O(n)

Page 21: Display Ads Performance with Sugar

Next StepsSingle http request, creative injectionOptimize analytics (less beacons)Better analytics (easier problem diagnosis)Feedback

Page 22: Display Ads Performance with Sugar

We’re Hiring