Top Banner
14

Engage EMEA 2010 - Data Collection Performance

Sep 12, 2014

Download

Technology

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Engage EMEA 2010 - Data Collection Performance
Page 2: Engage EMEA 2010 - Data Collection Performance

Data Collection Performance

Bruce Kenny, WebtrendsEric Butler, Webtrends

Page 3: Engage EMEA 2010 - Data Collection Performance

Data Collection PhilosophyAlways on

High Performance

Page 4: Engage EMEA 2010 - Data Collection Performance

Webtrends Data CollectionWebtrends On Demand global data collection footprint

Globally distributed DNS to ensure the fastest response for first requests

Regional data centers to provide optimal response times

Data collection traffic is load balanced across data centers to ensure the fastest response for each individual visitor

Page 5: Engage EMEA 2010 - Data Collection Performance

Stay currentThe Webtrends Tag Builder is updated regularly with enhancements and fixes.

Keep current with the latest HTML and JavaScript generated by Webtrends to best leverage this powerful functionality

Release notes from the most recent update:http://releasenotes.webtrends.com/on-demand/category/

tagbuilder/

Page 6: Engage EMEA 2010 - Data Collection Performance

New Asynchronous Functionality

Updating Webtrends JavaScript

Leveraging newer standards

Increasing page load performance

Page 7: Engage EMEA 2010 - Data Collection Performance

New Asynchronous Functionality

JavaScript improvementsUsing javascript to populate variables into a queue until the Webtrends javascript is ready to use them

New JavaScript functionalityLeveraging the HTML5 attribute "async" to allow the javascript to be loaded asynchronously to the rest of the page load

Page 8: Engage EMEA 2010 - Data Collection Performance

New Asynchronous Functionality

Webtrends innovationIntroducing a new callback method for the cross-domain "wtid.js" callback, allowing for that call to be non-blocking to the rest of the page load

Webtrends performanceDecoupling of the cross-domain "wtid.js" callback, allowing Webtrends to host that functionality closer to visitors

Page 9: Engage EMEA 2010 - Data Collection Performance

Performance Improvements

Current

AsyncSolution

Page 10: Engage EMEA 2010 - Data Collection Performance

Resources•Webtrends Tag Builder

http://tagbuilder.webtrends.com/•Webtrends Developer Network

http://developer.webtrends.com/•Webtrends SDK Documentation

http://product.webtrends.com/DC/iphone/index.html

http://product.webtrends.com/DC/android/index.html

http://product.webtrends.com/DC/blackberry/index.html

Page 11: Engage EMEA 2010 - Data Collection Performance

Technical FAQsWhat about pre-HTML5 browsers? The async tag allows the “code” to be executed asynchronously for browsers that support HTML5.  But because we are also attaching the script-file to the DOM on older browsers we don’t stop the parser/render.   But the DOMContentLoaded (aka onload) event will be held up for pre-HTML5 browsers.  This is still a performance increase since the downloading of the tag happens in parallel to the page rendering.  

Page 12: Engage EMEA 2010 - Data Collection Performance

Technical FAQsIf the tag is being loaded Async and I have hard-coded dcsCollect and dcsMultitrack calls doesn’t this introduce a race-condition? No, because all commands will be pushed into a queue (JavaScript array).  And the tag will start pulling from that queue when the WebtrendsTag is instantiated and ready for processing (e.g. after it’s finished loading the WT.co_f param from the cookie or wtid.js).  

Page 13: Engage EMEA 2010 - Data Collection Performance

Technical FAQsDo we still place the tag at the bottom of the Body tag?

No, you should place the tag in the Head tag.  Since you want the process to begin as early as possible.  For low bandwidth devices (like smart phones) this gives you a better chance of registering the hit if the user clicks a link before the pages has finished loading.   We are still doing performance testing to find the optimal place in the head to place the tag (if it should be one of the first scripts or one of the last scripts).  

Page 14: Engage EMEA 2010 - Data Collection Performance

Technical FAQsWill the async tag be usable from Flash?

Yes, but any existing  Flash(External Interface) calls will need to be modified to push items onto the queue instead of calling our existing dcsXXX methods. 

What happens if the call to wtid.js is unreachable for some reason?

Nothing…  No error, no hits, no wasted CPU cycles, just nothing…