This question about Missing functionality: Answered

Put Google Adsense on my foswiki

I'm looking for a solution that I can put advertisement (e.g. Google Adsense, ...) on my foswiki.

-- ChYang 28 - May 2009

This is really quite simple and does not require any special plugins or anything of that sort. Referring to Google's Quick Start help page, simply design your ad block as described and then paste the code provided into a Foswiki topic. If you want it to show up in the sidebar of every page, place the code in the WebLeftBar topic.

-- LynnwoodBrown - 15 Jun 2009

you can also define new skin components and add them to SKIN or COVER as you can see in GoogleAnalyticsPlugin ( http://svn.foswiki.org/trunk/GoogleAnalyticsPlugin/templates/foswiki.googleanalytics.tmpl ) which injects google analytics code right before the closing body tag like so:

%TMPL:DEF{"bodyend"}%
</div><!--/foswikiPage-->
%TMPL:P{"googleanalytics"}%
</body></html> %TMPL:END%

-- WillNorris - 15 Jun 2009

QuestionForm edit

Subject Missing functionality
Extension
Version
Status Answered
Topic revision: r3 - 15 Jun 2009, WillNorris
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