Skip to content

Instantly share code, notes, and snippets.

View ddellostritto's full-sized avatar

Drew Dello Stritto ddellostritto

View GitHub Profile
@visnaut
visnaut / yepnope-ga.js
Created May 11, 2012 15:45
Load Google Analytics Asynchronously via yepnope.js (Modernizr.load)
/**
* Using Google Analytics & yepnope.js (Modernizr.load) in the same project?
* Replace Google's default snippet with the code below to load and initialize GA asynchronously.
*
* Don't forget to copy and paste your full web property ID.
*
* If you use Modernizr:
* 1. Build with the Modernizr.load build option:
* http://modernizr.com/download/#-load
* 2. Replace 'yepnope' below with 'Modernizr.load'
@balupton
balupton / README.md
Last active April 20, 2022 13:21
Ajaxify a Website with the HTML5 History API using History.js, jQuery and ScrollTo