SolTech Inserts Asynch Google Analytics Code In Dnn

4

Click here to load reader

description

On Dec 1 Google introduced asynchronous tracking codes for google analytics. This has many benefits, the least of which is page load speed. In this presentation Allan Regenbaum of SolTech shows you how to insert new code into DotNetNuke.

Transcript of SolTech Inserts Asynch Google Analytics Code In Dnn

Page 1: SolTech Inserts Asynch Google Analytics Code In Dnn

On Dec 1 2009 Google released new analytics

asynchronous tracking code. This has many benefits, the

least of which is the ability for the page to load without

waiting for Google.

Asynchronous Tracking is an alternative way track website

visitors with Google Analytics. Unlike a traditional

installation, asynchronous tracking optimizes how browsers

load ga.js so its impact on user experience is minimized. It

also allows you to put your Analytics snippet higher in the

page without delaying subsequent content from rendering.

Contact SolTech (404) 601-6000 if you have SEO, SEM requirements

Page 2: SolTech Inserts Asynch Google Analytics Code In Dnn

The Asynchronous Tracking requires a different Analytics

snippet and a different syntax for making tracking API calls.

The new code has the form

Contact SolTech (404) 601-6000 if you have SEO, SEM requirements

Page 3: SolTech Inserts Asynch Google Analytics Code In Dnn

For DNN we need to split the code as shown below ..

Contact SolTech (404) 601-6000 if you have SEO, SEM requirements

Page 4: SolTech Inserts Asynch Google Analytics Code In Dnn

Edit the top level default.aspx template. Insert the top

snippet just above the the closing </head> tag.

Edit the page level template and insert the second section at

the bottom. DNN will place this above the closing body tag.

See http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html#SplitSnippet for more details.

Contact SolTech (404) 601-6000 if you have SEO, SEM requirements