The following are the flags in a tenant's definition.json regarding their metrics configurations.
metrics
Description: Specify metrics providers used by the customer. This is necessary for AMP pages.
Location: Features
Values: String
Example:
"metrics": {
"trackers": {
"google": {
"uaCode": ["UA-123456-1"]
},
"comscore": {
"c2Var": "654321"
},
"chartbeat": {
"uid": "98765"
}
}
}
JS
Description: Defines an extra Marfeel Google Analytics account to aggregate mobile engagement metrics.
Location: Features
Values: String (setting a numerical value)
Example:
"extraGAMarfeelAccount": "UA-12345678-12"
JS
pageViewTrackerTenantQuerySelector
Description: Defines the selector Marfeel uses to configure a custom tracker from JavaScript.
Location: Configuration
Values: String (query selector)
Example:
"pageViewTrackerTenantQuerySelector": ".mrf-multipageGeneratorJoin .media.m-reset"
JS