Jump to content

Alfredlytics - Google Analytics Workflow


Recommended Posts

Alfredlytics - Google Analytics Workflow
 
Features

This workflow shows Google Analytics metrics and dimensions directly in Alfred 2:

  • Visitors / Pageviews of the last 7 days
  • Top Pages of the last 30 days
  • Top Referrers of the last 30 days
  • Top Searches of the last 30 days

alfredlytics.png

Installation

Download and import into Alfred 2.

Usage

Keywords

Before you can use the workflow you have to configure your Google Analytics account. This will use Google OAuth2, so you will not have to save your Google credentials with the workflow.
 
Setup

 

1. Authorize the workflow to access your Google Analytics data:

.gaauth [Google Auth Code]

First call the keyword without an argument. This will redirect you to Google's authorization website.
 
gaauth1.png

gaauth2.png

Copy the auth code and call the keyword a second time with the auth code as argument.
 
gaauth3.png
 
gaauth4.png

 

2. Choose your default profile:

.gaprofile

After you have authorized the workflow you have to choose your default profile.

 

gaprofile.png

Show Google Analytics data

.ga

Currently you can view these metrics/dimensions:

  • Visitors / Pageviews of the last 7 days
  • Top Pages of the last 30 days
  • Top Referrers of the last 30 days
  • Top Searches of the last 30 days

Credits

Thanks to Jeffrey B. Murphy and Mario Alemi for their excellent articles on Google OAuth2 authentication on the shell.
Some of the icons are part of the "Web Design" icon pack created by Liam McKay.

Link to comment

Firstly wow!! This is a great workflow

However....

I am getting a weird font thingy on the results...

Screen%20Shot%202013-05-23%20at%2010.46.

That's the intended behaviour. The black squares are your visitors and the white ones are your additional pageviews. I tried to create a graphical representation of the data be make it easier to see the current trend.

Link to comment
  • 3 years later...

Hej,

thanks for the great workflow, but i can setup the workflow with authentification and profile and everything seems alright.

 

But if i start the workflow i get the first mask, but if i want to show for example Visitiors, nothing happens?

 

Maybe a little incompatible problem with Alfred3 ?

 

Can anyone help?

 

THX

Rolf

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...