SSIS GoogleAnalyticsSource

6. February 2011

GoogleAnalyticsWer die Zugriffe seiner Webseite heutzutage vernünftig analysieren möchte, der kommt irgendwie kaum an Google Analytics vorbei; zumindest nicht, wenn er kein Geld für die Analyse ausgeben kann oder will.

Google Analytics ist der kostenlose Analyse Dienst für Webbetreiber, leicht zu integrieren und mit einem sehr ansprechenden Frontend versehen. Hinzu kommt eine nahtlose Integration in das Google Werbeimperium.

Auch wenn Microsoft mit Microsoft Advertising gerade versucht innerhalb des großen Werbemarktes Fuß zu fassen, hat es Microsoft’s Gatineau - das entsprechende Pendant zu Google Analytics  - leider nie wirklich in die Öffentlichkeit geschafft. Einziger mir bekannter wichtiger Konkurrent ist derzeit das Open Source Projekt Piwik.

msa_header_logo            logo_piwik

Google Analytics stellt ein umfangreiches Analyse Werkzeug für seine Web Seiten dar, dem eigentlich nicht viel fehlt. Trotzdem gibt es häufig die Anforderungen, die Daten von Google in seine eigenen Datenbanken übernehmen zu wollen. Google bietet hierfür mit google-gdata – .NET library for the Google Data API eine entsprechende API an.

SSIS GoogleAnalyticsSource2Auf Basis dieser API habe ich die SSIS Komponente SSIS GoogleAnalyticsSource entwickelt. Derzeit ist die Komponente nur über meinen Blog im Bereich Komponenten zu erreichen, in den nächsten Tagen wird sie dann (hoffentlich) auch bei Codeplex zur Verfügung gestellt.

Die SSIS Komponente kann sich zu einem beliebigen Google Konto verbinden und dort Daten aus einem dem Google-Konto zugeordneten Profil laden. Profile sind verschiedene Webseiten oder Landing-Pages, die einem Google Account zugeordnet sind.

Mit der Komponente können dann verschiedenste Dimensionen und Metriken für einen bestimmten Zeitraum ausgewählt werden.

 

SNAGHTML271dce72

SNAGHTML271ebd53

Zusätzlich können auf die Dimensionen und Metriken Filter angewendet werden. In der aktuellen Version werden ungültige Filter-Metrik-Kombinationen noch nicht abgefangen. Filter können zur Zeit ausschließlich mit AND verknüpft werden.

SNAGHTML2722fbe8

Durch den obigen Filter werden z.B. ausschließlich Werte geladen, bei denen der Browser ungleich Chrome, Firefox und Opera ist und der Zugriff aus der Stadt Bonn vorgenommen wurde.

Über den Preview Button können die Einstellungen in der Komponente vorab getestet werden; es werden jeweils die ersten 200 Ergebnisse aus der jeweiligen Abfrage dargestellt.

 

image

 


Download Version 1.0 beta: GoogleAnalyticsSource.msi (1,22 mb)

 

 

Bookmark and Share

Freie Komponenten , , ,

Comments

2/6/2011 9:05:40 PM #
Pingback from topsy.com

Twitter Trackbacks for
        
        SSIS-Components.net | SSIS GoogleAnalyticsSource
        [ssis-components.net]
        on Topsy.com
Andrey
3/17/2011 4:00:58 PM #
Hello @all,

juts tried this component. I could install it, but when I try to configure it, I'm getting several errors (like ArgumentOutOfRangeException and HTTP Error 400 "Bad request"). When I start package, nothing is returned by the source.

The idea itself is good, but the implementation is still buggy. Very interested in getting this component running...
3/19/2011 8:20:16 PM #
Hi Andrey,

"HTTP Error 400" is a Google Data Feed Error Code. Not all dimensions and metrics can be queried together. Please look at the "Dimension & Metrics Reference" for more details: code.google.com/.../...enceDimensionsMetrics.html.

