How to Install the Events Widget to Your Website

EVENTS WIDGET

Sync your events from Bandsintown straight to your website so your fans always know where you're performing next. The widget lists your events with all the necessary info plus ticket links. Even better: it improves your visibility on Google Search thanks to our support of Google rich cards which highlights your shows.

Get set up in just a few clicks, no coding involved: the widget automatically matches the color scheme on your website. If you prefer, you can customize it thanks to our numerous customization options: font, colors, dimensions, content. What are you waiting for?

WTM+-+widget.png

HOW TO

Use the Events Widget code generator right below to generate your own code, then copy and paste it on your website. To generate your own code, follow these 3 simple steps:

  1. Type your artist name in the input field: the Events Widget preview will automatically load your artist's events, if any.

  2. Customize your Events Widget: choose colors and display options, and automatically preview the result. Scroll down this page for even more options.

  3. Click on Generate Code to show the code of your customized Events Widget, click on Copy Code and finally paste it on your website. Congratulations! Your website is now in sync with your events on Bandsintown.


NOTES

  • If you prefer to let the widget automatically match the color scheme of your website rather than use your predefined colors, remove all corresponding color options and replace data-auto-style="false" by data-auto-style="true".

  • By default, the Events Widget automatically displays in your visitor's preferred language, as defined in their browser settings, among English, French, Spanish, Portugese, Italian, German and Japanese. If your visitor has a different preferred language, the Events Widget defaults to English. If you want to remove language auto-detection, just add data-language="en" or any language abbreviation among fr, es, pt, it, de, ja.


NEED MORE CUSTOMIZATION?

You can customize the font, colors, dimensions, content of th Events Widget to your taste. Simply identify from the list below which option to use and add it within the code snippet of the Events Widget on your website before publishing it.

Examples:

  • to apply the Helvetica font, add: data-font="Helvetica"

  • to limit the number of events listed to 15, add: data-display-limit="15"

  • to force your Events Widget to display in English for all visitors, add: data-language="en"

  • to set the width of your Events Widget to 50% of your page width, add: data-widget-width="50%"

Setting Name

HTML5 Attribute

Description

Default

Artist Name

data-artist-name

The name of the artist for which to show events.

None

Text Color

data-text-color

Text color for the event data. HTML color code (hex or name).

#000000

Link Color

data-link-color

Color for the “upcoming” / “past events” links as well as the event buttons. HTML color code (hex or name).

#000000

Link Text Color

data-link-text-color

Text color for the event buttons. HTML color code (hex or name).

#FFFFFF

Background Color

data-background-color

Background color for the widget. HTML color code (hex or name).

Transparent

Popup Background Color

data-popup-background-color

Popup background color for the widget. HTML color code (hex or name).

#FFFFFF

Separator Color

data-separator-color

Color for the separators between events in the list. HTML color code (hex or name).

#7C7C7C

Font

data-font

Font for the widget.

Helvetica

Widget Width

data-widget-width

Width in pixels or percentage. Width in CSS format is "350px" or "50%". Switches to mobile friendly layout at 414px.

100%

Display Logo

data-display-logo

Display the Bandsintown logo at the top of the widget (links to the artist's Bandsintown page).

true

Display Track Button

data-display-track-button

Display Track message at the top of the widget (links to the artist's Bandsintown page and tracks the artist when clicked).

true

Display Local Dates

data-display-local-dates

If set to true, the browser will prompt the user for location information and show local events at the top of the event list.

false

Display Past Dates

data-display-past-dates

If set to true, shows past dates in addition to upcoming dates.

true

Display Lineup

data-display-lineup

If set to true, displays the lineup for each event.

false

Display Details

data-display-details

If set to true, displays the on sale date and time and description for each event, if information is available.

false

Display Limit

data-display-limit

Number of shows to display. A Show All Dates" link will appear below the concerts to expand the list if the limit is exceeded.

Show all

Language

data-language

If set, the widget will always display in the chosen language. English, Spanish, German, French, Japanese, Portuguese and Italian are supported via the following language codes: en, es, de, fr, ja, pt, it.

Detects browser language

Auto Style

data-auto-style

If set to true, the widget will use the parent page's styling to "guess" at good options for its styling: any additional specified options will take precedence over auto style options.

false

Div ID

data-div-id

Specifies a div for the widget render inside. If not specified, the widget will be rendered in the location of the <a> tag.

None

Facebook Page ID

data-facebook-page-id

Used to lookup an artist by Facebook page ID. If found, the artist with the matching page ID will be used, otherwise the artist name will be used: the data-artist-name property is still required when using this option. Formatted as a number or string.

None

Afill Code

data-afill-code

A word to identify your application, company or band. Formatted as a string.

“js_(website domain name)”

App ID

data-app-id

You may specify a word to identify your application, company or band. Formatted as a string.

“js_(website domain name)”

Check our Help Center if you need help.