Get collection embed code
split_get_collection_embedThe HTML embed code for one collection — the same code the Split app's 'Embed Collection' menu produces — for pasting into a blog, newsletter template or any site that accepts HTML. layout is carousel (default: a horizontal slider, loads Split's hosted slider script) or grid (a scrolling image grid, self-contained). The widget fetches the collection's public links at load time, shows up to 50 that have an image, and every tile is the creator's SplitLink, so clicks are attributed exactly as on the SplitPage. Requires a SplitPage (the code addresses the collection by the page's slug); the collection need not be visible on the page. Return the code in a fenced block, unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Collection uuid from split_list_collections | |
| layout | No | carousel (default) or grid |