PI Viator Affiliate logo
PI Media · WordPress Travel Affiliate
Viator Partner API · Live affiliate listings

Add bookable Viator experiences to WordPress

PI Viator Affiliate connects WordPress to the Viator Partner API to display tours, activities and attractions. Add listings with a shortcode, widget, page assignment or automatic placement. Visitors book on Viator through your tracked affiliate links.

0 products importedLive from the Viator API
5 layoutsGrid · 2-col · 4-col · list · masonry
35 currencies36 language locales
3 licencesStandard · Business · Developer
PI Viator Affiliate — Live Listings
License KeyAPI SettingsLive ListingsShortcodesCachingAdvanced
API connectedProductionAUD · en
[pi_viator destination="479" limit="6" columns="3"]

Harbour Sunset Cruise With Drinks

2 hours
From AUD 89.00
Book Now ↗

Mountain Lookouts Small-Group Day Trip

10 hours
From AUD 139.00
Book Now ↗

We may earn a commission when you book through these links.

Powered by PI Viator AffiliateIllustrative sample data
Affiliate booking flow
WordPress displays experiences from the Viator Partner API. Travellers follow an affiliate link to book on Viator.
Live API listings Current experiences, never imported
Shortcode Builder Search, preview & copy
Display on Pages Before or after your content
Automatic placement By content type & location
Smart caching Fast pages, fewer API calls
PI Viator Affiliate

Your Travel Content, Connected To Viator Bookings

Search the Viator catalogue by destination, keyword, category, price, rating, duration or travel dates, then publish clean, responsive listing cards that send travellers to book on Viator through your affiliate links.

Live Viator Partner API Tracked booking links Built-in result caching
How it works

From The Viator API To Your Page In Four Steps

Activate the plugin, connect your own Viator Partner API token, choose what to show and place it anywhere. Listings use current API search results; customers complete their bookings on Viator.

1

Activate & connect

Activate your PI licence, save your Viator API token and pick Sandbox or Production. Use Test API Key to confirm.

2

Build your search

Use the Shortcode Builder to set destination, keyword and filters, preview real results and copy the shortcode.

3

Place the listings

Add a shortcode or widget, assign listings to a page, or let Automatic Placement fill chosen content types.

4

Earn on bookings

Visitors click through to Viator in a new tab using the tracked product link, with your campaign code attached.

Live, Not Imported

Experiences are fetched from Viator for the configured search. No products are saved as WordPress posts and no catalogue is stored on your site.

  • No import engine to schedule or clean up
  • Results cached briefly, then refreshed
  • Search and location requests go to Viator
Live API

Booking Stays On Viator

The plugin shows the experience and sends the traveller to Viator to book. There is no checkout, review system or payment handling to maintain.

  • Tracked product URL preserved from the API
  • Links open in a new tab
  • Links marked rel="sponsored"
Affiliate-ready

Disclosure Built In

Show an editable affiliate disclosure under every listing grid so visitors know you may earn a commission when they book.

  • Default text included and fully editable
  • Campaign code per site, page or shortcode
  • You stay in charge of your own terms
Transparent
Bring your own Viator credentials: no API token or affiliate ID is bundled. You connect the Viator Partner API token issued to you, and the plugin sends it server-side.
Help & Support — Quick Start
Live Listings
✓Activate the licence — domain verified
✓Connect Viator — API key & environment
3Choose listing fields — what visitors see
4Set display styles — cards, colours, spacing
5Build your shortcode — search, preview, copy
Display on Pages

Add listings before or after permanent guide content.

Setup & Support

Check API status, caches and environment details.

Illustrative view of the plugin’s Quick Start tab.
Guided setup inside WordPress

A Checklist That Ticks Itself As You Configure

The Help & Support tab walks you through three journeys—Live Listings, Display on Pages and Setup & Support—with numbered steps that jump straight to the right setting and show what is already done.

  • Deep links into the exact tab or sub-tab for each step
  • Completed steps are marked automatically
  • Environment details ready to copy for support requests
  • Your last Viator API response and allowance at a glance
Tour the Admin →
Live listings & shortcodes

Show Real Viator Experiences With One Shortcode

Each listing card can show a thumbnail, duration, description excerpt, from-price and a Book Now button—straight from the Viator API. Place a grid with a shortcode, a widget or a page assignment.

Live Listings — Settings
Grid — configurable columns

Old Town Food & Culture Walk

