Title: Tealium
Author: Tealium
Published: <strong>2013 年 11 月 14 日</strong>
Last modified: 2025 年 9 月 2 日

---

搜尋外掛

![](https://ps.w.org/tealium/assets/banner-772x250.jpg?rev=1203802)

![](https://ps.w.org/tealium/assets/icon-256x256.png?rev=1203811)

# Tealium

 由 [Tealium](https://profiles.wordpress.org/tealium/) 開發

[下載](https://downloads.wordpress.org/plugin/tealium.2.1.22.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/tealium/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/tealium/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/tealium/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/tealium/#developers)

 [技術支援](https://wordpress.org/support/plugin/tealium/)

## 外掛說明

#### Features

Allows users to easily add the Tealium tag without editing any template files.

A data layer is added to your WordPress website containing:

 * Site name
 * Site description
 * Post ID
 * Post date
 * Post categories
 * Post tags
 * All post meta data, including custom fields
 * Search terms
 * Number of search results
 * Current user role

#### About Tealium

Tealium is the leader in enterprise tag management, serving some of the most demanding
customers in the world. Tealium’s web-based services make it easy for digital marketers
to deploy and manage their third-party vendor tags, and then correlate the data 
those tags generate into an actionable source. Using Tealium, organizations can 
streamline their digital marketing operations, improve web site performance, cut
costs, and power their big data initiatives. The company differentiates itself through
ease of use, scale and performance, and fanatical customer support. Select clients
include Petco, A+E Networks, Fox Networks Group, Urban Outfitters, and many more!
More than ever, today’s marketers are turning to digital solutions to improve efficiency
and results.

Tags – commonly known as tracking pixels – are becoming the data collection mechanism
of choice, leaving marketers reliant on them to gather the right data about visitor
activity and take action to improve their experience. But the process of deploying
and managing vendor tags can be a nightmare for marketers, due to the technical 
nature associated with tagging, heavy costs, impact on site performance, and the
dependence of IT resources to make changes. Tealium puts digital marketers in control
of their online solutions, making it easy to add, edit, or remove any vendor without
requesting assistance from IT. In addition, Tealium provides a rich source of all
of an organization’s digital data to help marketers improve the effectiveness of
their customer acquisition campaigns.

## 螢幕擷圖

[⌊The Tealium plugin allows your Tealium tag to be added straight to your site from
your WordPress dashboard.⌉⌊The Tealium plugin allows your Tealium tag to be added
straight to your site from your WordPress dashboard.⌉[

The Tealium plugin allows your Tealium tag to be added straight to your site from
your WordPress dashboard.

[⌊A data object is added to your site containing basic post or page data.⌉⌊A data
object is added to your site containing basic post or page data.⌉[

A data object is added to your site containing basic post or page data.

[⌊The plugin also takes categories and tags...⌉⌊The plugin also takes categories
and tags...⌉[

The plugin also takes categories and tags…

[⌊...and rolls them into the data object.⌉⌊...and rolls them into the data object
.⌉[

…and rolls them into the data object.

[⌊Custom fields and other meta data is also supported.⌉⌊Custom fields and other 
meta data is also supported.⌉[

Custom fields and other meta data is also supported.

[⌊Many existing WordPress plugins make use of meta data, so your data object should
be rich with potential variables.⌉⌊Many existing WordPress plugins make use of meta
data, so your data object should be rich with potential variables.⌉[

Many existing WordPress plugins make use of meta data, so your data object should
be rich with potential variables.

[⌊Advanced settings allow a number of options to be configured and features enabled.⌉⌊
Advanced settings allow a number of options to be configured and features enabled
.⌉[

Advanced settings allow a number of options to be configured and features enabled.

[⌊The bulk export feature allows you to quickly import your WordPress variables 
into Tealium.⌉⌊The bulk export feature allows you to quickly import your WordPress
variables into Tealium.⌉[

The bulk export feature allows you to quickly import your WordPress variables into
Tealium.

## 安裝方式

To install:

 * Install from the WordPress plugin repository, or copy to your wp-content/plugins
   folder.
 * Enable through the plugins section within WordPress.
 * Enter your account/profile/environment settings into ‘Tealium Settings’ under
   Settings in the admin menu.
 * That’s it!

Optional steps:

 * The position of the Tealium tag can be selected.
 * If there are items you wish to exclude from your data object, add the keys as
   a comma separated list.
 * A cache buster can be enabled for content editors.
 * Use the variable bulk export to quickly import your WordPress custom fields into
   Tealium.
 * Choose between sync/async deployments.

## 常見問題集

### What data is currently included in the data object?

 * Site name
 * Site description
 * Post ID
 * Post date
 * Post categories
 * Post tags
 * All post meta data, including custom fields
 * Search terms
 * Number of search results
 * Current user role

### What are the Tealium tag location options?

 * After opening body tag (recommended)
 * Header – Before closing head tag
 * Footer – Before closing body tag
 * Immediately after the opening head tag

### Is WooCommerce supported?

WooCommerce stores product information as meta data, so by default your data object
will be rich with data on product pages.

Version 1.3 adds basic support for cart contents information in the data object.

### Can I add to the data layer dynamically using PHP code?

This can be achieved calling the ‘tealium_addToDataObject’ action from your themes
functions.php file or a separate plugin.

For more information see the [action examples on GitHub](https://github.com/ianhampton/Tealium-WordPress-Plugin#action-examples).

### Can I automatically switch between Tealium environments on my dev/live website?

This can be achieved by conditionally modifying the Tealium tag code by calling 
the ‘tealium_tagCode’ action from your themes functions.php file or a separate plugin.

For more information see the [action examples on GitHub](https://github.com/ianhampton/Tealium-WordPress-Plugin#action-examples).

### How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program.
The Patchstack team helps validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/vdp/778de173-17b9-47dd-b01c-e9bacd7ce869)

## 使用者評論

![](https://secure.gravatar.com/avatar/932263a22af7d34a7b2af234cde76316b107a4c1e7d238bda89b1393a6e80379?
s=60&d=retro&r=g)

### 󠀁[Very useful for GTM](https://wordpress.org/support/topic/very-useful-for-gtm/)󠁿

 [satoriit](https://profiles.wordpress.org/satoriit/) 2021 年 2 月 2 日

I was easily able o use the data that is set and push it to GTM data layer, thank
you. Not sure how Tealium could help us, if you feel like summarising in a sentence
then feel free to reply to this review. Thank you

![](https://secure.gravatar.com/avatar/65aa1d4bbf45be46513ff510a376828ba123e1cf2a6d8af7a4102d9389e643d4?
s=60&d=retro&r=g)

### 󠀁[Awesome Plugin](https://wordpress.org/support/topic/awesome-plugin-2165/)󠁿

 [arippberger](https://profiles.wordpress.org/arippberger/) 2016 年 9 月 3 日

Makes integrating WordPress and Tealium easy.

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/tealium/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Tealium〉的開發相關工作。

參與者

 *   [ Tealium ](https://profiles.wordpress.org/tealium/)

〈Tealium〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/tealium/contributors)
為這個外掛做出的貢獻。

[將〈Tealium〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/tealium)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/tealium/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/tealium/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/tealium/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/tealium/)。

## 變更記錄

#### 2.1.22

 * PHP 8+ bugfix

#### 2.1.21

 * Alter sanitization method following feedback from Patchstack

#### 2.1.20

 * Alter sanitization method following feedback from Patchstack

#### 2.1.19

 * PHP 8 bugfix

#### 2.1.18

 * Added input sanitization to tag config fields provided through the admin console.
 * The ‘Advanced Tag Code’ feature is now disabled if ‘DISALLOW_FILE_EDIT’ is turned
   on within wp-config. Please check if this combination of settings applies before
   upgrading.

#### 2.1.17

 * Bugfix – Bugfix for PHP 8.2 – provided by @anjoalre.

#### 2.1.16

 * Bugfix – Outdated use of join() on admin page impacting PHP 8 users.
 * Bugfix – Corrected issue where user roles were assumed to begin at 0.

#### 2.1.15

 * Fixed a bug where the iQ tag was inserted into some sitemap plugins. Thanks to
   peytz.dk for providing the fix.

#### 2.1.14

 * Added the role of the current WP user to the data layer. This will allow role-
   based load rules in TiQ.

#### 2.1.13

 * WooCommerce product data updates.

#### 2.1.12

 * Add post ID to data layer.

#### 2.1.11

 * AMP bug fix. Workaround for a bug in a 3rd-party AMP plugin.

#### 2.1.10

 * Add support for alternative utag_data namespace.
 * Fix issue with tag injection despite AMP.

#### 2.1.9

 * Add translation support and template.
 * Move data layer above sync file.

#### 2.1.8

 * Fix issues with WooCommerce support.
 * Bug fix with key name conversion. Thank you [mikeschinkel](https://github.com/mikeschinkel).

#### 2.1.7

 * Improve search result count performance.

#### 2.1.6

 * Switch from ‘Data Sources’ to ‘Variables’ to align with TiQ.
 * Update the order that notes and aliases appear in bulk export.

#### 2.1.5

 * Fix bug where Tealium tag was served on admin pages in more recent versions of
   WP.
 * Make function names less generic. Thank you [arippberger](https://github.com/arippberger).
 * Fix admin message styling issue.
 * Add more order data for WooCommerce.

#### 2.1.4

 * Added the option to exclude WordPress meta data.

#### 2.1.3

 * Add tag and category archive specific page types and post titles.
 * Added the option to use EU only CDN nodes.

#### 2.1.2

 * Change name parameter location to match TiQ update.

#### 2.1.1

 * Added pretty printing of JSON object for older versions of PHP.
 * Add name parameter on bulk variable export.

#### 2.1

 * Added DNS Prefetching option

#### 2.0

 * UI makeover.
 * Quickly deploy Tealium by providing account/profile/environment details.
 * Data source export.
 * Cache buster for content editors.
 * Support for utag.sync.js file.
 * Support for sync/async deployments.

#### 1.5.1

 * Fixed opening head tag bug.

#### 1.5

 * Added search result count to data object.
 * Added actions to allow the data object and Tealium tag to be modified by theme/
   plugin developers.
 * Added top of opening head tag location setting.
 * Configurable option for Camel Case or underscore data layer style.

#### 1.4

 * Exclusions bug fix.

#### 1.3

 * Tag location is now configurable.
 * Basic support for WooCommerce cart data.
 * Plugin refactored to support translations.

#### 1.2

 * Added the ability to exclude keys from the data object.
 * The JSON object will now be pretty-printed where PHP support allows.

#### 1.1

 * Migrate from capabilities to roles.

#### 1.0

 * Initial release.

## 中繼資料

 *  版本 **2.1.22**
 *  最後更新 **10 個月前**
 *  啟用安裝數 **700+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  語言
 * [English (UK)](https://en-gb.wordpress.org/plugins/tealium/) 及 [English (US)](https://wordpress.org/plugins/tealium/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/tealium)
 * 標籤:
 * [data layer](https://tw.wordpress.org/plugins/tags/data-layer/)[data object](https://tw.wordpress.org/plugins/tags/data-object/)
   [tag management](https://tw.wordpress.org/plugins/tags/tag-management/)[tag manager](https://tw.wordpress.org/plugins/tags/tag-manager/)
 *  [進階檢視](https://tw.wordpress.org/plugins/tealium/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/tealium/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/tealium/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/tealium/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/tealium/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/tealium/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tealium/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/tealium/reviews/)

## 參與者

 *   [ Tealium ](https://profiles.wordpress.org/tealium/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/tealium/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://tealium.com)