Deep Links - Providers
Strapi Cloud
You can create 2 types of Stapi Providers for:
- Collection Type
- Single Type
The Strapi Cloud Known Provider requires the following parameters:
- Domain (as per https://DOMAIN.strapiapp.com/admin/)
When attributing a Component related to Strapi Cloud content, you need to include the following properties in the JSON for the deeplinking to work:
providerId
(as set in Admin Panel)entryId
contentType
(e.g article.article)
Example
Take the following HTML snippet as an example:
<div data-pf='{"providerId": "YOURPROVIDERID", "componentKey": "product", "groupId": "abc1234", "entryId": "YOURENTRYID", "contentType": "YOUCONTENTTYPE"}'>
<h1>Article Name</h1>
<p>Article Description</p>
</div>
tip
To see others available properties accepted in data-pf
attributes, please read this article