Enable product extraction
After Sleek Web Extension is installed and setup in your extension, 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 in your extension, you can check
out the TypeDoc for specific event types and methods on the web extension SDK.
View TypeDoc
Browse the reference TypeDoc for the web extension SDK.

