What EdgeKit sends to Personalization
EdgeKit writes four things to your organization’s Personalization database: interactions from your events, merges when a device signs in, your content items as the catalog, and the profile fields you choose as user properties. It deletes a user from your Personalization database when you erase the user in EdgeKit. EdgeKit reads back only recommendations, and your scenario list for a personalised newsletter feed.
Events
Section titled “Events”EdgeKit forwards events to Personalization after it stores them, in batches of up to 100. Events from every site go to your one database. An interaction names a user and an item and carries no site.
The event map
Section titled “The event map”Your Personalization event map is a set of rules, one per event schema in your schema registry. A rule is keyed on
the schema’s vendor, name and major version, such as com.example/article_view/1, so it covers every revision of
that major version. EdgeKit writes the map for your organization; see
Set up Personalization.
Each rule names one kind and the fields it reads:
| Kind | Sent to Personalization as | Fields the rule names |
|---|---|---|
detail_view |
A detail view | item |
view_portion |
A view portion | item, portion, and optionally portionMax |
bookmark |
A bookmark | item |
rating |
A rating | item, and a fixed rating from -1 to 1 sent with every such event |
purchase |
A purchase | item |
cart_addition |
A cart addition | item |
merge |
A merge of users | None. See Merge on sign-in |
- A field is a top-level field of the event’s own data. A rule cannot read an entity attached to the event, and has no conditions: every event of the schema is sent.
- An event no rule names is not sent. Only self-describing events can be named, so page views, page pings and structured events never reach Personalization.
- A view portion is the
portionfield divided by theportionMaxfield, or theportionfield alone, kept between 0 and 1. An event whose portion is not a number is not sent. The view portion carries the event’s client session id,domain_sessionid. - A purchase is sent only from an event that carries the article id. A purchase event with no article field cannot be mapped.
Item ids
Section titled “Item ids”The item is the value of the field the rule names, as text, with every character other than letters, digits, _,
-, :, @ and . replaced by _. An event whose field is missing, empty, or not a string or a number is not
sent.
The catalog’s item id is the content item’s CMS id, through the same rule. So the field must hold the same value as the article’s CMS id in Content › Content › Items. An id the catalog does not hold creates an item with no properties in your Personalization database: see Costs you accept.
An item has its content source’s source key in front of its CMS id. That covers WordPress and every pushed source
(see Content API): post 12 of the source wordpress is wordpress:12 in the catalog, so
two sources’ item 12 stay two items. Only the source whose source key is arcxp has no prefix. For an event
about a prefixed item, tell EdgeKit the source key along with the field, and send the CMS id alone in the field.
Who an interaction is for
Section titled “Who an interaction is for”- A signed-in user: the event’s
user_id, the id your page sets on the tracker. Set it to the EdgeKit user id. - Otherwise the device:
device:followed by the event’sdomain_userid. The prefix keeps a device id from ever naming a user. - Neither: the event is not sent.
EdgeKit never uses the network cookie id (network_userid). The recommendation paths ask about the same ids, so a
recommendation and the events it earns land on one user in your Personalization database.
Time, repeats and attribution
Section titled “Time, repeats and attribution”- The interaction’s time is when EdgeKit’s collector received the event, to the second. A resent batch repeats the same user, item and time, Personalization refuses the repeat as a duplicate, and EdgeKit counts it as delivered. Nothing is counted twice. Two events of one kind for one user and item in the same second count once.
recomm_idcomes from the page URL. Each event carries the query string of the page it was sent from. When it holds arecomm_idshaped like a recommendation id, the interaction carries it. A later page without the parameter carries none, so a purchase two pages after the click is not attributed to the recommendation.
Delivery
Section titled “Delivery”When Personalization throttles or fails any request in a batch, EdgeKit sends the whole batch again. When Personalization refuses one for any other reason, that interaction is not sent again. Either way, EdgeKit keeps the event itself.
The catalog
Section titled “The catalog”EdgeKit sends a content item to your Personalization catalog each time the item syncs from your CMS: after each CMS change, and during a full sync. See Sync. A newsletter send that re-reads a scheduled item does not send it.
- Only the published copy is sent. A draft or a scheduled copy is never sent, so nothing under embargo reaches Personalization.
- An item that is deleted in your CMS, or goes back to draft or scheduled, is marked
deleted: true. EdgeKit never deletes a catalog item, because deleting it would delete its interactions too. A deleted item keeps the values last sent, and no recommendation path returns it. - An item never published is never created in the catalog.
Item properties
Section titled “Item properties”| Property | Type | Value |
|---|---|---|
title |
string | The headline |
description |
string | The description |
image |
image | The promo image, 1200 pixels wide, on the domain of the item’s first site |
url |
string | The item’s URL on its first site, made absolute with that site’s domain |
published_at |
timestamp | When it was first published, else its display date |
sites |
set | The id of every site the item is on |
sections |
set | Its section ids |
tags |
set | Its tag ids |
authors |
set | Its author ids |
language |
string | Its language |
content_type |
string | Its type |
deleted |
boolean | false, or true once hidden |
Your scenarios’ filters and boosters can read any of these. Every recommendation request keeps only items whose
sites holds the request’s site and whose deleted is not true, so an item on no site is in the catalog and never
recommended.
The catalog assumes one live item per CMS id, which is how Arc XP stores a story. See Arc XP.
No access level
Section titled “No access level”No property says whether an item is behind your paywall, so recommendations include every item. A user who opens a recommended item gets your paywall’s decision as on any other visit, and purchases teach Personalization which items convert. Your CMS’s own access field is not sent.
Merge on sign-in
Section titled “Merge on sign-in”The event your map names as merge is your sign-in event. When one carries both a user_id and a domain_userid,
EdgeKit merges the device into the user, moving the device’s interactions to the user and deleting the device, so
what a person did before signing in counts toward their recommendations. A repeated merge changes nothing. A sign-in
event missing either id is not sent.
Profile fields as user properties
Section titled “Profile fields as user properties”You choose which of your profile fields Personalization receives, and the one site whose profile they come from. See Define a profile field.
- After each rebuild of a user’s profile on that site, EdgeKit sends the user’s whole selection under their EdgeKit user id, creating the user in your Personalization database if it is missing. Every deploy rebuilds every profile, so every deploy sends every user’s selection again.
- A property is named after its field, with every character other than letters, digits and
_replaced by_:member.levelbecomesmember_level. Two fields that would get one name cannot both be chosen. - The type follows the field’s:
stringandenumbecomestring,numberbecomesdouble,booleanstaysboolean,datebecomestimestampandstring[]becomesset. A field with no value is sent asnull. - Only your own profile fields can be sent. EdgeKit’s
accessfields never are, nor is a field marked no forwarder. See Trust and forwarding marks. - One site’s profile. A user’s profile on any other site is not sent.
- Anonymous devices get no properties: only a user has a profile.
Erasure
Section titled “Erasure”When you erase a user in EdgeKit, EdgeKit deletes them from your Personalization database, with their interactions. Devices merged into them went with the merge. Devices never merged stay there under their device ids, with no link to the person. EdgeKit sends no more of their profile. See Erased users.
Consent
Section titled “Consent”EdgeKit applies no consent check of its own before sending to Personalization. It sends every mapped event and the chosen profile fields, whatever your consent basis. Whether your legal basis covers Personalization is for your organization to decide, as controller.
The tracker’s own consent gate still applies: an event the tracker holds for consent reaches EdgeKit only once the user agrees, so until then it cannot reach Personalization. See Record consent.
Costs you accept
Section titled “Costs you accept”- Subject ids are not signed. Anyone who can send events can send a forged
user_idordomain_userid, write interactions onto another person’s user in your Personalization database, or merge a device into any user. What they can damage is the quality of recommendations, never access: Personalization decides nothing about access. A forgeddomainUserIdon a recommendation request reads only a device’s recommendations, never a user’s. - Phantom items. An event naming an id the catalog does not hold creates an item with no properties: an old id format, a rewritten id, or an article not synced yet. It has no headline, URL or site, and it still feeds Personalization’s model.
- An erased user can come back. A browser that still holds an erased user’s id on its tracker sends events under it, and Personalization creates the user again. EdgeKit does not check events against erasures before sending them.
- A copied link carries someone else’s
recomm_id. A click on it is attributed to the recommendation it was copied from.