Specific integration instructions to enable product extraction.
extractProducts
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:
cart
pages, it returns:product
pages, 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.