diff --git a/app/com/gitpitch/views/frags/GoogleAnalytics.scala.html b/app/com/gitpitch/views/frags/GoogleAnalytics.scala.html index 4fcccec..ce5344b 100644 --- a/app/com/gitpitch/views/frags/GoogleAnalytics.scala.html +++ b/app/com/gitpitch/views/frags/GoogleAnalytics.scala.html @@ -1,11 +1,16 @@ -@(gaToken: String) +@(gaToken: String, gpu: Boolean) @if(gaToken != null) { } diff --git a/app/com/gitpitch/views/frags/SlideshowGoogleAnalytics.scala.html b/app/com/gitpitch/views/frags/SlideshowGoogleAnalytics.scala.html index 13e30dc..db2d8b7 100644 --- a/app/com/gitpitch/views/frags/SlideshowGoogleAnalytics.scala.html +++ b/app/com/gitpitch/views/frags/SlideshowGoogleAnalytics.scala.html @@ -2,10 +2,10 @@ @if(!offline) { @if(!serverPrinting) { @if(gpToken) { - @GoogleAnalytics(gpToken) + @GoogleAnalytics(gpToken, false) } @if(ssm.hasGAToken()) { - @GoogleAnalytics(ssm.fetchGAToken()) + @GoogleAnalytics(ssm.fetchGAToken(), true) } } }