Documentation / Product / Integrations / Episerver

Episerver: Import Activity

Import your Recipients' activity from Episerver into Lytics and use that data to build targeted audiences. Before you start this workflow, make sure that the user you added in the authorization step has permission to create a Webhook on the Episerver side. To provide this permission to the API user, please contact Episerver support.

Integration Details

  • Implementation Type: Server-side.
  • Implementation Technique: REST API and Webhooks.
  • Frequency: Activity data is received in real-time.
  • Resulting Data: Activity data for Episerver Recipients related to Episerver Campaigns will be collected as additional user fields.

This integration utilizes the Episerver API to register and activate a webhook. On each run of the job, it will:

  1. Create the webhook in Episerver.
  2. Activate the webhook.

The activated webhook URL will receive the data and post it in the episerver_acitivity data stream in Lytics.


The following fields are included in the default mapping for the episerver_activity stream.

Source FieldLytics User FieldDescriptionType
recipientIdep_recipient_id unique idEpiserver Recipient IDstring
mediaTypesToAddresses.EMAILemail unique idEmail Addressstring
userListIdep_recipient_list_idRecipient List IDnumber
clientIdep_client_idEpiserver Client IDnumber
mailingIdep_mailing_idEpiserver Mailing IDnumber
max(epochms())last_active_tsLast Activedate
min(epochms())ep_firstclick_tsEpiserver First Click Eventdate
max(epochms())ep_lastclick_tsEpiserver Last Click Eventdate
min(epochms())ep_firstopen_tsEpiserver First Open Eventdate
max(epochms())ep_lastopen_tsEpiserver Last Open Eventdate
EventCountep_event_typeEpiserver Count per Email Eventnumber
set(link)ep_linksSet of links that were clickedset(string)
valuect(hash(urlmain(link)))hashedurlsCount of how many times a hashed url was visitedmap[string]int
set("email")channelsAll Channels Usedset
map("email", epochms())last_channel_activitiesLast Active Channelmap[string]date


Follow these steps to set up and configure an import job for Episerver in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.

  1. Select Episerver from the list of providers.
  2. Select the Import Activity job type from the list.
  3. Select the Authorization you would like to use or create a new one.
  4. Enter a Label to identify this job you are creating in Lytics.
  5. (Optional) Enter a Description for further context on your job.
  6. Complete the configuration steps for your job.
  7. (Optional) Select the type of Activity you would like to import from Episerver. If you do not select any, Lytics will import activity for all the event types.
  8. Click Start Import. episerver-import-activity