Tableau Dashboards Embedded in your Website

Embedding Tableau dashboards into WordPress websites can transform how businesses present data, offering both customers and internal teams interactive insights directly within your site. At Sapphire Analytics, we’ve explored various methods to achieve seamless integration, ensuring secure and personalized user experiences.​


Why Embed Tableau in WordPress?

Integrating Tableau dashboards into your WordPress site allows for:​

  • Enhanced User Engagement: Interactive visualizations can captivate visitors, providing them with real-time data insights.​
  • Customized Experiences: Tailoring dashboards based on user roles or preferences enhances relevance and usability.​
  • Streamlined Internal Reporting: Embedding dashboards internally ensures teams have immediate access to vital analytics without navigating away from your primary platform.​Tableau Community

Embedding Methods

1. Using Tableau’s JavaScript API

Tableau’s Embedding API v3 simplifies the integration process:​Tableau Help+1USEReady+1

htmlCopyEdit<script type="module" src="https://public.tableau.com/javascripts/api/tableau.embedding.3.latest.min.js"></script>
<tableau-viz id="tableauViz" src="https://public.tableau.com/views/YourWorkbook/YourView" toolbar="bottom" hide-tabs></tableau-viz>

This approach offers greater control over the embedded content, allowing for customization and interactivity. ​ However, this method does not account for security and most tableau servers will not embed this information without Single-Sign-On, SAML authentication or other methods

2. Embedding Tableau Public Dashboards

For publicly available dashboards:​

This method is straightforward but offers limited customization. While this method doesn’t require you to maintain authentication methods, it also means your dashboards must be available for all to see in Tableau Public.


Securing Embedded Dashboards with JWT and Connected Apps

To provide a secure and personalized experience, especially for private dashboards, leveraging Tableau’s Connected Apps with Direct Trust is essential:​

  • JWT Authentication: Generate a JSON Web Token (JWT) that includes user-specific claims. This token authenticates users seamlessly, ensuring they access only authorized content.​
  • Integration with WordPress Users: By aligning JWT claims with WordPress user data, you can tailor dashboard views based on user roles or permissions.​
  • Enhanced Security: This method eliminates the need for separate Tableau logins, streamlining access while maintaining robust security protocols. ​

Using A combination of the methods discussed so far we have built a WordPress plugin that can be customized to your needs. If your site works using WordPress CMS we can securely embed your Tableau dashboards in your site.


Unlock the Power of Embedded Analytics

Embedding Tableau dashboards into your WordPress site not only enriches user experience but also centralizes data-driven decision-making. Whether you’re aiming to showcase insights to customers or streamline internal reporting, the integration possibilities are vast.​

Ready to elevate your website with interactive analytics?

Contact Sapphire Analytics today to explore how we can tailor Tableau integrations to meet your unique business needs.

Share your love