UNPKG

@spartacus/tracking

Version:

Spartacus tracking and personalization library

46 lines (45 loc) 1.16 kB
{ "$schema": "http://json-schema.org/schema", "$id": "TrackingSchematics", "title": "Tracking Schematics", "type": "object", "properties": { "project": { "type": "string", "description": "The name of the project.", "$default": { "$source": "projectName" } }, "lazy": { "type": "boolean", "description": "Lazy load the tracking features.", "default": true }, "features": { "type": "array", "uniqueItems": true, "items": { "enum": ["Personalization", "TMS-GTM", "TMS-AEPL"], "type": "string" }, "default": ["Personalization"], "x-prompt": { "message": "Which Tracking features would you like to set up?", "type": "list", "items": [ { "value": "Personalization", "label": "Personalization" }, { "value": "TMS-GTM", "label": "Tag Management System - Google Tag Manager" }, { "value": "TMS-AEPL", "label": "Tag Management System - Adobe Experience Platform Launch" } ] } } }, "required": [] }