tracking - RemoveTracking 

Page / - last modified by Outhman Moustaghfir on 2024/02/26 17:12 

RemoveTracking 
last modified by Outhman Moustaghfir
on 2024/02/26 17:12

Table of Contents
Overview
Syntax
Example : Remove Tracking
Note

Overview
The RemoveTracking function is designed to remove a tracking entry from the database based on its trkID and trackingType.
Syntax
<TEST> <xsl:value-of select="ixf:RemoveTracking('trackingType','trkID')"></xsl:value-of> </TEST>
•	trackingType: The type of tracking to be removed.
•	trkID: The unique identifier of the tracking entry.
•	syncWith: a boolean to delete all synchronized trackings associated to the tracking target. default value is false.
Example : Remove Tracking
<TEST> <xsl:value-of select="ixf:RemoveTracking('Product', '65d35436310db513395b30b7')"></xsl:value-of> </TEST>
This example removes a tracking entry with the type 'Product' and the ID '65d35436310db513395b30b7'.
Note
•	Ensure that the provided trackingType and trkID values match an existing entry in the database.