Sleek’s Web Extension SDK can extract product information from the pages your users are visiting. To enable this experience for your users, you’ll need to call Sleek on the pages that you want to extract product information from. This documentation will guide you through the integration process.Documentation Index
Fetch the complete documentation index at: https://docs.onsleek.ai/llms.txt
Use this file to discover all available pages before exploring further.
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.

