Dashboard Shortcode
Insert a tableau dashboard using the Tableau API and including Site Improve event tracking by using the Dashboard shortcode.
This shortcode is not enabled by default. It must be enabled by an admin on each community site that will use it.
Required Attribute
url
This is the URL of the dashboard that should be inserted into the page.
Optional Attributes
file
This is the JavaScript file that will be used. The file must be added to the Zuse code base to be included, so this attribute should only be used in coordination with the web team. The default is "dashboard". To view the on screen pop ups at Story Point Switch (for testing), use "dashboard2".
width
This is the width of the iframe. It should be formatted as a valid CSS value, for example '500px' or '80%'. The default value is '904px'.
height
This is the height of the iframe. It should be formatted as a valid CSS value, for example '500px'. The default value is '669px'. Setting the height to a percent value is usually not recommended.
hideTabs
This parameter is passed to the Tableau API when building the viz. The default is 'true'.
hideToolbar
This parameter is passed to the Tableau API when building the viz. The default is 'false'.
Examples
This is the shortcode with the minimal necessary parameters.
[dashboard url="https://public.tableau.com/views/Story-AccessDashboard/ACCESS"]
This is the shortcode with all of the available parameters.
[dashboard file="dashboard2" url="https://public.tableau.com/views/Story-AccessDashboard/ACCESS" width="100%" height="500px" hideTabs="true" hideToolbar="true"]