Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Excerpt

Sample Blend template for use with Google Analytics

that can be easily added to your installation. It demonstrates how to blend data from a sample customer support system with Google Analytics web traffic data.

Prerequisites

In order to follow along with this how-to guide you will need a desktop installation of Pentaho Business Analytics.
Download Pentaho

Google Analytics account

You must have a Google Analytics account and API key in order to access your website data. If you are new to Google Analytics, there is more information here.

If you have signed up and already have an API key but don't remember what it is, go here and select "API Access". You will need to be signed into your Google account.

Data Files

You will also need the sample Customer Support spreadsheet available here. Save it to your data folder.

Add the Google Analytics Blend sample template to your copy of Pentaho Data Integration

Now that there is data in the right place, all you need to do is open the template and point to the data file.

  1. Get the Template: Click here to download the template and save it to your PDI folder. Open PDI and open the GoogleAnalyticsBrowserBlend that you just downloaded. Double click on the Customer Service Input step and link to the data file you downloaded, then close the step. Open the Google Analytics Input step and enter you're username, password and token, and select the website you want to analyze. Close the step and save the transformation.

Configure JDBC Driver:

Follow the directions to configure the Thin Kettle JDBC driver: http://wiki.pentaho.com/display/EAI/Configuration+of+the+Thin+Kettle+JDBC+driver

...

Try

...

the

...

sample

...

  1. Start

...

  1. :

...

  1. Start

...

  1. up

...

  1. Pentaho

...

  1. Business

...

  1. Analytics

...

  1. and

...

  1. open

...

  1. the

...

  1. "GoogleAnalyticsBrowserBlend.ktr"

...

  1. template.

...

  1. From

...

  1. the

...

  1. GoogleAnalyticsBrowserBlend

...

  1. transformation:

...

  1. Click:

...

  1. "Google

...

  1. Analytics

...

  1. Input"

...

  1. step
    • Enter a Google email, password and API key tied to your Google Analytics account as described above.
    • Press the "Get Profiles" button to fill the drop down list with your web site information
    • Select the website to profile from the "Get tableId from profile" dropdown
    • Enter a start and end date
    • You should use the "Preview" button on the bottom of the dialog to ensure your selections are correct.
    • Press "OK" when done
  1. Open a browser and open the Pentaho User Console.
  2. Select Manage Data Sources
  3. Create a JDBC Driver (click the + and select JDBC)
    Click to enlarge image.
    Image Added
  4. Create a data source using the data service from the GoogleAnalyticsBrowserBlend transformation.
    Click to enlarge image.
    Image Added
  5. Create a new Analyzer view and begin to analyze the blended Google and Customer Service data.