anchor.diff:  ## Collecting Data
   
   Next, let's collect training data for this Engine. By default,
  -the Lead Score Engine Template supports the following entities: **user**, **page**, and **item**. An user view a page, and buy an item.
  -
  -Note that a "sessionId" property is required for these events to indicate these events happen in the same session. When the user first visit your site and views a page in the session, you should also specify the optional "referrral ID" and optional "browser" information. This is needed to determine who refer the user to land on your site and the browser information.
  + Lead Score Engine Template supports the following entities: **user**, **page**, and **item**. An user views a page, and buys an item.
  +
  +Note that a "sessionId" property is required to indicate these events happen in the same session. In the first visit of a user, you should specify the optional "referrral ID" and "browser" information. These are used to determine where the user comes from and the browser information.
   
   <%= partial 'shared/quickstart/install_sdk' %>
   
  
positive.code: 
  ## Usage
  
  ### Event Data Requirment
  
  By default, the template requires the following events to be collected:
  
  - page 'view' events with session ID
  - the first page view event can optionally provide the browser and referrer ID
  - user 'buy' event with session ID
  
  The landing page ID, referrer ID, browser information and user's buy event will be used to train the model.
  
  NOTE: You can customize what the "conversion" event is (such as 'subscribe'). It's "buy" item event by default.
  
  #### Input Query:
  
  - landing page ID
  - referrer ID
  - browser
  
  #### Output PredictedResult:
  
  
negative.code: 
  ## Using the Engine
  
  Now, You can retrieve the results. When a user lands on your page "example.com/page9", with referrer "referrer10.com" and browser "Firefox", you can get the predicted lead score by sending this JSON '{ "landingPageId" : "example.com/page9", "referrerId" : "referrer10.com", "browser": "Firefox" }' to the deployed engine. The engine will return a JSON with the score
  
  Simply send a query by making a HTTP request or through the `EngineClient` of an SDK:
  
  