WebBasedContext
- campaignType: CampaignProperties: 5
The campaign that resulted in the interaction. Campaign dictionary contains standard UTM parameters:
name,source,medium,term,content. We use campaign information to infer users' interests and fine-tune the personalization and search results based on the current user's campaign information. - customType: Custom Context
_context Properties: 1Dictionary of custom context variables for the current browsing session. You can specify context variables specific to your websites or apps in a
{"KEY":VALUE}format, whereKEYmust be a string, andVALUEcan be:- a
bool - a
stringor anarray of string - a
numberor anarray of numbers - an
array of objects null
Miso will take these variables into account when generating recommendations.
- a
- localeType: string
Locale string of the current session, for example en-US.
- pageType: PageProperties: 3
The current page in the browser. Page dictionary containing referrer, title and url. we will use page view as a pseudo interaction to infer users' interest.
- regionType: string
The region/location of the site the user is visiting. This is for sites that serve different regions or markets. You can define your own region keywords, for example,
US East,Europe,LATM, etc. - truncatedType: stringFormat: ipv4
_ip User's truncated IP address. We use IP address to determine the country of the users.
- userType: string
_agent User agent of the device making the request. We use this to determine if a user is browsing the site on mobile or desktop, and tailor the recommendations and search results accordingly.
Example:
{"user_agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0"}
