The following steps may be used to embed a view or dashboard in a webpage.
Prerequisite: The view or dashboard (Tableau Workbook) must be published to the UW Tableau External Server. The data must be available without requiring a data source password prompt (i.e. embedded account and password).
Select an approach
In your webpage, you will need to insert an embed code. To do so, you can take one of two approaches:
- Use Tableau JavaScript: Use the embed code that Tableau generates as the starting point for your own code, adding or editing object parameters that control the toolbar, tabs, and more. The default embed code, which relies on a Tableau JavaScript file, is the only way to control the load order of multiple embedded views.
- Specify the View URL: Embed a view using an Iframe or Image tag, where the source is the URL from the Link box of the Share dialog box. You may want to do this if you can't use JavaScript on your website.
Example of embedding a view using JavaScript
- Navigate to the view that you want to publish. If you don't know the link to your visualization, request one by emailing help@uw.edu
- Click' Share' in the top right corner to open the share dialog box.

- Select and copy the code under 'Embed code'.
Below is the embed code for this view.
<script></script> <div class='tableauPlaceholder' style='width: 1912px; height: 852px;'> <object class='tableauViz' width='1912′ height='852′ style='display:none;'> <param name='host_url' value='https%3A//tableau.washington.edu/' /> <param name='site_root' value=" /><param name='name' value='Superstore/Overview' /> <param name='tabs' value='yes' /><param name='toolbar' value='yes' /> <param name='showShareOptions' value='true' /></object></div>
The source for the <script> tag is the URL for the UW Tableau External Server JavaScript file, viz_v1.js. The JavaScript file assembles the full URL of the view displayed for your users. The name and site_root object parameters are the only required; all other parameters are optional.
- Insert this code in the code for your webpage.
Example of embedding the view using IFrame
- Insert the code below into your webpage. <iframe src="<Source URL>" width="800″ height="600″></iframe>
- Replace the text in red with the view URL. How to find the URL for a view or dashboard? Follow steps 1-3 mentioned above in the JavaScript example. - Select and copy the URL under 'Link' in the share dialogue box.

Below is the URL for this view. https://tableau.washington.edu/views/Superstore/Overview?:embed=y&:showShareOptions=true&:display_count=no&:showVizHome=no
Example: <iframe src="https://tableau.washington.edu/views/Superstore/Overview?:embed=y&:showShareOptions=true&:display_count=no&:showVizHome=no" width="800″ height="600″></iframe> The embed URL parameter is required, and you can optionally include parameters that control the toolbar and revert options, among others. You can also add filters to the URL that control the specific data that shows when a view is loaded.
Note: When you embed a view, you should define the width and height of the view. If you do not do this, the client browser will arbitrarily pick a width and height.
List of Embed Parameters
You can embed a view using an Iframe tag, which uses URL parameters, or a JavaScript tag, which uses object parameters. The following table lists both sets of parameters and how to use them.
What Tableau help and support is available to the UW Tableau Community?
Whether you are new to Tableau or have been working with it for years, you will have questions along the way. We try to answer many of the most common questions in this FAQ. However, if you still have questions, you should write a
help@uw.edu ticket for help with any of the following:
- UW Tableau Servers
- UW Tableau Server project permissions
- Publishing data sources and scheduling refreshes
Please describe your subject line to ensure your question gets to the right team! Include something like "Tableau: [Keywords that summarize your problem]." We also get many requests for help with things like:
- Connecting Tableau to third-party vendor data sources
- Building special breakdowns and calculations into a dashboard
- Recommendations on the best way to visualize a specific kind of data
Troubleshooting this type of work is outside our team's scope of support. The best resource for how to troubleshoot specific problems is the Tableau Learning pages or the Tableau Community Forum:
https://www.tableau.com/community Please note that
your Tableau Desktop License monthly fee includes free support and maintenance from Tableau staff, so feel free to reach out to them if you hit a wall:
https://www.tableau.com/support/desktop?_ga=2.58139306.1402460053.1571435706-401298278.1569846890
What additional training options are available?
UW-IT does not currently offer Tableau training. Tableau does offer a range of training options, from free online videos to full classroom and certification training, but these options are not maintained through UW. For more information, refer to
Tableau's Free Training Videos. Other available resources include:
What is the difference between Tableau and Power BI
In recent years, Microsoft introduced Power BI as a data visualization toolset that competes directly with Tableau. If you're interested in comparing the two tools, we've put together a comparison here in PDF format:

In short, UW-IT Enterprise Reporting and Analytics supports Tableau at the UW enterprise level. We maintain the server environments and work with customers to troubleshoot technical questions. We have also built a community of practice around Tableau with our
Tableau User Group. If you decide to go with Tableau, we deliver high service, security, and availability levels. If you decide to use Power BI, it is managed by the UW-IT MSCA (Microsoft Collaborative Applications). The UW UW UWare web page that details information related to Power BI is here:
Power BI.