Payments work inside the embed. You don’t need any extra payment setup.
Get an embed code
1
Open the embed page
In your event dashboard sidebar, expand Event Tools, select Social Media, and open the Embed tab.
2
Pick an embed type
Choose from the embed type menu:
3
Set the options
The options depend on the embed type:
- Tracking link (Ticket sales and Table application): attribute visits and purchases through this embed to one of your tracking links. Leave it as None for no attribution.
- Show the vendor list below the map (Venue map): list your vendors under the map. This is unavailable when the vendor list is hidden in your event settings.
- Show events in a grid instead of a carousel (Your profile).
4
Preview and copy
The Preview shows the embed as it will look on a Light site or a Dark site. For checkout and applications, step through each screen with the arrows.Under Embed code, click Copy, then paste the code into your site’s HTML where you want the embed to appear. Click Show code to see it first.
The Venue map embed needs a published map. The Your profile embed needs a username in your profile settings. If either is missing, the embed page tells you what to set up. See Venue maps.
Match the embed to your site
Use the Appearance section to style your embeds. Changes apply only to embeds, not to your Treasure event page.- Presets: start from Treasure, Dark, Midnight, or Clear.
- Theme: Light or Dark text and surfaces.
- Accent: the color of buttons and highlights. Choose any color, or use Treasure green or your event poster’s color.
- Background: Default, a solid Color, a Gradient, or Clear to show your site behind the embed.
What the embed code looks like
Each embed is an<iframe> plus a short script. The script resizes the frame to fit its content as visitors move through checkout, so there’s no fixed-height box or inner scrollbar. Always copy the code from your dashboard, since it’s filled in with your event and the options you chose.
ticket-sales-embed.html
Place several embeds on one page
Each iframe needs a uniqueid. The resize script matches each frame by its ID, so two frames with the same ID resize each other. The codes Treasure generates already use different IDs for each embed type and event.
If you copied an embed code a long time ago, copy it again to get the latest script.