Deep Links - Providers
Commercetools
The Commercetools Known Provider requires the following parameters:
- Region
- Project Key
When attributing a Component related to Commercetools content, you need to include the following properties in the JSON for the deeplinking to work:
providerId
(as set in Admin Panel)productId
Example
Take the following HTML snippet as an example:
<div data-pf='{"providerId": "YOURPROVIDERID", "componentKey": "productCard", "groupId": "abc1234", "productId": "YOURPRODUCTID"}'>
<h1>Product Title</h1>
<p>Product Description</p>
</div>
tip
To see others available properties accepted in data-pf
attributes, please read this article