This topic describes how to use the EPiServer.Tracking.Core API with Episerver Profile Store, including installation and configuration of the tracking.
In this topic
Prerequisites
Configure the API URLs and subscription keys:
<add key="episerver:profiles.TrackingApiBaseUrl" value="https://" ... >
<add key="episerver:profiles.TrackingApiSubscriptionKey" value="..." ... >
<add key="episerver:profiles.ProfileStoreTrackingEnabled" value="true" ... >
<add key="episerver:tracking.Enabled" value="true">
<add key="episerver:tracking.IgnoreDNT" value="true">
Note: See Do Not Track and Turn "Do not track" on or off for information about Do not Track (DNT)
Install EPiServer.Profiles.Client
- Install the EPiServer.Profiles.Client NuGet package from Episerver NuGet source to your site by entering the following command at the Package manager prompt (PM>).
install-package episerver.profiles.client
- In web.config, fill tracking baseUrl and subscriptionKey values in appsetting section.
<add key="episerver:profiles.TrackingApiBaseUrl" value="ChangeThis" /> <add key="episerver:profiles.TrackingApiSubscriptionKey" value="ChangeThis" />
- Set the following:
episerver:tracking.Enable=true
- Optionally, specify episerver:profiles.Scope = <default_scope_you_want_to_send>. The default Scope must be lowercase and cannot include special characters such as: + - _ \ / # < > ...
- Verify your tracking data in Insight UI.
Install EPiServer.Tracking.Core
Install the EPiServer.Tracking.Core NuGet package from the Episerver NuGet source to your site.
Track data
See Tracking for more information how to track data.
Related topics
Do you find this information helpful? Please log in to provide feedback.
Last updated: Aug 29, 2018