Heap

Manual integration

Smartlook can be easily integrated into Heap using IntegrationListener:

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

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