I'll try to integrate an error handling for this point in the next release.

Cheers,

Till
Calvin
3/29/2011 12:38:15 PM #
Hi

I have posted a comment on the codepex site regarding 64Bit compatibility issues.

Also I am wondering how you see it being used?
I would love to be able to extract the information in a way where I can re-build a Star schema warehouse from it but I am struggling to get a 'Fact table' style source out. It seems that there is a limit to how many Dimension attributes you can bring back and there is no 'key' to each dimension subject area.
I understand I am coming at it from a specific direction and not necessarily one that Google would approve of or have envisaged!


Cheers
Calvin
Arun
4/1/2011 2:31:37 PM #
Pls I am unable to login my Google Analytics login please help me
how to log in Google using google Analytics Source.
Jaspreet Singh
4/1/2011 6:17:28 PM #
Hello

I use this google analytic source control in SSIS package, First i install it on my system, then i add dll file in SSIS package then iadd DATAFLOW task, In dataflow task i add GoogleAnalyticSource control, but i am not able to login to my google analytic account. It always gave me error not connected.

Can you help me on this.

Regards
Jaspreet Singh
4/1/2011 6:34:08 PM #
Hi Calvin,

the 64Bit compatibility is a bug at the moment. I hope I can fix it with the next release.

Yes, there are some limits through the Google Data API. It's not possible to use more than 7 dimensions in one query, you must combine any requested dimension with at least one metric and not all dimensions and metrics can be queried together. Look http://bit.ly/gBOjKp for more details.

Tillmann
4/1/2011 6:45:45 PM #
Hi Arun, Jaspreet,

hm, actually this is the easiest part.
Use username and password from your google analytics account and click "Login". There must be at least one profile in your account.
You can test the connection by clicking the button "Test".

Cheers,

Tillmann
Arun
4/4/2011 9:50:07 AM #
hello
       TilMann that is very easy to say but still i m unable to Login.
Arun
4/5/2011 2:00:55 PM #
I use this google analytic source control in SSIS package, First i install it on my system, then i add dll file in SSIS package then iadd DATAFLOW task, In dataflow task i add GoogleAnalyticSource control, but i am not able to login to my google analytic account. It always gave me error not connected. but it not show any thing when we Pass our Google user Name and
Password.
Arun
4/5/2011 2:29:04 PM #
1)  Download Control From this Location http://analyticssource.codeplex.com/
2)  Install this
3)  Add a SSIS Project  
4)  Then add Control to library
5)  Then Right Click on Control and try to login but it can’t do any thing and not login Google Analytics.  
Jaspreet SIngh
4/5/2011 5:27:53 PM #
1) I download it from this link
2) Then i install it on my system. My system is 32 bit Windows 7
3) Create New SSIS project and add DataFlow tasks. In dataflow control i add GoogleAnalyticSource control.
4) Then i right click and fill username and password of my google analytic account and click on login button. It doesn't give me anything. When i clck on OK button then it shows error in connection.
Jaspreet Singh
4/6/2011 3:45:06 PM #
hello any solution
4/6/2011 7:24:18 PM #
Hi,

Sorry, but I do not understand the problem. I can not reproduce the error.

Please check following things:

1. At the Google page everything works fine?
2. Is a local firewall enabled?
3. Is a corporate firewall in use?
4. Use incorrect credentials. Did you get the same error?
5. Start your BIDS/Visual Studio as Admin (bypass the UAC)


By the way, each comment is approved by me. Please post the comment only once.

Cheers,

Tillmann
Kam
11/23/2011 7:21:19 PM #
How do you add the control to the library?
Kam
11/23/2011 7:30:38 PM #
Hello,

I was finally able to add to "library" - toolbox.  I am now having trouble logging in, same problems outlined above.
11/23/2011 8:54:28 PM #
Hi,

the component uses SOAP request. It's possible that this is not allowed in your network. There is an open issue on Codeplex for this problem.

Cheers,

Tillmann

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading