![]() Boen, Jan 131 posts | Issue has been created |
![]() Alexis Raimbaultfrom Mulhouse Associate, 1898 posts | Hello Jan, You can add this in control panel, building of pages. there's a edit field to add some script to all pages. Another solution is to include your script inside your template.php, but first solution is easiest. Alexis Raimbault webmaster free-lance |
![]() Boen, Jan 131 posts |
Alexis Raimbault: Hello what is the correct English menu name? I can't find a control panel option with this feature.
Jan |
![]() Alexis Raimbaultfrom Mulhouse Associate, 1898 posts |
Boen, Jan : it's the page where you can configure site name, site slogan, site description etc. At the bottom, you have "trailer" field and this hint : "Additional text inserted at the very end of every web page generated by YACS. Use this to integrate page tracking systems, with adequate <script> tags." you can also access this page via url /skins/configure.php Alexis Raimbault webmaster free-lance |
![]() J.Juraverfrom Entre chaise et clavier... 3710 posts | One more info : in your google-analytics panel, you should create a filter in the parameters section, wich disable your own IP tracking. If not done, GG analytics will registrer some visited pages as purge.php and any administration action done as you are authenticated in your yacs site... Je ne m'attarde pas, j'ai mon yacs en double file...
![]() Yacs on my blog | Suivez le blog Yacs | Yacs Showroom | Plugin Firefox de recherche dans Yetanoz | |
Bernard Paquesfrom nearby-an-airport Associate, 8363 posts | If I remember correctly, yacs provides native support for Urchin, which is the previous name for Google Analytics. All you have to do is to enter the id to use in the configuration panel for services. This will set the global parameter |
![]() J.Juraverfrom Entre chaise et clavier... 3710 posts |
Bernard Paques : old urchin is obsoleted. See french topic here Google analytics Je ne m'attarde pas, j'ai mon yacs en double file...
![]() Yacs on my blog | Suivez le blog Yacs | Yacs Showroom | Plugin Firefox de recherche dans Yetanoz | |
![]() Boen, Jan 131 posts | The Google Analytics script doesn't work. Suggestions? |
![]() Alexis Raimbaultfrom Mulhouse Associate, 1898 posts |
Boen, Jan : your have to wait one day for first stats. Is it better today. Display the html source of one page to check if tracker is here. Alexis Raimbault webmaster free-lance |
Adding Google Analytics
Is there a way to add Google analytics to all pages.
| Workflow | Support request |
| Status | Problem has been recorded
|
| Owner | Boen, Jan |
| Progress | ![]() |
This is the script I would like to add.
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-15066440-1");
pageTracker._trackPageview();
} catch(err) {}</script>
How can this be done?
Thanks,
Jan

















