This question about Using an extension: Answered

Google Analytics Tracking code not showing in page source

Hi, having a problem with the Google Analytics Plugin. We installed the plug in a few weeks ago. We downloaded it and followed manual installation instructions. I thought I remember seeing the GA script and code in view page source, but now am not sure.

We have gone in and checked the settings in the Configure, Extensions. Also checked the LocalSite.cfg file and everything looks good there. However nothing shows up when I view page source.

Here are the settings from LocalSite.cfg:

$Foswiki::cfg{Plugins}{GoogleAnalyticsPlugin}{Debug} = 1;
$Foswiki::cfg{Plugins}{GoogleAnalyticsPlugin}{WebPropertyId} = 'UA-16285607-14';
$Foswiki::cfg{Plugins}{GoogleAnalyticsPlugin}{Tracking}{Enable}{Scripts} = '*';
$Foswiki::cfg{Plugins}{GoogleAnalyticsPlugin}{Tracking}{Enable}{Webs} = '*';
$Foswiki::cfg{Plugins}{GoogleAnalyticsPlugin}{Tracking}{Disable}{Webs} = '';
$Foswiki::cfg{Plugins}{GoogleAnalyticsPlugin}{Tracking}{Enable}{Users} = '*';
$Foswiki::cfg{Plugins}{GoogleAnalyticsPlugin}{Tracking}{Disable}{Users} = '';

I have a warning when i go into Configure,Extensions:

Warning: This Foswiki was installed using debian packages. You are strongly advised to use the same http://fosiki.com/Foswiki_debian repository packages to install Extensions. If you use this 'Find More Extenstions' button, your Foswiki system may break.

Appreciate any assistance,

thanks, Ann


Is the plugin listed in System.InstalledPlugins? If so, I see you have debug enabled, what gets listed in your data/debug.txt?

-- ArthurClemens - 12 May 2010

Arthur,

Appreciate the help.

1. there is no debug.txt file on my server

2. system.InstalledPlugins does NOT show the GoogleAnalyticsPlugin

3. however, if I go to Admin Tools, configure under Plugins it is listed, Hum, just noticed that there is a check box to the right that is NOT checked. OK, now it works. Thanks for another set of eyes on the problem.

Now when I go to system.InstalledPlugins it DOES show. Thanks so much

Ann

QuestionForm edit

Subject Using an extension
Extension GoogleAnalyticsPlugin
Version Foswiki 1.0.9
Status Answered
Topic revision: r3 - 14 May 2010, AnnRichmond
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy