Enable product extraction
After Sleek SDK is installed and setup, you are ready to extract product information from the pages your users are visiting. To extract product information from a page, you can use the unifiedextractProducts method which will automatically determine the page type
and extract the appropriate product information:
extractProducts method returns an object based on the type of page:
- For
cartpages, it returns:
- For
productpages, it returns:
Product type includes the following fields:
product or cart. To determine the page classification, you can use
the classifyPage method. See the page classification
guide for more information.
What’s next:
Now that you have enabled product extraction, you can check
out the TypeDoc for specific event types and methods on the SDK.
View TypeDoc
Browse the reference TypeDoc for the SDK.

