Exclude APIs from being tracked in xDB

Current version: 9.2

Using the Connect API exclusion functionality, you can reduce the number of records tracked in xDB. To do this, you modify the list of APIs in the excludeUrlTracking section of the Sitecore.Commerce.XA.Foundation.Connect.config file as shown in the following example.

RequestResponse
<excludeUrlTracking> 
      <url>/api/cxa/catalog/GetCurrentProductStockInfo</url> 
      <url>/api/cxa/Catalog/GetProductList</url> 
      <url>/api/cxa/Catalog/GetPromotedProducts</url> 
      <url>/api/cxa/checkout/getgiftcardbalance</url> 
</excludeUrlTracking>

Do you have some feedback for us?

If you have suggestions for improving this article,