Analytics using Piwik in Liferay 6.2

Ankit Srivastava
Ankit Srivastava
Less Than a Minute Read

Hi All,

Using Liferay 6.2 OOTB features, you can achieve analytics using Piwik .

Piwik is the leading open source web analytics platform that gives you valuable insight into your website's visitors, your marketing compaigns and much more, so you can optimize your strategy and online experience of visitors.

You can deploy piwik in local environment and cloud also.

I am sharing steps to configure this in local environment.

1. Install Piwik on local machine using this link

  To run Piwik, your host need couple of things:

  Webserver such as Apache, Nginx, IIS etc.

  PHP version 5.3.2 or greater

  MYSQL version 4.1 or greater

  (enable by default) PHP extension pdo and pdo_mysql, or the mysqli extension.

2. Register you website IP or domain name, once piwik is installed. It generates the javascript code:

 

3. In Liferay Portal, go to Site Administration > Site settings > Analytics. Paste full javascript code into Piwik section.

Once done you will be able to see these reports:

 

Enjoy analytics with Piwik.

Thanks:

Ankit

 

 

 

 

Page Comments
when I try to:
"go to Site Administration > Site settings > Analytics. Paste full javascript code into Piwik section"
all I see is "Set the Google Analytics ID" with a corresponding input field.
Where do I tell my Liferay installation to include a Piwik section on that page?
thanks!

The Technicalities of Static Sites

David Oliveira Montenegro
View Blog >

Customization is Dead! Long Live Customization!

David H Nebinger
View Blog >
customization banner image.png

Public Bug Bounty Program

David H Nebinger
View Blog >
bugbounty.png
Showing 1 to 3 of 3 entries.