Available for the following Plan types:
Fullstory Enterprise
Fullstory Advanced
Fullstory Business
Fullstory for Mobile Apps
Fullstory Free
Available to the following User roles:
Admin
Architect
Standard
First, please make sure you have followed the instructions to install the Fullstory app in your Salesforce instance. Also make sure you have the appropriate permissions to edit page layouts in Salesforce Classic.
Configure the Fullstory app
You'll need to set your Fullstory API key in Salesforce so that the widget can fetch the user sessions from the appropriate Fullstory account.
NOTE: The Salesforce user setting up the Fullstory integration will need to be set up as an administrator of the Fullstory app within Salesforce. The user must set up and activate their admin account before configuring the Fullstory application within Salesforce.
- Login to Fullstory and create a new API key from Settings. You'll need to create an "Admin" API key.
- From the homepage of the Salesforce Classic UI, select the "Fullstory Settings" tab. If you're unable to see it in the homepage, click on the + icon at the top of the page and look for "Fullstory Settings".
- In the "API Settings" tab paste your Fullstory API key in the text field and click "Save API Key." You also have the option to configure the number of Fullstory sessions shown for each record with the "Sessions Per Record" field below. Please note, the more sessions you opt to show, the taller the Fullstory component will be.
- Click on the "List Session Settings" tab. Here you can configure the set of objects for which Fullstory sessions can be fetched and displayed, as well as how sessions will be fetched.
The Fullstory app comes with configuration for the Case, Contact, and Lead objects. To add support for another object, click "Add." In the Object column, select the object for which you want to install the widget. In the example below, you will see we have added the Person object. In the Field column, select the field whose values Fullstory should use for filtering sessions. You can use either an Email field or an External ID field that contains the Fullstory user ID (this user ID must be the same user ID that is passed into the Fullstory FS.identify API call).
Also note that only objects containing an Email or External ID type field will appear in the object dropdown. When you have made the appropriate selections, click "Save Changes."
Create a Visualforce Page for the Fullstory Component
The Fullstory app includes a Visualforce page for Contact, Lead, and Case objects. If you want to see Fullstory sessions on any other objects, you will need to create a Visualforce page first. Click "Setup" at the top of the page and search for Visualforce Pages with the help of the Quick Find box.
Click on Visualforce Pages and then click the New button to create a new Visualforce Page. Enter the required fields and paste the following code in the Visualforce Markup field:
<apex:page standardController="OBJECT_NAME" extensions="fullstory.FS_SessionsCtrl"> <apex:includeLightning /> <div id="lightning"></div> <script> var recordID = "{!$CurrentPage.parameters.id}"; $Lightning.use("fullstory:FS_Sessions", function() { $Lightning.createComponent("fullstory:FullStorySessions", {"recordId":recordID}, "lightning", function(cmp, status, error){ }); }); </script> </apex:page>
Replace OBJECT_NAME with the API name of the object that you’re installing this on.
For example:
Add the Visualforce Page to Layouts
- Click Edit Layout in the object to which you’d like to see Fullstory sessions.
- In the layout panel, select Visualforce Pages. If you’re trying to add the widget to one of Contact, Case or Lead, you should be able to see a Visualforce page called “Fullstory Sessions”. If not, you should see the Visualforce page created in the previous section. Drag and drop the Visualforce Page onto your layout and click "Save".
- You should now see Fullstory sessions in the configured page. You can click on one of the session links to watch the session in Fullstory. Please note, you must have a seat in Fullstory to view session links.