Fork me on GitHub

Plugin GTools

Introduction

The GTools plugin allows to include in the pages of the site elements intended for Google services such as:

  • Google Analytics (traffic statistics)
  • Google Tools for Webmaster

This plugin can be used from version 4.1 of Lutece. For previous versions of Lutece, the ganalytics plugin can be used for the Google Analytics part.

Template Settings

For Google Analytics, add the bookmark google_analytics in the page template (page_frameset.html) or footer (footer.html)

<!-- Google Analytics -->
${google_analytics}
                    

For site verification, add the bookmark google_meta_site_verification in the head part of the page (header.html and header_home.html),

<!-- Meta: site check -- >
${google_meta_site_verification}
                    

Google Variables Administration

The management of Google variables (GA code, key, ...) are directly accessible in the "Managing site properties" section of the back office.