Analytics Connectors Manual / Version 2110
Table Of Contents
CoreMedia Analytics Connectors can be
configured per site and per page. The settings for this can be configured
using the struct editor for the property field localSettings
.
Each tracking provider is configured in a separate StructProperty
.
An example of the configuration is shown below.
<StructProperty Name="googleAnalytics"> <Struct> <IntProperty Name="pageViewHistoryInterval">60</IntProperty> <StringProperty Name="pageReport">content-pages</StringProperty> <IntProperty Name="accountId">12345678</IntProperty> <IntProperty Name="wpid">12345678</IntProperty> <IntProperty Name="pid">12345678</IntProperty> <StringProperty Name="webPropertyId">UA-XXXXXXX-1</StringProperty> <StringProperty Name="domainName">auto</StringProperty> <LinkProperty Name="p12File" LinkType="coremedia:///cap/contenttype/CMDownload" xlink:href="Options/Settings/googleAnalytics%2Ep12.xml" cmexport:path="Settings/googleAnalytics%2Ep12"/> <StringProperty Name="serviceAccountEmail">ID@developer.gserviceaccount.com</StringProperty> <StringProperty Name="applicationName">appName</StringProperty> <IntProperty Name="interval">120</IntProperty> <IntProperty Name="limit">9999</IntProperty> </Struct> </StructProperty>
Note
Note that tracking can be temporarily disabled for any service provider (even for a particular page) by adding
a Boolean property disabled
with value true
to the provider's struct property.
The AnalyticsSettingsProvider
implementations can expose settings for Studio components.
These can, for example, be used to provide deep links for service provider reports. See Javadoc for details.
Note
In the following section describes the property names to be used in the generic struct editor of the CoreMedia Studio.