or run

tessl search
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how well the engineer uses the @nuxtjs/google-analytics package to control script loading behavior and prevent duplicate script conflicts. The focus is on proper configuration of the disableScriptLoader and checkDuplicatedScript options.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Module registration",
      "description": "The @nuxtjs/google-analytics module is properly registered in the buildModules array (or modules array for older Nuxt versions) in nuxt.config.js",
      "max_score": 15
    },
    {
      "name": "Tracking ID configuration",
      "description": "The googleAnalytics configuration object includes the id property set to 'UA-123456-1' as specified",
      "max_score": 10
    },
    {
      "name": "disableScriptLoader option",
      "description": "The disableScriptLoader option is set to true in the googleAnalytics configuration to prevent automatic script loading",
      "max_score": 35
    },
    {
      "name": "checkDuplicatedScript option",
      "description": "The checkDuplicatedScript option is set to true in the googleAnalytics configuration to detect existing analytics scripts",
      "max_score": 35
    },
    {
      "name": "Configuration structure",
      "description": "The googleAnalytics configuration object is properly structured with all required properties (id, disableScriptLoader, checkDuplicatedScript) at the correct level in nuxt.config.js",
      "max_score": 5
    }
  ]
}