Can anyone tell me how to install Google Analytics Tracking Code to
Glosswords? (I mean where to paste the code)
In GW 1.8.11 do the following...
1) Copy your Analytics code to a file called 'google_analytics.php'
../templates/common/
2) Declare a custom variable in the file 'custom_vars.php'
Below
/* ----------------------------------------------------- */
/* Load custom functions */
/* ----------------------------------------------------- */
/*
add this line: $oTpl->addVal('my:block:google_analytics', $oFunc-
>file_exe_contents($sys['path_tpl'].'/common/
google_analytics.php') );
3) Edit your visual theme
Visual themes -> Browse -> (Theme name) Dictionary -> tpl_footer:
Edit the code:
Right above </body></html> add this code {%my:block:google_analytics%}
I hope this helps. It works for me.