3.5 hours
Meeting point: Central Square
From AUD 74.00
Illustrative interface with sample data.

Rich Listing Cards

Thumbnail, title, duration, description excerpt, from-price with currency and a Viator booking button—each field switchable.

Verified Addresses

Show a meeting-point or tour-stop address when Viator supplies one. Unsupported lookups simply omit it.

Live Listings Widget

Add Pi Viator Affiliate — Live Listings to any widget area with a destination, keyword and result count.

Bounded Pagination

Turn on pagination per shortcode. Each paginated listing keeps its own independent, capped page count.

Simple shortcodes

Drop Live Tours Into Any Page, Post Or Widget

One shortcode, many parameters. Replace the example destination with the correct Viator destination ID for your listing.

Destination grid

[pi_viator destination="479" limit="9" columns="3" pagination="yes"]

A three-column grid of nine experiences with bounded pagination.

Keyword list with campaign

[pi_viator destination="479" keyword="harbour" layout="list" campaign="harbour-tours"]

A list layout filtered by keyword, tagged with its own campaign code.

Top-rated & budget-friendly

[pi_viator destination="479" min_rating="4.5" max_price="150" sort="rating"]

Only highly rated experiences under your price ceiling, best first.

Travel dates & flags

[pi_viator destination="479" date_start="2027-01-10" date_end="2027-01-17" flags="FREE_CANCELLATION"]

Experiences available for a travel window, limited to free-cancellation products.

Display on Pages & Automatic Placement

Place Listings Where Travellers Already Read

Skip the copy-and-paste. Assign a live search to a page, or let the plugin add a grid to every post or page of the content types you choose—each with its own query, fields and styles.

Shortcode & Widget

Full control, placed exactly where you want it in any page, post or shortcode-enabled widget area.

Manual

Display on Pages

Attach an independent live search to a published page, before or after your permanent guide content.

Per page

Automatic Placement

Add a contextual grid to selected public content types—by shared query, slug keyword or location term.

Per content type
Live Listings — Display on Pages
Harbour City Guide
After contentBefore content
Save page assignment
PagePositionSearch
Harbour City GuideAfterdestination 479
Blue Mountains Day TripsBeforekeyword “mountains”
Weekend ItinerariesAfterrating ≥ 4.5
Illustrative interface with sample data.
Included in every licence

Wrap Your Guides In Live Bookable Experiences

Write the guide once and let the plugin keep the experiences fresh. Every assignment stores only its configuration—never product records—and uses the same field and style controls as shortcodes.

  • Choose any published page and a position before or after the content
  • Each assignment has its own destination, keyword and filters
  • Edit or remove assignments at any time; caches clear automatically
  • Business and Developer can warm up to five of these searches
Add Display on Pages →
Live Listings — Automatic Placement
✓ Posts✓ Pages+ Custom types
Keyword from page or post slug
Tours & Experiences: Harbour City — added automatically to /harbour-city/

City Highlights Walk

From AUD 59.00

Harbour Cruise

From AUD 89.00
Illustrative interface with sample data.
Included in every licence

One Setup, A Grid On Every Location Page

Choose the public content types that get a grid, then decide how each page finds its experiences. Missing or ambiguous terms fall back to your shared query.

  • Shared query — the same search everywhere
  • Page or post slug — a keyword from the slug, ideal for location landing pages
  • Location taxonomy — a single assigned term from a public taxonomy
  • Skip content that already has a manual shortcode
  • Optional saved latitude, longitude and postcode metadata ranks a bounded shortlist by verified meeting points
Get Automatic Placement →
For theme developers: adjust results with the piv_automatic_query, piv_automatic_area_labels, piv_location_context and piv_price_prefix filters. There are no domain checks, theme helper dependencies or preset destination rules in the plugin.
Display styles & fields

Make Every Listing Match Your Theme

Pick the layout, choose which fields appear and style the cards with colour pickers and sliders—with a live preview beside the settings. The same styles apply to shortcodes, widgets and page assignments.

Live Listings — Display Styles
Card appearance
Card background Border Button Title
Live preview

Guided Experience

180 minutes
From AUD 125.50
Book Now ↗
Illustrative preview with sample values.
Included in every licence

See The Result Before You Save

The Display Styles tab shows a live card preview next to the controls, so you can match your brand without touching CSS.

  • Card background, border colour, radius, thumbnail height and gap
  • Title and meta colour and size
  • Booking button background, text colour and radius
  • Separate tablet and desktop column counts
  • Choose fields: image, duration, description, price and button
