Closed Bug 651654 Opened 13 years ago Closed 13 years ago

[WebifyMe] [WT] Add WebTrends tracking for quizzes started and completed

Categories

(Websites :: webifyme.org, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: williamr, Assigned: adam)

References

Details

Attachments

(1 file)

In addition to standard WebTrends code in bug 642353, we'd also like to track the number of quizzes started and completed.

Quiz started is defined as someone who has clicked the link to start the quiz.

Quiz completed is someone who has answered enough questions to have their Things collage generated. TBG, how many questions must a user answer to generate a collage?

Quiz fully completed is someone who answered all the questions. (This one is optional but nice to have.)

Laura, can you suggest how we can track these on WebTrends?
Assignee: nobody → lforrest
I shall investigate. We're currently doing an audit of how we use dcs tracking so based on what we come up with I'll update this accordingly. I should know more next Thursday.
Summary: Add WebTrends tracking for quizzes started and completed → [WebifyMe] Add WebTrends tracking for quizzes started and completed
Priority: -- → P1
Target Milestone: --- → 1.0
Hey Brad - Now that you've made the tagging proposal can you make a recommendation here on how to track these two different events? Thanks!
Assignee: lforrest → brad.gross
Summary: [WebifyMe] Add WebTrends tracking for quizzes started and completed → [WebifyMe] [WT] Add WebTrends tracking for quizzes started and completed
Assuming that the pages that include the quiz are instrumented with the Webtrends data collection JavaScript and tagged, you could add a dcsMultiTrack call to the onclick event of the link that starts the quiz:

onclick="dcsMultiTrack(... 'WT.z_quiz_state', 'start', ...);

similarly for quiz completion:

onclick="dcsMultiTrack(... 'WT.z_quiz_state', 'complete', ...);

I will attach a document detailing the usage of dcsMultiTrack
Attached file dcsMultiTrack document
(In reply to comment #3)
Bradley and Laura, this is awesome, thanks.

I'll be captain obvious - Please hook this up from an external JS script, no inline onclick handlers.
(In reply to comment #3)
> Assuming that the pages that include the quiz are instrumented with the
> Webtrends data collection JavaScript and tagged, you could add a
> dcsMultiTrack call to the onclick event of the link that starts the quiz:
> 
> onclick="dcsMultiTrack(... 'WT.z_quiz_state', 'start', ...);
> 
> similarly for quiz completion:
> 
> onclick="dcsMultiTrack(... 'WT.z_quiz_state', 'complete', ...);
> 
> I will attach a document detailing the usage of dcsMultiTrack

Thanks Brad!

Where in WT will this data appear? There's a WebifyMe profile, but what report/type of data will this be shown as? Thanks.
We would have to create a custom report to track this.  What do you envision this report to look like?
Looking for some feedback on this.  Is there a way I can view the test environment to determine if the quizzes are tagged correctly?
(In reply to comment #8)
Does https://webifyme-dev.allizom.org/ work for you?
It does!
I took a look at the webifyme-dev site.  When do you expect the site to be tagged with the Webtrends data collection JavaScript and the custom dcsMultiTrack calls?

If you need any guidance with this please let me know.
I was wondering if you had an opportunity to tag this site with the Webtrends data collection JavaScript.
(In reply to comment #12)
Not yet, we'll update this bug once their is progress.
Reassigning per meeting.
Assignee: brad.gross → jbresnik
Assignee: jbresnik → adam
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: