Commits

Anonymous committed 6c8317c

GA aan

  • Participants
  • Parent commits f4b5224

Comments (0)

Files changed (1)

views/stelling/opensocial.xml

 <Require feature="dynamic-height" /> 
 <Require feature="minimessage" />
 <Require feature="views" /> 
+<Require feature="analytics"/>
 </ModulePrefs>
 
 <Content type="html" view="profile">
 
 </style>
 <script type="text/javascript">
-//<Require feature="com.google.gadgets.analytics" /> 
-//var ga = new _IG_GA("UA-19986224-3");
-//ga.reportPageview('/view/profile');
+var ga = new _IG_GA("UA-19986224-3");
+ga.reportPageview('/view/profile');
 var msg = new gadgets.MiniMessage(__MODULE_ID__);
 var statusbar
 var url;
 <![CDATA[ 
 <div id="wdiv__MODULE" style="width:330;height:120">Laden (default)...</div>
 <script type="text/javascript">
-  //var ga = new _IG_GA("UA-19986224-3");
-  //ga.reportPageview('/view/default');
+  var ga = new _IG_GA("UA-19986224-3");
+  ga.reportPageview('/view/default');
 
   function navigateTo(dest) { 
     var supported_views = gadgets.views.getSupportedViews(); 
 <![CDATA[ 
 <div id="wdiv__MODULE" style="width:300;height:200">Laden (home)...</div>
 <script type="text/javascript">
-//var ga = new _IG_GA("UA-19986224-3");
-//ga.reportPageview('/view/home');
+var ga = new _IG_GA("UA-19986224-3");
+ga.reportPageview('/view/home');
 function navigateTo(dest) { 
     var supported_views = gadgets.views.getSupportedViews(); 
     gadgets.views.requestNavigateTo(supported_views[dest]); 
     };
 
     function init() {
+		var ga = new _IG_GA("UA-19986224-3");
+ 		ga.reportPageview('/view/canvas');
         // build content
         content='<div id="stellingimage"></div>';
         content+='<div id="stellingavatar"></div>';