tog22 / eaforum

EA Forum
Other
12 stars 1 forks source link

Add click-tracking to links worth tracking #59

Closed tog22 closed 8 years ago

tog22 commented 8 years ago

To do this you add onclick="_gaq.push(['_trackEvent', 'Text description 1', 'Text description 2']);" to <a> elements.

As part of this task you'd come up with a list, which it might be good to run past me (and any others) here.

Examples

'Recently on EA Blogs' links, for all of which you'd make 'Text description 1' read 'Recently on EA Blogs link' (i.e. saying the same thing), and for which it's probably not worth giving a unique 'Text description 2'.

Adding a different event for each link in Getting Started and all the clickable interface elements in the top bar would be good.

tog22 commented 8 years ago

Hey Patrick, if you're ever not up for one of these tasks just say and unassign them!

patbl commented 8 years ago

Another option would be to use Heap Analytics, which would let us track everything. The free plan covers 5,000 sessions a month, or 50,000 if we stick this somewhere:

image

We currently have about 12,000 sessions a month according to Google Analytics, so 5,000 sessions would give us a pretty good sampling.

There wouldn't really be any harm in using both Heap and GA for click tracking.

tog22 commented 8 years ago

If you think that'd give us data you thought you could personally turn into something action-relevant then go for it, but without the image :)

On 1 May 2016 at 11:00, Patrick Brinich-Langlois notifications@github.com wrote:

Another option would be to use Heap Analytics https://heapanalytics.com/, which would let us track everything. The free plan covers 5,000 sessions a month, or 50,000 if we stick this somewhere:

[image: image] https://cloud.githubusercontent.com/assets/1735266/14943356/855f67ea-0f8b-11e6-8430-23918c88f307.png

We currently have about 12,000 sessions a month according to Google Analytics, so 5,000 sessions would give us a pretty good sampling.

There wouldn't really be any harm in using both Heap and GA for click tracking.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/tog22/eaforum/issues/59#issuecomment-216059227

peterhurford commented 8 years ago

@tog22 @patbl What do you think the priority of this should be?

patbl commented 8 years ago

Adding Google Analytics tracking to specific links seems not easy. Generating the links in the "Getting Started" sidebar, for example, involves at least the following classes: Reddit, PaneStack, LinkBox, Wrapped. I'm not sure how these work, but it's not a matter of just inserting an onclick attribute into a few anchor elements—there are several layers of abstraction.

Heap has the advantage of tracking every click by default. I think we should try it and see whether 5,000 sessions gives us enough data. It would also be possible to get Google Analytics to work, but I'm not sure it's worth the effort. I can give you all access to the Heap data if we go ahead with it.

tog22 commented 8 years ago

Ah, didn't realise it was so abstracted. Heap was a good call, I'm glad to see you submitted a PR for that!

On Wednesday, 11 May 2016, Patrick Brinich-Langlois < notifications@github.com> wrote:

Adding Google Analytics tracking to specific links seems not easy. Generating the links in the "Getting Started" sidebar, for example, involves at least the following classes: Reddit, PaneStack, LinkBox, Wrapped. I'm not sure how these work, but it's not a matter of just inserting an onclick attribute into a few anchor elements—there are several layers of abstraction.

Heap has the advantage of tracking every click by default. I think we should try it and see whether 5,000 sessions gives us enough data. It would also be possible to get Google Analytics to work, but I'm not sure it's worth the effort. I can give you all access to the Heap data if we go ahead with it.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/tog22/eaforum/issues/59#issuecomment-218670699

patbl commented 8 years ago

Seems to be working. Send me your e-mail address if you want access (pbrinichlanglois@gmail.com).

screenshot 2016-06-07 13 46 32
tog22 commented 8 years ago

Awesome! Are you still up for turning this date into something action-relevant for us, if only perhaps in a few months? Please add me on tog.ash@gmail.com either way - ideally letting me add others if that's easy.

On 7 June 2016 at 13:48, Patrick Brinich-Langlois notifications@github.com wrote:

Seems to be working. Send me your e-mail address if you want access.

[image: screenshot 2016-06-07 13 46 32] https://cloud.githubusercontent.com/assets/1735266/15874046/44f4e43a-2cb6-11e6-9acd-b026fa834f7b.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tog22/eaforum/issues/59#issuecomment-224409570, or mute the thread https://github.com/notifications/unsubscribe/AA2QLSZYc0n0tMmoe_dSDxo1NMY2eSoHks5qJdk4gaJpZM4IUciR .

patbl commented 8 years ago

You've been added. You should receive an e-mail.

On 18 June 2016 at 04:10, tog22 notifications@github.com wrote:

Awesome! Are you still up for turning this date into something action-relevant for us, if only perhaps in a few months? Please add me on tog.ash@gmail.com either way - ideally letting me add others if that's easy.

On 7 June 2016 at 13:48, Patrick Brinich-Langlois < notifications@github.com> wrote:

Seems to be working. Send me your e-mail address if you want access.

[image: screenshot 2016-06-07 13 46 32] < https://cloud.githubusercontent.com/assets/1735266/15874046/44f4e43a-2cb6-11e6-9acd-b026fa834f7b.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tog22/eaforum/issues/59#issuecomment-224409570, or mute the thread < https://github.com/notifications/unsubscribe/AA2QLSZYc0n0tMmoe_dSDxo1NMY2eSoHks5qJdk4gaJpZM4IUciR

.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/tog22/eaforum/issues/59#issuecomment-226936111, or mute the thread https://github.com/notifications/unsubscribe/ABp6YliOVZa0rPFrsNFc7Z14ZoxCJRbnks5qM9IjgaJpZM4IUciR .