Youjoomla Support Forums (http://www.youjoomla.com/joomla_support/index.php)
-   YouGrids (http://www.youjoomla.com/joomla_support/forumdisplay.php?f=171)
-   -   YJSG 1.0.7 release Google Analytics new faeature (http://www.youjoomla.com/joomla_support/showthread.php?t=6899)

neo 10-01-2010 06:02 AM

YJSG 1.0.7 release Google Analytics new faeature
 
1 Attachment(s)
To make it easy on everyone we added a new feature in YJSG framework. Google Analytics website hits tracking.
After the update just go to template manager , Additional Features accordion , first setting from top. Turn Google Analytics on and enter your GA tracking ID.

BACKUP BEFORE UPDATING!!!


For manual updates please download the attached zip file . Extract it
FTP the extracted folders ( administrator , templates) to your site root overriding the existing files


affected files:
  • sitename/administrator/language/en-GB/en-GB.tpl_yougrids.ini
  • sitename/templates/yougrids/css/admin/yjsg_admin.css
  • sitename/templates/yougrids/yjsgcore/yjsg_core.php
  • sitename/templates/yougrids/yjsgcore/yjsg_footer.php
  • sitename/templates/yougrids/yjsgcore/yjsg_scripts.php
  • sitename/templates/yougrids/index.php( only version # changed)
  • sitename/templates/yougrids/TemplateDetails.xml

NOTE: If you template name is different than YouGrids ,

do not upload these 2 files . See manual lines update below
  • sitename/administrator/language/en-GB/en-GB.tpl_yougrids.ini
  • sitename/templates/yougrids/TemplateDetails.xml

MANUAL TemplateDetails.xml file update:

open
sitename/templates/YOUR_TEMPLATE_NAME/TemplateDetails.xml

find line #651 ( can differ from template to template )

Code:

<param name="" type="yjsgparamtitle" default="NOT_YJ_LABEL" />
change to

Code:

                <param name="" type="yjsgparamtitle" default="GA_YJ_LABEL" />
                <param name="" type="yjsgtextblank" default="GATEXT_LABEL"/>
                <param name="ga_switch" type="radio" default="0" label="GA_LABEL" description="GA_DESC">
                <option value="1">Enable</option>
                <option value="0">Disable</option>
                </param>
                <param name="GAcode" type="yjsgtext" default="UA-xxxxxx-x" size="20" label="GACODE_LABEL" description="GACODE_DESC" />
                <param name="" type="yjsgparamtitle" default="NOT_YJ_LABEL" />


MANUAL en-GB.tpl_YOUR_TEMPLATE_NAME.ini file update:


open

sitename/administrator/language/en-GB/en-GB.tpl_YOUR_TEMPLATE_NAME.ini

and add following text at the bottom of the file . NO SPACES OR BRAKES!

Code:

GATEXT_LABEL=To enable automatic  hits tracking with GA,enter Google Analytics Account ID into this field. <a href="http://www.google.com/support/googleanalytics/bin/answer.py?answer=55603" target="_blank">Where can I find my tracking ID?</a>. The tracking ID will look like UA-xxxxxxx-x. Please note - this tracking is only for pages displayed within your Joomla installation.
GA_YJ_LABEL= Google Analytics
GA_LABEL= Enable Google Analytics
GA_DESC= Enable automatic website hits tracking with GA. GA tracking ID required. See setting below.
GACODE_LABEL=Enter your Google Analytics tracking ID
GACODE_DESC=To enable automatic hits tracking with GA,enter Google Analytics Account ID into this field. The tracking ID will look like UA-1231231-1


MDQdam 10-22-2010 12:02 PM

Dear Neo
this file update from 1.0 to 1.0.7 ?

maggoo 10-24-2010 07:00 AM

Had to check but includes all previous updates. Please read instructions above, and make a backup.

mafunk 11-22-2010 12:29 AM

Not Working?
 
Hi

I'm using the YouStorage demo install. When I input the UA code and enable Google Analytics in the tracking I can see the code in source code of my webpages. BUT.... when I log in to my Google Analytics account is can't verify - it says that the code is not installed or it can't find it.

Any ideas on how to fix?

Cheers
Mo

mafunk 11-22-2010 12:35 AM

never mind, it's working. I guess it takes several minutes for it to 'take'.


All times are GMT -4. The time now is 04:42 PM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.