Style Your Listings →

Grid

One to four configurable columns.

Grid — 2 columns

Roomy cards for long descriptions.

Grid — 4 columns

Compact, browsable collections.

List

Image beside details, ideal for guides.

Masonry

Staggered cards that fit any image ratio.

Tablet columns

Set 1–3 columns for mid-size screens.

Field toggles

Show or hide each card detail.

Button text

Say Book Now, View Tour or your own words.

Affiliate disclosure

An editable notice under each grid.

Speed, caching & limits

Fast Pages, Fewer API Calls

Search results and rendered listing HTML are cached—each filter combination and page gets its own entry. Request budgets, a mutex and provider cooldowns keep your site comfortably inside API limits.

Caching — Settings & Metrics
15 Minutes
GroupHitsMissesStoresErrors
Live API results41238380
Listing HTML65541410
Flush Live & All CachesFlush Listing HTMLReset Metrics
Illustrative interface with sample figures.

Two Cache Layers

Cache the API result and the rendered card HTML. HTML never outlives the result it was built from.

Request Protection

A site-wide requests-per-minute budget, a request mutex and provider cooldowns; failed responses are briefly cached.

Bounded Storage

Search, HTML and location caches are each capped at 200 entries, and the category taxonomy refreshes weekly.

Inspect & Manage

View or delete cached entries, read hit and miss metrics, and bypass caches as an admin with ?piv_nocache=1.

60–3600Seconds of configurable result expiry
200Entries per cache group, always bounded
1–60Site-wide API requests per minute budget
15 minScheduled warming interval on Business & Developer
Business & Developer

Scheduled Cache Warming For Your Busiest Pages

Keep up to five Display on Pages searches warm every 15 minutes, so the first visitor after a quiet spell still sees a fast, fully populated listing. Warming uses the same cache and API request budget, with a Warm Now button and a last-run report.

Every 15 minutes A WordPress cron event refreshes configured searches
Up to five pages Pick published pages that have listing assignments
Last-run status See how many searches were warmed or failed
Good to know: prices come from the API at the time of the cached result. If you use a full-page or CDN cache in front of WordPress, give it an expiry and purge policy that suits how fresh you want listings to be. Scheduled warming needs working WordPress cron.
Admin tour

Seven Tabs. Everything In One Place.

PI Viator Affiliate adds one tidy settings screen to WordPress. Tabs remember where you were, and every save clears the right caches for you.

License Key

Save and activate your PI licence for this domain, check or update it, or deactivate it when you move.

  • Edition shown in the header
  • Twice-daily revocation check

API Settings

Connect your Viator Partner API token and set the defaults for every listing.

  • Sandbox or Production environment
  • Default currency, language, campaign
  • Test API Key and last request status

Live Listings

Everything about what appears on your pages and how it looks.

Live Listings SettingsLive Listing FieldsDisplay on PagesAutomatic PlacementDisplay Styles

Shortcodes & Widget

A complete parameter reference, the widget guide and the interactive builder.

Reference & WidgetShortcode Builder

Caching

Control expiry and request budgets, then inspect cache metrics and individual entries.

  • View, delete or flush entries
  • Hits, misses, stores and errors

Advanced

Edition-specific tools for growing sites and developers.

Business — cache warmingDeveloper — reference

Help & Support

Guided Quick Start journeys and a support tab with environment information to copy.

Quick StartGet Support

Viator Documentation

Quick links in the plugin header to Viator’s implementation guide and Partner API reference.

Security & trust

Credentials Stay Server-Side, Bookings Stay On Viator

Your Viator token is encrypted at rest and used only on your server. The plugin keeps no product catalogue, reviews or checkout, so there is less to secure and less to explain.

Encrypted API token

Stored with AES-256-GCM using your WordPress authentication salts. Leave the field blank to keep it, or remove it any time.

Server-side requests

The token is sent from your server to Viator. No public proxy endpoint is exposed to visitors.

No stored catalogue

No import engine, product posts, reviews or checkout—only temporary caches that you control.

Sponsored, new-tab links

Booking links use rel="sponsored noopener noreferrer" and open in a new tab.

Two separate keys: your PI licence key and your Viator API token are independent. Licence checks contact PI Media’s licence server; search and location requests go to Viator. Deactivating the licence clears scheduled plugin jobs but keeps your saved configuration.
Licence pricing

