Installing Node.js, Bower, Polymer, and Google Analytics Web Components — A step-by-step guide

Installing Node.js, Bower, Polymer, and Google Analytics Web Components — A step-by-step guide

Installing Node.js, Bower, Polymer, and Google Analytics Web Components — A step-by-step guide

Run as root on RHEL, CentOS or Fedora:

Then install, as root:

Upgrade npm to the latest version:

Install Bower:

Install Git

 

Change Bower settings to execute with superuser permissions

The previous command will generate a basic bower.json file. Answer all necessary questions with information about your application.

Install Polymer

 

Bower adds a bower_components/ folder in the root of your project and fills it with Polymer and its dependencies.

Install Google Analytics —- Web Components

 

After everything is install your folder should look like this:

ga

Here is a sample code for a Google Analytics data:

 

 

Lucas Callado

Lucas Callado

Full stack developer, architect and a technical lead in the field of web engineering.
Lucas Callado

3 thoughts on “Installing Node.js, Bower, Polymer, and Google Analytics Web Components — A step-by-step guide

  1. wazid

    I installed all the command as you wrote here. But where i have to store “Google Analytics data” file. I put it in “public ” folder in my server. But give a blank page. Also is it needed to include any javascript links like analytics.js or Chart.min.js etc ?

  2. Subrata Bhadury

    Hello , I follow this tutorial and its working . But I notice after user approving the app , user must have to logged in to his gmail account unless google analytics chart is not showing . Is there any other way , where user login one time to approve the app and get analytics chart with out second login.

    Thank You

Leave a Reply

Your email address will not be published. Required fields are marked *

5 × 1 =