Loading
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Analyzing CPQ Processing with Vlocity Tracking Service

          Analyzing CPQ Processing with Vlocity Tracking Service

          As a performance engineer or system integrator working on customer projects, you can analyze the timing of CPQ processing to quickly drill into the problem areas where CPQ processing is slow. Using the tracking service greatly speeds-up performance analysis of CPQ processing.

          For example, you can track the following data points for CPQ APIs:

          { "TrackingService": "CPQ", "TrackingEvent": "getCarts", "SalesforceSessionToken": "11312ae20cc8957a3fa0cb8360a4e407", "UserId": "0050Y000000Dp0zQAC", "Timestamp": "2016-12-14T12:18:15+00:00", "ElapsedTime": 5956, ...insert other CPQ-related info here... }

          Where "CPQ" is the TrackingService.

          To enable this functionality, Vlocity Tracking Service is implemented with Industries Cart Validation and tracks the following fields for each CPQ API call:

          Field

          Value

          TrackingService

          CPQ

          TrackingEvent

          methodName – getCarts, postCartsItems

          ClassName

          CPQAppHandler

          ElapsedTime

          Time taken for this API call

          CartId

          Cart ID passed in the request, if the ID was passed in the input. Otherwise, the value is null.

          To enable CPQ tracking, you add a trigger with an appropriate name. For example, to enable tracking for getCarts API, create a trigger, name it Track.CPQ.getCarts, and set it to On.

          1. From Setup, in the Quick Find box, enter Custom Settings.
          2. From the search results, click Custom Settings. The Custom Settings page appears.
          3. Next to Trigger Setup, click Manage. The Custom Setting page for the Trigger Setup appears.
          4. Click New. The Trigger Setup Edit page appears.
            The Trigger Setup Edit page includes the Trigger On checkbox.
          5. Set the triggers:
            • To enable tracking for all CPQ APIs, specify the following:

              • Name: Track.CPQ

              • Trigger On: Select to set the trigger to On.

            • To enable tracking for only one CPQ API, specify the following:

              • Name: Track.CPQ.<methodName>

              • Trigger On: Click the checkbox to set the trigger to On.

          6. Click Save.

            The tracking data is stored in the Vlocity Tracking Entry object (VlocityTrackingEntry__c). For more details, see . Vlocity OmniStudio Components Event Tracking

            You can have many triggers simultaneously that enable tracking for different APIs. You can also enable tracking at the CPQ level or at the individual method level.

           
          Loading
          Salesforce Help | Article