Choose The Licence For Your WordPress Sites

Every licence includes the complete live-listing feature set. Business and Developer add scheduled cache warming and more licensed domains. You will need your own Viator Partner API token to display listings.

Standard

Launch Your Listings

$65USD · one time

For one travel site that needs live Viator experiences, page assignments and automatic placement.

1 licensed domain · server verified
  • Live Viator search by shortcode, widget & Display on Pages
  • Shortcode Builder with live API preview
  • Automatic Placement by content type & location
  • Grid, list & masonry display styles with live preview
  • Result & listing HTML caching with metrics
  • Tracked booking links with your campaign code
  • Server-verified licence activation
One-time payment · secure checkout
Developer

Deliver For Clients

$255USD · one time

For agencies and developers building Viator-powered travel sites for clients.

10 licensed domains · server verified
  • Everything in Business
  • The most licensed domains for client work
  • Scheduled cache warming on every client site
  • Developer reference: constant, theme filters & API routes
  • One licence key, server-verified per domain
One-time payment · secure checkout
LiveStraight from the API
0 importsNo catalogue to maintain
5 layoutsGrid, list & masonry
35 currencies36 language locales
3 licencesScale by domain count
Feature Standard Business Developer
Licensed domains 1 5 10
Live Viator search: destination, attraction & keyword ✓ ✓ ✓
Filters: categories, flags, price, rating, duration & travel dates ✓ ✓ ✓
Shortcode Builder with live API preview ✓ ✓ ✓
[pi_viator] shortcode & Live Listings widget ✓ ✓ ✓
Display on Pages assignments (before or after content) ✓ ✓ ✓
Automatic Placement by content type, slug or location term ✓ ✓ ✓
Geo-aware ranking from saved coordinates or postcode ✓ ✓ ✓
Grid, 2-col, 4-col, list & masonry layouts ✓ ✓ ✓
Display Styles with live preview & field toggles ✓ ✓ ✓
Sandbox & Production environments with API key test ✓ ✓ ✓
35 currencies & 36 language locales ✓ ✓ ✓
Campaign codes & editable affiliate disclosure ✓ ✓ ✓
Result & listing HTML caching with metrics ✓ ✓ ✓
Request budget, mutex & provider cooldown protection ✓ ✓ ✓
Theme integration filters & developer reference ✓ ✓ ✓
Scheduled cache warming (up to five searches) — ✓ ✓
Server-verified licence activation ✓ ✓ ✓
Buy PI Viator Affiliate
Secure checkout
Secure checkout
Secure checkout
Licence note: Each licence is a one-time purchase. Standard covers 1 domain, Business 5 domains and Developer 10 domains. All tiers share the same listing features; Business and Developer add scheduled cache warming. A Viator Partner API token is required and is not included.
Customer spotlight

Tours for California’s cities, counties and regions

Events in California uses PI Viator Affiliate to add relevant tours and attractions to its destination and event pages. Travellers can explore experiences alongside the local guide and book through Viator.

Visit Events in California
Frequently asked questions

Before You Connect Viator

Do I need my own Viator account and API token?

Yes. No customer API token or affiliate ID is bundled. You save the Viator Partner API token issued to you, choose the matching Production or Sandbox environment and use the Test API Key button on the same tab to confirm the connection.

Does the plugin import tours into WordPress?

No. Experiences are fetched live from Viator for the search you configure. There is no import engine, stored product catalogue, review system or checkout—only temporary caches you can inspect, flush or switch off.

Where do visitors book?

On Viator. Each card links to the tracked product URL returned by the API, opens in a new tab and is marked rel="sponsored". The plugin never handles payment or bookings itself.

Can I show listings without writing a shortcode?

Yes. Use Display on Pages to attach a live search to a published page before or after its content, use Automatic Placement to add a grid to chosen public content types, or add the Live Listings widget to a widget area. The shortcode and Shortcode Builder remain available for exact placement.

How does Automatic Placement choose a location?

You pick one source: a shared query, a keyword taken from each page or post slug, or a single assigned term from a public location taxonomy. Missing or ambiguous terms fall back to the shared query. Slug matching is intended for location landing pages—arbitrary titles are not reliable locations. Optional saved latitude, longitude and postcode metadata can rank a bounded shortlist.

Will it slow my site or exceed API limits?

