Heap

Manual integration

Smartlook can be easily integrated into Heap using IntegrationListener:

smartlook.registerIntegrationListener(new SmartlookIntegrationListener(
  function (dashboardSessionUrl) {
    heap.track(
      "Smartlook session URL",
      {"session_url": dashboardSessionUrl})
  },
  function (dashboardVisitorUrl) {
    heap.addUserProperties({'smartlook_visitor_url': dashboardVisitorUrl})
  }
));

Full Heap API documentation can be found on the official website.