Skip to content

Choose Widgets or Pages

On Snippets, use Widgets for a card on a page you already have, and Pages for a snippet that is the whole page.

Snippets is one page with two tabs. Widgets is a card inside a page of your site. Pages is a snippet you put where the page body goes. Each one is switched on and themed on its own. A Missions card on the home page does not turn the Missions page on, and the other way round.

Before you start ​

Open Tools, then Snippets. The address is /tools/snippets. An older address, /tools/ui-widgets, opens this page. The title is Snippets. The line under it reads “Ready-made sections for your website, the player widget's screens and the calls that open them.”

With no brand chosen, the page reads “Select a brand to configure widgets.”

The tabs are Widgets and Pages.

An Owner or a Manager can change either tab and press Save. For anyone else the line reads “Owners and Managers change these”, and the choices stay as they are. Copy snippet still copies.

The Front Script line is the same on both tabs. It reads Front Script enabled, or “Front Script is off.” with Open integration settings. Last seen is shown to an Owner or a Manager. Anyone else reads “Owners and Managers can view when the script was last seen.”

What each tab lists ​

Widgets opens on Inline presets. The line under that reads “Install and enable the Front Script, verify player identity, then add a snippet to your page. Previews below use sample data only.”

The cards are Tournaments, Store scroll, Available missions, Profile and points, and Games.

Under those, Widgets also keeps Mini game look and Pop-up screens. Pages does not.

Pages opens on Full-page snippets. The line under that reads “A whole page of your site, given to Orbit. Place the snippet where the page body goes; the same preset is switched on and themed here on its own, so a card on your home page and a full page at its own address never decide each other.”

The cards, in order, are:

CardOn Widgets as well
TournamentsYes
Available missionsYes
Profile and pointsYes
GamesYes. On Widgets it has no Enabled switch. On Pages it does.
ClubNo
DrawsNo
AvatarsNo
QuizzesNo
Tile MatchNo
Your prizesNo
LeaderboardsNo
BadgesNo
Your winsNo
My bonusesNo

Store scroll is only on Widgets.

Games, on Widgets, has Where it shows instead of Enabled. The line reads “Players see this when native games are on for the brand.” The description reads “Quiz, Tile Match, Mini Games, Safes and Surprise rewards. A theme here does not publish a game — that stays on each game’s Results page.” On Pages, Games has Enabled, like the other cards.

What is saved apart ​

Each card has Enabled (except Games on Widgets), Accent colour, Theme, Card button, See all link, Website snippet, and Live preview.

Accent colour is Brand accent, Reward, Success, or Link. The hint reads “Which saved brand colour fills buttons, progress and pills. Each theme keeps its own frame and metal.”

Theme, on Widgets, is Jackpot, Luxury, Studio, Neon, Arena, and Pearl, then Earlier looks: Daylight, Midnight, and Neon classic. Jackpot is marked Default. The hint reads “Jackpot is the default. Daylight, Midnight and Neon classic keep the look of brands that saved them. The preview updates as you choose.”

On Pages, Earlier looks is not shown. The same hint is still printed. A page whose saved theme is not one of the six player themes is drawn as Jackpot.

Player theme, above the cards, sets the theme for every card on the tab you are on. The hint reads “Every section and the rewards window wear it. Each section can still take its own in its Theme row.”

Live preview’s hint reads “Sample data — not player activity. Each theme is shown as you select it.”

Press Save. The button’s result reads Saved. Widgets and Pages are stored separately. Saving one does not write the other.

Copy snippet on Widgets copies <div data-orbit-widget="tournaments"></div>, with that card’s name in the quotes. On Pages it copies <div data-orbit-page="tournaments"></div>. The page reads Snippet copied. If the browser refuses the copy, it reads “Could not copy. Select the snippet and copy it manually.”

Orbit Help Center