aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorEric Bidelman2012-04-09 17:10:48 -0700
committerEric Bidelman2012-04-09 17:10:48 -0700
commit5f5d79dc7395392057028380e876a2883722ee38 (patch)
treef086b408b909f454a66b64bbb057418de65d703f /js
parentdeed0d152700805b8ac4d7f9071b51a6b53491ac (diff)
downloadio-slides-remote-5f5d79dc7395392057028380e876a2883722ee38.tar.gz
GA fix
Diffstat (limited to 'js')
-rw-r--r--js/slides.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/slides.js b/js/slides.js
index c28300c..30aee54 100644
--- a/js/slides.js
+++ b/js/slides.js
@@ -161,12 +161,16 @@ SlideDeck.prototype.loadConfig_ = function() {
161 if (settings.title) { 161 if (settings.title) {
162 document.title = settings.title; 162 document.title = settings.title;
163 } 163 }
164
165 if (settings.title) {
166 document.title = settings.title;
167 }
164 168
165 if (!!!('usePrettify' in settings) || settings.usePrettify) { 169 if (!!!('usePrettify' in settings) || settings.usePrettify) {
166 prettyPrint(); 170 prettyPrint();
167 } 171 }
168 172
169 if (settings.analyticsId) { 173 if (settings.analytics) {
170 this.loadAnalytics_(); 174 this.loadAnalytics_();
171 } 175 }
172 176
@@ -505,7 +509,7 @@ SlideDeck.prototype.loadTheme_ = function(theme) {
505 */ 509 */
506SlideDeck.prototype.loadAnalytics_ = function() { 510SlideDeck.prototype.loadAnalytics_ = function() {
507 var _gaq = window['_gaq'] || []; 511 var _gaq = window['_gaq'] || [];
508 _gaq.push(['_setAccount', this.config_.settings.analyticsId]); 512 _gaq.push(['_setAccount', this.config_.settings.analytics]);
509 //_gaq.push(['_setDomainName', '.bleedinghtml5.appspot.com']); 513 //_gaq.push(['_setDomainName', '.bleedinghtml5.appspot.com']);
510 _gaq.push(['_trackPageview']); 514 _gaq.push(['_trackPageview']);
511 515