Widget customization overview
Customize the Impel Spin Widget by appending parameters to its URL.
The Impel Spin Widget is the iframe-embedded vehicle viewer that powers 360 WalkArounds, Feature Tours and the photo carousel on dealer and OEM web pages.
You receive the widget URL for each vehicle through Impel's APIs (see the WD API) or FTP exports. You customize the widget's appearance and behavior by appending parameters to the URL fragment.
Anatomy of a widget URL
Widget URL, as delivered through exports and APIs:
https://spins.impel.ai/merchdemoinventory/wp0aa2y11psa13464Customization parameters, passed through the URL fragment:
#!hidecarousel!hidehotspotsURL fragment syntax
- The fragment begins after the first
#in the URL. - Each parameter is either a flag (
name) or a name/value pair (name=value). - Parameters are separated by
!(preferred) or#. The two delimiters are equivalent. - Order doesn't matter. Unsupported parameters are silently ignored.
- Values containing reserved characters must be URL-encoded (for example,
%2Cfor a comma).
Combining parameters
Parameters can be chained to combine effects from multiple categories:
https://spins.impel.ai/merchdemoinventory/wp0aa2y11psa13464#!hidecarousel!disableautospin!stscolor=a400b4%2Ca400b4!postanalytics=https://www.exampledealer.comThe URL above hides the carousel, disables auto-rotation on load, themes hotspots in purple, and emits user-interaction events as postMessage to a parent page at https://www.exampledealer.com.
Parameter reference
- Display and behavior: show or hide UI elements and control autospin.
- Color and localization: theme colors and language codes.
- Receiving events: analytics and full-screen
postMessageevents.