Topic Closed

I wounder how to add service like Google Analytics? I can see only one way - it's add to template. but then even admin pages will be visible to google. any suggestions how todo it right way  - add Google Analytics only to public pages with content?

10 years ago#585

cyberman
85 Posts
1.5K Downloads
1 Plugins

Yeah, gpEasy is really easy to use ... add only the given Google Analytics script to template.php and that's all (no more installation or something else).

If you dont want to analyze the admin access ;) you can use the gpeasy cookie as switch. This cookie is only set if an admin or someone else is logged in.

You can check it inside your template.php with

if (!isset($_COOKIE['gpEasy']))

Sorry, there's currently no real view mode for source code here in forum :-/ ... please ask if you need more to know.

10 years ago#587

if you cant add google analitics without having sex with gpEasy code I cant call that easy to use. I wrote before there no sitemap.xml and other problems. even in meta tags gpEasy keep push his own name. all that make your site away from google. dont use gpEasy if you hope ever enter google index.

10 years ago#592

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register