Google Analytics

I’m new to the yii framework. Here is my first widget. It’s very simple now to add Google Analytics to your page and switch it off with one parameter.

<?php $this->widget('EGoogleAnalytics', array('id'=>'UA-12345678-1', 'whatstracking'=>'multiple-domains', 'visible'=>true)) ?>

Hi Viglu,

euh… where is the download link ? … maybe you could add your extension to the ‘yii extensions’ pages’


Sorry I have forgotten to attache the file.

I cannot add it to the Extension page, I cannot log in with my forum account.


(I think you need a minimum number of posts in the forum before being able to add an extension … maybe try again now)