Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

YJSG 1.0.7 release Google Analytics new faeature

10-01-2010, 05:02 AM
# 1 (permalink)
neo
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
Attached Files
File Type: zip YouGrids_manual_update-1-0-7.zip (26.6 KB, 42 views)
Thread Tools
Display Modes

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

Members Login

Username
Password