Closed Bug 826792 Opened 12 years ago Closed 12 years ago

[Google Analytics] Track KB votes in Google Analytics

Categories

(support.mozilla.org :: General, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED
2013Q1

People

(Reporter: ibai, Assigned: rrosario)

References

Details

(Whiteboard: u=sumo-team c=analytics p=1 s=2013.3)

We want to track the voting system in Google Analytics. In other words, we want to record the "Helpful" and "Unhelpful" votes so we can cross this data with other data that we collect in Google Analytics. My recommendation is to use Event Tracking, by paring an event for each of these clicks. We need to trigger the following events whenever the button is clicked (i.e. using OnClick) We want to differentiate the clicks on the votes of the sidebar and the ones in the bottom to understand the usage of each of them. (forgive my PHP notation ;) ) SideBar - Helpful vote: _gaq.push(['_trackEvent', 'Forum Votes', 'Sidebar - Helpful', $article_slug]); SideBar - Not Helpful vote: _gaq.push(['_trackEvent', 'Forum Votes', 'Sidebar - Not Helpful', $article_slug]); Bottom - Helpful vote: _gaq.push(['_trackEvent', 'Forum Votes', 'Bottom - Helpful', $article_slug]); Bottom - Not Helpful vote: _gaq.push(['_trackEvent', 'Forum Votes', 'Bottom - Not Helpful', $article_slug]); As usual, more information can be found here: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
After Bug 826787, this one should be easy -> 1pt
Priority: -- → P2
Whiteboard: u=sumo-team c=analytics p=1 s=2013.2
Target Milestone: --- → 2013Q1
Assignee: nobody → rrosario
Falling to next sprint.
Whiteboard: u=sumo-team c=analytics p=1 s=2013.2 → u=sumo-team c=analytics p=1 s=2013.3
Here is what I went with for consistency with the other events already implemented: _trackEvent('Article Vote', 'sidebar - Helpful', 'download-and-install-firefox-android / en-US') _trackEvent('Article Vote', 'footer - Not Helpful', 'update-firefox-latest-version / pt-BR') _trackEvent('Article Vote', 'mobile - Helpful', 'superheroes-wanted / es')
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
This is working as intended.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.