Skip to main content

Exclude APIs from being tracked in xDB

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.

<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>