Home / Partner widget
City widget for partners
Put a "Find Tickets" button on your site that opens our city picker. We keep the city links up to date, so you never have to change your code.
1. Add these two lines
Paste them once on your site, before the closing </body> tag or inside <head>.
<link rel="stylesheet" href="https://tikketfymarketplace.com/widget/city.css">
<script src="https://tikketfymarketplace.com/widget/city.js" defer></script>
2. Add a class to any button or link
Open the city picker
Add tikketfy-cities. Visitors choose a city and its marketplace opens in a new tab.
<button class="tikketfy-cities">Find Tickets</button>
Go straight to one city
Add tikketfy-city- plus the city key. No popup opens; the city's marketplace opens in a new tab.
<a href="#" class="tikketfy-city-nashville">Nashville tickets</a>
City keys
| City | Class |
|---|---|
| New York, NY | tikketfy-city-new-york |
| Chicago, IL | tikketfy-city-chicago |
| Cincinnati, OH | tikketfy-city-cincinnati |
| Nashville, TN | tikketfy-city-nashville |
| Dallas, TX | tikketfy-city-dallas |
| Orlando, FL | tikketfy-city-orlando |
| Los Angeles, CA | tikketfy-city-los-angeles |
| Las Vegas, NV | tikketfy-city-las-vegas |
| Myrtle Beach, SC | tikketfy-city-myrtle-beach |
| Miami, FL | tikketfy-city-miami |
Styling
The widget works with your own buttons and styles. If you want ours, add tikketfy-btn next to the widget class, like the demo buttons above:
<button class="tikketfy-cities tikketfy-btn">Find Tickets</button> The popup runs in its own isolated layer, so your site's CSS won't change how it looks, and it won't change your site.
Partner tracking
Every ticket click from your site is credited to you automatically, using your website's domain. Nothing to set up.
If we've given you a partner ID, add it to the script tag instead:
<script src="https://tikketfymarketplace.com/widget/city.js" data-aff="your-partner-id" defer></script>
Good to know
- City links and photos update automatically when we change them. Your site picks up changes within an hour.
- Works with buttons added after the page loads, such as in sliders or page builders.
- Visitors can close the popup with the close button, the Esc key or by clicking outside it.
- You can also open it from your own code with
TikketFyCities.open().
Questions? Send us a message.