WebBasedContext

  • 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.

    Properties: 5
  • Dictionary 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, where KEY must be a string, and VALUE can be:

    • a bool
    • a string or an array of string
    • a number or an array of numbers
    • an array of objects
    • null

    Miso will take these variables into account when generating recommendations.

    Properties: 1
  • Locale string of the current session, for example en-US.

  • 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.

    Properties: 3
  • 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.

  • User's truncated IP address. We use IP address to determine the country of the users.

  • 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"}