PHPackages                             fostercommerce/tableauconnect - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. fostercommerce/tableauconnect

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

fostercommerce/tableauconnect
=============================

Tableau integration plugin for Craft

1.0.0-beta.15(6y ago)11.5kMITPHPCI failing

Since Oct 2Pushed 6y agoCompare

[ Source](https://github.com/FosterCommerce/tableauconnect)[ Packagist](https://packagist.org/packages/fostercommerce/tableauconnect)[ RSS](/packages/fostercommerce-tableauconnect/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (3)Versions (16)Used By (0)

Tableau Connect for Craft CMS 3.x
=================================

[](#tableau-connect-for-craft-cms-3x)

Tableau integration plugin for Craft

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.x and a Tableau 2.x server.

Installation
------------

[](#installation)

Install ShipStation Connect from the Plugin Store or with Composer

### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project’s Control Panel and search for Tableau Connect.” Click on the “Install” button in its modal window.

### With Composer

[](#with-composer)

Open your terminal (command line) and run the following commands:

```
# go to the project directory
cd /path/to/my-project

# tell Composer to load the plugin
composer require fostercommerce/tableauconnect

# tell Craft to install the plugin
./craft install/plugin tableauconnect

```

After installing with composer, go to the Craft control panel plugin settings page to install and configure the settings for the plugin.

Configuration
-------------

[](#configuration)

### Tableau Server URL

[](#tableau-server-url)

This is the URL to your Tableau installation, example:

### Requires Authorization

[](#requires-authorization)

Enable this setting if you need to access views which require user authorization.

**Note:** This uses Tableau's "trusted" scheme which requires your web server's IP address to be add to the Tableau servers list of trusted addresses. See [Adding Trusted IP Addresses](https://onlinehelp.tableau.com/current/server/en-us/trusted_auth_trustIP.htm)

Template Usage
--------------

[](#template-usage)

### Render Visualization

[](#render-visualization)

#### Parameters

[](#parameters)

**view**

The view to render.

```
{{ craft.tableauconnect.renderVisualization('Workbook/SomeView', {...}) }}
```

**options**

Supports all options supported by [Tableau JS API](https://onlinehelp.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#vizcreateoptions_record)

`onFirstInteractive` and `onFirstVizSizeKnown` should be passed in as strings to Tableau Connect.

See [onFirstInteractive](https://onlinehelp.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#tableauevent_class) and [onFirstVizSizeKnown](https://onlinehelp.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#vizresizeevent_class) event classes for details about the function callback arguments.

**requiresAuthorization**

Override the system-wide authorization configuration for this specific view:

```
{{ craft.tableauconnect.renderVisualization('Your/View', {...}, false) }}
```

#### Example

[](#example)

```
{{craft.tableauconnect.renderVisualization('Your/View', {
  hideTabs: true,
  hideToolbar: true,
  width: '600px',
  height: '480px',
  onFirstInteractive: 'myCustomOnFirstInteractive',
  onFirstVizSizeKnown: 'myCustomOnFirstVizSizeKnown',
})}}

{% js %}
/**
 * args: {
 *   key: Key applied to visualization container
 *   container: Element visualization is loaded into
 * }
 */
function myCustomOnFirstInteractive(e, args) {
  // Do something...
}

/**
 * args: {
 *   key: Key applied to visualization container
 *   container: Element visualization is loaded into
 * }
 */
function myCustomOnFirstVizSizeKnown(e, args) {
  // Do something
}
{% endjs %}
```

### Tableau Authorization Check

[](#tableau-authorization-check)

If the "Requires Authorization" setting is enabled, you can check if a logged in user is authorized by Tableau to view a visualization. If the setting is disabled, this will always return `true`.

```
{% if craft.tableauconnect.token %}

{% else %}
  Not authorized to view visualization
{% endif %}
```

### Embed Visualization

[](#embed-visualization)

```

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~91 days

Total

15

Last Release

2395d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ac5b96165dd51aed8f0b9ea079d5d5beeb430a915cd07d645db0a228b0ac3aa?d=identicon)[fostercommerce](/maintainers/fostercommerce)

---

Top Contributors

[![johnnynotsolucky](https://avatars.githubusercontent.com/u/4161106?v=4)](https://github.com/johnnynotsolucky "johnnynotsolucky (18 commits)")[![sjcallender](https://avatars.githubusercontent.com/u/984311?v=4)](https://github.com/sjcallender "sjcallender (2 commits)")

---

Tags

cmsCraftcraftcmscraft-plugintableau connect

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/fostercommerce-tableauconnect/health.svg)

```
[![Health](https://phpackages.com/badges/fostercommerce-tableauconnect/health.svg)](https://phpackages.com/packages/fostercommerce-tableauconnect)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[verbb/vizy

A flexible visual editor field for Craft.

4348.6k](/packages/verbb-vizy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
