Tribune

Home » Liferay Portal » English » 2. Using Liferay » General

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Anton Finders
Google Anlytics
5 aprile 2011 5.54
Risposta

Anton Finders

Punteggio: New Member

Messaggi: 12

Data di Iscrizione: 2 marzo 2009

Messaggi recenti

1. Is it possible to use multiple google-analytics id's within a website (one liferay-instance)?
a. One id is specified in the control panel and monitors the complete website;
b. Other id's are used to monitor parts of the website e.q. a organisation of a portlet

2. Is it possible to use the same google-analytic in multiple LR instances?
It follows a visitor throughout his/her visit in two different websites. Each website has its own liferay-instance but it should be measured/monitored as one visit/
Miguel Ángel Pau
RE: Google Anlytics
5 aprile 2011 11.44
Risposta

Miguel Ángel Pau

Punteggio: Regular Member

Messaggi: 153

Data di Iscrizione: 26 aprile 2005

Messaggi recenti

Hi Anton,

The Google analytics' ID is set by domain-name, subdomain or domain-name with different extensions, for this reason, you can use different IDs for each different domain-names you will use.

If you will use virtual hosting in communities/organizations or instances with different domain-names you could use different ID's for each one.

Follow this link for more info: http://www.liferay.com/es/community/wiki/-/wiki/Main/Google+Analytics
regards!
Mika Koivisto
RE: Google Anlytics
7 aprile 2011 12.55
Risposta

Mika Koivisto

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1501

Data di Iscrizione: 7 agosto 2006

Messaggi recenti

If it's all one site within one domain just add the analytics code to your theme. That's what I do to track the whole site.
Miguel Ángel Pau
RE: Google Anlytics
8 aprile 2011 0.34
Risposta

Miguel Ángel Pau

Punteggio: Regular Member

Messaggi: 153

Data di Iscrizione: 26 aprile 2005

Messaggi recenti

Hi Mika, why do you use analytics code in the theme? Where is the bennefit between this and bottom-ext.jsp for whole site? Are you using custom code?

Regards! emoticon
Hitoshi Ozawa
RE: Google Anlytics
8 aprile 2011 22.44
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7954

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

Hi Mika, why do you use analytics code in the theme? Where is the bennefit between this and bottom-ext.jsp for whole site? Are you using custom code?


I think you're talking about the same thing. emoticon

Refer to "Portal Wide (One site wide domain)" in the following wiki:

http://www.liferay.com/community/wiki/-/wiki/Main/Google+Analytics
Miguel Ángel Pau
RE: Google Anlytics
11 aprile 2011 11.20
Risposta

Miguel Ángel Pau

Punteggio: Regular Member

Messaggi: 153

Data di Iscrizione: 26 aprile 2005

Messaggi recenti

Hi Hitoshi,

thanks for your comments! I wrote the link in my previous post ;)

I asked Mika because I'm testing analytics script before
</head> like google recommends and I would to know if Mika applies these
recommendations or he puts the script in theme's bottom.
Mika Koivisto
RE: Google Anlytics
11 aprile 2011 19.03
Risposta

Mika Koivisto

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1501

Data di Iscrizione: 7 agosto 2006

Messaggi recenti

I put the script in bottom.
Milen Dyankov
RE: Google Anlytics
13 aprile 2011 5.20
Risposta

Milen Dyankov

Punteggio: Regular Member

Messaggi: 173

Data di Iscrizione: 23 settembre 2009

Messaggi recenti

You could also use Custom Global Markup portlet. It's available for download/install from Liferay Portal Community Plugins repository.
Miguel Ángel Pau
RE: Google Anlytics
13 aprile 2011 8.15
Risposta

Miguel Ángel Pau

Punteggio: Regular Member

Messaggi: 153

Data di Iscrizione: 26 aprile 2005

Messaggi recenti

Hi Milen,
I find that portlet very interesting which extends the options of "Look & Feel" and "Javascript" in Manage Pages.

One question ... Will this be used to add meta-tags in <header></header>? such as google webmaster tools' verifier.

Thanks.
Milen Dyankov
RE: Google Anlytics
13 aprile 2011 8.43
Risposta

Milen Dyankov

Punteggio: Regular Member

Messaggi: 173

Data di Iscrizione: 23 settembre 2009

Messaggi recenti

I guess you meant <head></head> section. If so, then yes. When you choose TOP location your markup will be added in <head></head> section. It may be a <meta> tag containing google webmaster tools' verification code.
Miguel Ángel Pau
RE: Google Anlytics
13 aprile 2011 9.04
Risposta

Miguel Ángel Pau

Punteggio: Regular Member

Messaggi: 153

Data di Iscrizione: 26 aprile 2005

Messaggi recenti

Great!! I missed a feature like this for a long time.
Downloading! ;)

regards!
Santi Begué
RE: Google Anlytics
15 ottobre 2011 11.27
Risposta

Santi Begué

Punteggio: New Member

Messaggi: 6

Data di Iscrizione: 17 luglio 2008

Messaggi recenti

Very helpful! in my situation, I have a liferay hosted in a Dyndns domain and want to use the google webmaster tools. For this, the only way to do the validation is with meta because i can't insert a TXT register into dns and deploy de googlexxxxxxx.html don't work.
Jhonnie Goncalves
RE: Google Anlytics
20 marzo 2012 4.58
Risposta

Jhonnie Goncalves

Punteggio: New Member

Messaggi: 1

Data di Iscrizione: 20 marzo 2012

Messaggi recenti

I'm interested in using this portlet on my company's site, we need to verify the google webmaster toolkit.
I think this would be the cleaner way to do it, plus it will be useful in the future to add scripts etc via GUI.

I downloaded the newer version (6.0.6.1) and deployed the plugin without problems, it shows the 'Global Markup' submenu on my contol panel but when i try to 'Add new markup' it does nothing.

I'm relatively new to liferay, so i'm wondering if i missed a configuration step or something like that.
Our Liferay version is 6.0-ee, i would really appreciate any suggestions on how to install/use this portlet properly.
Milen Dyankov
RE: Google Anlytics
20 marzo 2012 6.11
Risposta

Milen Dyankov

Punteggio: Regular Member

Messaggi: 173

Data di Iscrizione: 23 settembre 2009

Messaggi recenti

The portlet uses ServiceBuilder and 6.0.6.1 version was build with Liferay CE (6.0.6) SDK.
Unfortunately portlets that use ServiceBuilder and are compiled with community edition SDK does not work when deployed on EE version. This means that in order to release a EE compatible version a portlet owner must purchase Liferay EE. Not an option for a small, free, open source portlet like this one .

So to make it work, you'll have to download the portlet's source code and build it with a Liferay SDK compatible with your Liferay EE!