praktikum.io Organization Posting Embeds
Advanced Usage
Configuration
praktikum.io Organization Posting Embeds can be configured using attributes on the <script> element. The following attributes are supported:
| Attribute | Default | Type |
|---|---|---|
data-embed-id | string The embed ID provided to you by stafftastic | |
data-target | string The ID of the element where the embed will be mounted | |
data-locale | de | string Either en or de |
data-param-namespace | string Scope the URL query parameters used by the embed |
data-param-namespace is optional. You usually only need it if you want to avoid conflicts with other URL parameters on the same page. The namespace is prepended to all URL parameters used by the embed, separated by a colon. For example, if you set data-param-namespace="stafftastic", the page parameter will be stored in the URL as stafftastic:page[number] instead of just page[number].data-locale will not change the language of the embed if the user has a different language preference set in their browser. It will only be used as a fallback if no preference is set or a preference is set that is not supported by the embed.Query parameters
| Query Parameter | Default | Type |
|---|---|---|
page[number] | 1 | number |
filter[distance] | 25000 | number Search radius in meters |
filter[latitude] | number Latitude of the search origin | |
filter[longitude] | number Longitude of the search origin | |
filter[location] | string Human-readable label for the search location |
These query parameters will be prefixed with the
data-param-namespace if it is set. For example, if data-param-namespace="stafftastic", the page parameter will be stored in the URL as stafftastic:page[number] instead of just page[number].