01 / 20

URL Actions
in Tableau

Learn how to create interactive dashboards that link to external resources using URL actions: one of Tableau's most powerful interactivity features.

Tableau

What Are Dashboard Actions?

Dashboard actions are interactive behaviors you add to a Tableau dashboard. They let users click, hover, or select marks to trigger responses: filtering data, highlighting values, or navigating elsewhere.

Filter
Clicking a mark filters other sheets on the dashboard
Highlight
Hovering or selecting marks highlights related data
URL
Clicking a mark opens an external web page or resource

Defining the URL Action

A URL action is a dashboard behavior that opens a web address when a user interacts with a mark. The URL can be static (always the same) or dynamic (built from field values in your data).

Dashboard Click URL Action Web Browser https://example.com/...

Why Use URL Actions?

URL actions bridge the gap between your data visualizations and the broader context that lives outside Tableau. They turn dashboards into interactive portals.

★ Context
Link to product pages, documentation, or news articles related to a selected data point
★ Drill-Through
Open a detailed report on another platform by passing an ID or parameter
★ Maps
Launch Google Maps or Street View for a selected location using lat/long fields

Anatomy of a URL Action

Every URL action has five key components that control what happens when a user interacts with a mark.

1
Name: A descriptive label for the action (e.g., "Open Product Page")
2
Source Sheet: Which sheet(s) on the dashboard trigger this action
3
Run Action On: The trigger type: Hover, Select, or Menu
4
URL: The web address, optionally containing field name parameters
5
URL Target: Where the page opens: New Tab, Web Page Object, or Browser Tab

The URL Template

The most powerful feature of URL actions is the ability to insert field values dynamically using angle-bracket syntax. Tableau replaces each field reference with the value from the selected mark.

https://en.wikipedia.org/wiki/<Country>
https://example.com/report?id=<Product ID>&region=<Region> https://example.com/report?id=4072&region=West

Trigger Types: When Actions Fire

You control when the URL action fires by choosing one of three trigger types in the action settings.

Hover
Fires when the cursor moves over a mark. Best for previewing content in an embedded web page object.
Select
Fires when the user clicks a mark. The most common trigger: intentional and intuitive.
Menu
Fires from the tooltip's context menu. Best when you have multiple actions on one sheet.

URL Target Options

The URL Target setting determines where the linked page appears. Each option suits different use cases.

Target Behavior Best For
New Tab Opens in a new browser tab Standalone pages, external sites
Web Page Object Loads inside a Web Page object on the dashboard Embedded previews, keeping context
Browser Tab Opens in the current browser tab (replaces the dashboard) Rare: full navigation away

URL vs. Filter Actions

Both are dashboard actions, but they serve fundamentally different purposes. Understanding the distinction prevents misuse.

Aspect URL Action Filter Action
Destination External web page Internal dashboard sheet
Effect Opens a URL Filters data on target sheets
Uses field values? Yes, in the URL template Yes, as filter criteria
Stays in Tableau? Optional (Web Page Object) or No Always Yes
Common use case Link to a product page Click a region to filter a chart

How to Create a URL Action

1
Open your dashboard in Tableau Desktop or Tableau Public.
2
Go to Dashboard → Actions (or use the shortcut in the dashboard pane).
3
Click Add Action → Go to URL.
4
Name the action descriptively (e.g., "View Product Details").
5
Choose the source sheet(s) and trigger (Select, Hover, or Menu).
6
Enter the URL template. Use the arrow button to insert <Field Name> parameters.
7
Set the URL Target and click OK. Test by clicking a mark.

Example 1: Wikipedia Lookup

You have a map showing countries. You want users to click a country and see its Wikipedia page.

// URL Template:
https://en.wikipedia.org/wiki/<Country>
World Map Sheet "Japan" New Tab en.wikipedia.org/wiki/Japan Japan

Example 2: Google Search

You have a bar chart of company names. Clicking a bar should open a Google search for that company.

// URL Template:
https://www.google.com/search?q=<Company Name>

Example 3: Embedded Preview

You want to show a Google Maps street view inside your dashboard when a user selects a store location.

// URL Template:
https://www.google.com/maps?q=<Latitude>,<Longitude>
DASHBOARD Store Locations Map Selected Web Page Object google.com/maps?q=40.71,-74.00 Google Maps Live street view here

Using Multiple Parameters

URL templates can reference any number of fields. Combine them with standard URL query string syntax.

// Multi-parameter template:
https://crm.example.com/customer?
  name=<Customer Name>
  &region=<Region>
  &year=<YEAR(Order Date)>

Common Mistakes

✕ Wrong Field Name
Typing the field name incorrectly (wrong case or missing spaces) causes the parameter to not resolve. Always use the insert button.
✕ Missing Protocol
Forgetting https:// at the start of the URL. Without it, Tableau may not recognize the URL or it may fail to open.
✕ Hover on Busy Charts
Using "Hover" trigger on dense scatter plots or maps causes the page to reload constantly as the cursor moves across marks.
✕ No Web Page Object
Targeting a "Web Page Object" that doesn't exist on the dashboard. You must add the Web Page object first, then reference it in the action.

Quick Reference Summary

Setting Options Recommendation
Trigger Select, Hover, Menu Select (default choice)
URL Target New Tab, Web Page Object, Browser Tab New Tab or Web Page Object
Field Syntax <Field Name> Use the insert button
Encoding Automatic URL encoding Don't manually encode
Multiple params Separate with & Standard query string format
Testing Click a mark after setup Always test before publishing

Question 1 of 5

What is the primary purpose of a URL action in Tableau?

Question 2 of 5

In a URL action template, how do you insert a dynamic field value from the data?

Question 3 of 5

Which URL Target option allows external content to display inside the dashboard without navigating away?

Question 4 of 5

You create a URL action with trigger set to "Hover" on a scatter plot with 500 marks. What is the most likely problem?

Question 5 of 5

Your URL action template is: https://api.example.com/item?id=<Product ID>. When a user clicks a mark where Product ID = "A-204", what URL does Tableau open?