Result and listing-HTML caching are on by default, with configurable expiry from one minute to one hour. A site-wide request budget, a request mutex and provider cooldowns limit outbound calls. On a busy cold cache a grid may be omitted briefly, and any full-page or CDN cache in front of WordPress needs its own expiry and purge policy.

Are prices always up to the minute?

Prices come from the API when a result is fetched and then stay in cache until it expires. Shorten the expiry for fresher figures or lengthen it for fewer requests. No stale-price guarantee is provided, and final prices are always confirmed on Viator.

Which licence should I choose?

Every tier includes the same listing, placement, styling and caching features. Choose Standard for a single site, Business for a network of sites that benefits from scheduled cache warming, or Developer for agencies building sites for clients. Only the licensed-domain count and the scheduled-warming availability differ.

How is the licence activated?

Save your key in the License Key tab and click Activate License. The licence server confirms the product and your domain. Search and cached results require a valid activation for the local domain, revocation checks run twice daily, and deactivating clears scheduled plugin jobs while keeping your saved settings.

Which currencies and languages are supported?

35 currencies, including AUD, CAD, EUR, GBP, JPY, NZD, SGD, USD and ZAR, and 36 language locales covering regional English plus Danish, Dutch, Norwegian, Spanish, Swedish, French, Italian, German, Portuguese and Japanese. Set defaults once and override them per shortcode.

Is PI Viator Affiliate made or endorsed by Viator?

No. It is an independent plugin from PI Media that uses the Viator Partner API with your own credentials. Viator and related names are trademarks of their respective owners.

Customer stories

Social Proof, Published With PI Testimonials

A live selection of real feedback about PI Viator Affiliate—collected, moderated and displayed with PI Testimonials.

Why site owners choose PI Viator Affiliate

Everything A Travel Site Needs To Turn Readers Into Bookers

From a single destination guide to a network of location pages, PI Viator Affiliate scales with the way you publish travel content.

Always current

Listings come from the Viator API, so your pages never depend on hand-copied links or screenshots.

Right place, right page

Page assignments and automatic placement match experiences to each destination you cover.

Looks like your site

Colours, radius, spacing and layouts are set with controls and a live preview—no custom CSS needed.

Fast and polite

Caching, request budgets and optional warming keep pages quick and API usage sensible.

Hand-pasted affiliate links

Works, until it doesn’t.

Static links and copied descriptions are quick to start with, but they age with every page you publish.

– Links and prices go stale on old posts
– Every page is edited by hand
– No filters, sorting or consistent cards
– Hard to see which page earns bookings
vs
PI Viator Affiliate

Live, filtered and on-brand.

Describe what you want to show once and let the plugin fetch, cache and render current experiences wherever you place it.

Current experiences from the Viator API
Shortcode, widget, page and automatic placement
Filters for price, rating, duration & dates
Campaign codes to compare your pages
Resources & guides

Get More Bookings From Every Destination Page

Guides, strategies and tutorials for planning, placing and measuring Viator affiliate listings with PI Viator Affiliate.

Start with a destination ID

Enter your Viator destination ID in the Shortcode Builder first, preview the results, then narrow with keywords and filters until the grid fits your guide.

Use a campaign per page

Give shortcodes their own campaign codes—letters, numbers and dashes—so you can tell which guide or placement sends the most travellers to Viator.

Wrap evergreen guides

Keep your permanent guide content untouched and let Display on Pages add fresh experiences before or after it—no re-editing when offers change.

Contact PI Media

Questions About Licences Or Setup? We Can Help.

Ask about licences, connecting your Viator API token, placement strategies, caching or custom implementation.

Email Support [email protected]
Replies Monday–Friday
Pre-Sales Guidance Tell us about your sites, destinations and how you publish travel content—we’ll suggest the right licence.

Send Us a Message

We’ll reply as soon as we can.

Contact product support
Secure and private: Your contact details are used only to answer your enquiry and are never sold or shared for unrelated marketing.
Start today — go live in minutes

Your Readers Are Already Planning Trips.
Show Them What To Book.

Connect your Viator Partner API token, build a search in the Shortcode Builder and publish live, tracked tour listings on every destination page.

Live Viator Partner API Secure checkout Token encrypted at rest Styled to match your theme

PI Viator Affiliate is an independent product by PI Media and is not made, endorsed or sponsored by Viator. Viator is a trademark of its respective owner.