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.
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.
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).
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.
Anatomy of a URL Action
Every URL action has five key components that control what happens when a user interacts with a mark.
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.
Trigger Types: When Actions Fire
You control when the URL action fires by choosing one of three trigger types in the action settings.
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
Example 1: Wikipedia Lookup
You have a map showing countries. You want users to click a country and see its Wikipedia page.
https://en.wikipedia.org/wiki/<Country>
Example 2: Google Search
You have a bar chart of company names. Clicking a bar should open a Google search for that company.
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.
https://www.google.com/maps?q=<Latitude>,<Longitude>
Using Multiple Parameters
URL templates can reference any number of fields. Combine them with standard URL query string syntax.
https://crm.example.com/customer?
name=<Customer Name>
®ion=<Region>
&year=<YEAR(Order Date)>
Common Mistakes
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?