frontity.settings.js
file:state.comscoreAnalytics.trackingId
: to specify just one tracking IDstate.comscoreAnalytics.trackingIds
: to specify a list of tracking ID's@frontity/comscore-analytics
package can co-exist with any of the other analytics
packages such as @frontity/google-analytics
and @frontity/google-tag-manager-analytics
. Once these analytics
packages have been properly installed and configured their actions will be centralized by the analytics
namespace.actions.analytics.pageview
will take into account settings in state.analytics.pageviews
actions.analytics.event
will take into account settings in state.analytics.events
actions.analytics.pageview
@frontity/comscore-analytics
is configured and enabled for pageviews, every time a link changes (or every time action.router.set(link)
is launched) tracking information for that page will be sent to Google Analytics.actions.analytics.event
actions.analytics.event()
will have no effect for this service.