docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
{
"context": "This criteria evaluates how well the engineer uses the @nuxtjs/google-analytics package to implement batched event tracking for multiple user interactions. The focus is entirely on the proper usage of event batching APIs and event tracking methods provided by the package.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Event Batch API Usage",
"description": "Uses the vue-analytics batch API (accessed via this.$ga.batch()) to group multiple events together for optimized network transmission",
"max_score": 35
},
{
"name": "$ga.event() Method",
"description": "Correctly uses this.$ga.event() method to track individual interactions with proper parameters (eventCategory, eventAction, eventLabel)",
"max_score": 25
},
{
"name": "Event Category Consistency",
"description": "All tracked events use the specified category 'Dashboard Interaction' as required by the spec",
"max_score": 15
},
{
"name": "Event Action Accuracy",
"description": "Events use the correct action names: 'button_click' for buttons, 'filter_change' for filters, and 'tab_switch' for tabs as specified in requirements",
"max_score": 15
},
{
"name": "Event Label Implementation",
"description": "Event labels correctly capture the specific interaction detail (button label, filter name, or tab name) as required",
"max_score": 10
}
]
}