It would be nice to fire Google Analytics events for the main actions: vote, comment, question posted, answer posted, etc.

asked 08 May '10, 13:52

Oscar's gravatar image

Oscar ♦
2.1k376169
accept rate: 27%


Coming from the perspective of a commercial web publisher, I wouldn't want to record those as impressions because they are not really "pages" in the way we usually view our inventory. They are, however, really meaningful events that are worthy of being tracked somehow. I wonder whether statistics about these events could best be tracked and reported by OSQA, itself?

link

answered 08 May '10, 14:26

rickross's gravatar image

rickross ♦♦
12.5k2914972
accept rate: 46%

I think that what we need is Middleware (?) that, for every URL view, will log the username and the view, as well as any option. That will allow us to do sophisticated stats and funnel analysis, e.g. what percent of anon users signed up? What percent of signed up users return once a what? What percent of signed up users spend more than five minutes on the site at a time?

(08 May '10, 18:57) Joseph
2

Google Analytics does not track events as impressions. They are displayed in a different report and do not count as a pageview.

http://code.google.com/apis/analytics/docs/tracking/eventTrackerOverview.html

pageview calculations are unaffected by user activity tracked using the Event Tracking method

For me Event Tracking is the natural way to store and analyze events such as 'post a question', 'post an answer', 'flag', etc.

(09 May '10, 07:53) Oscar ♦

Wow, I had no idea! In that case, I am in favor of this suggestion. Very cool. Thanks!

(09 May '10, 09:02) rickross ♦♦

I'd like to stress that more useful analytics come from knowing the user performing the action, and whether the user is authenticated or not. Can we measure those with GA?

(09 May '10, 16:54) Joseph
1
(10 May '10, 05:08) Oscar ♦

@Oscar: This seems like a tremendously useful GA integration. Have you completed this integration? If so, I would really appreciate a brief explanation of how I could do that as well.

(31 Dec '11, 17:25) jac

@jac No, I cannot complete the integration by myself because I don't know Django or OSQA. But for someone knowing how OSQA is implemented I think that it would be really easy to implement the code to track these events.

(02 Jan, 04:35) Oscar ♦
showing 5 of 7 show 2 more comments
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×144

Asked: 08 May '10, 13:52

Seen: 548 times

Last updated: 02 Jan, 04:35

powered by OSQA