Jump to content
_mk_

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.

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...