PHPackages                             tealium/tags - 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. tealium/tags

ActiveMagento2-module

tealium/tags
============

4.1.0(5mo ago)717.8k↑1400%18[3 issues](https://github.com/Tealium/integration-magento2/issues)[1 PRs](https://github.com/Tealium/integration-magento2/pulls)proprietaryPHPPHP ^7.4 || ^8.0

Since Jul 13Pushed 5mo ago25 watchersCompare

[ Source](https://github.com/Tealium/integration-magento2)[ Packagist](https://packagist.org/packages/tealium/tags)[ RSS](/packages/tealium-tags/feed)WikiDiscussions master Synced today

READMEChangelog (10)DependenciesVersions (9)Used By (0)

[![image](https://private-user-images.githubusercontent.com/3696386/290654826-0a2e3179-498c-487a-9c83-0e8376b87e28.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQyNTE2NTcsIm5iZiI6MTc3NDI1MTM1NywicGF0aCI6Ii8zNjk2Mzg2LzI5MDY1NDgyNi0wYTJlMzE3OS00OThjLTQ4N2EtOWM4My0wZTgzNzZiODdlMjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjNUMDczNTU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzlkMDdmNWE1ZGM2MjUyOWMwMWY1ODhlYTZmZTkyMzU1NjA1ZDRmODU5NjJkNmI2MWQzNjI3NzE4MDgxZDFhNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Jf1K8dsOJaDuecrmV6uHaL7wem4DFo7ni8R0z1y8nXY)](https://private-user-images.githubusercontent.com/3696386/290654826-0a2e3179-498c-487a-9c83-0e8376b87e28.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQyNTE2NTcsIm5iZiI6MTc3NDI1MTM1NywicGF0aCI6Ii8zNjk2Mzg2LzI5MDY1NDgyNi0wYTJlMzE3OS00OThjLTQ4N2EtOWM4My0wZTgzNzZiODdlMjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjNUMDczNTU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzlkMDdmNWE1ZGM2MjUyOWMwMWY1ODhlYTZmZTkyMzU1NjA1ZDRmODU5NjJkNmI2MWQzNjI3NzE4MDgxZDFhNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Jf1K8dsOJaDuecrmV6uHaL7wem4DFo7ni8R0z1y8nXY)

Tealium Magento 2 Extension
===========================

[](#tealium-magento-2-extension)

Introduction
------------

[](#introduction)

Tealium's official integration for TiQ on the Magento 2 framework. This extension provides a robust implementation of minimal boilerplate code for implementing and extending universal data objects (UDOs) across various page types. Leveraging Magento's prescribed dependency injection and layout systems, the module simplifies the process of creating and extending UDOs.

Included is a script that scaffolds out boilerplate code for new UDOs. It allows you to specify UDO extensions and the pages where the new UDO should appear. Once generated, you're left with a template ready to be filled in with data-specific logic for your particular use case.

Get started understanding UDOs and data layer concepts at [Tealium Community](https://community.tealiumiq.com/t5/Getting-Started/Getting-Started-with-The-Data-Layer/ta-p/9503).

For Magento documentation, refer to [Magento DevDocs](http://devdocs.magento.com/).

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

[](#requirements)

Ensure you have the following:

- Active Tealium IQ Account
- Tealium Account ID (usually your company name)
- Tealium Profile name associated with the app
- Tealium environment (prod, qa, dev, custom)

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

[](#installation)

### Manual Install with Ubuntu

[](#manual-install-with-ubuntu)

1. **Enable Maintenance Mode:** Enable maintenance mode before installing the extension to avoid any user issues. To enable maintenance mode, run the following command:

    ```
    php bin/magento maintenance:enable
    ```
2. **Copy the Tealium Folder:**Copy the Tealium folder from GitHub to `app/code/Tealium/Tags` within your Magento folder. If `app/code/Tealium/Tags` doesn’t exist, create it.
3. **Run the Following Commands to Update Changes:**

    ```
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
    ```
4. **Disable Maintenance Mode:** After the installation is complete, disable maintenance mode to allow users to access the site. To disable maintenance mode, run:

    ```
    php bin/magento maintenance:disable
    ```

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

[](#configuration)

In the admin panel under store configuration (`Stores -> Configuration -> Tealium -> Tag Management`), set the extension options. Enable the extension and define your TiQ account, profile, and environment information.

### Basic Config Requirements

[](#basic-config-requirements)

**Account, Profile, Environment**

[![image](https://private-user-images.githubusercontent.com/3696386/291715643-574f4aea-3f34-43a6-bc14-8db3cd43f6c7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQyNTE2NTcsIm5iZiI6MTc3NDI1MTM1NywicGF0aCI6Ii8zNjk2Mzg2LzI5MTcxNTY0My01NzRmNGFlYS0zZjM0LTQzYTYtYmMxNC04ZGIzY2Q0M2Y2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CZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.pvXyydBHbcMvYnlosss4es4LJLVZvy2BgHLrMUb_83Y)

**First Party Tracking**

If you are using a first party domain place your client domain here

[![image](https://private-user-images.githubusercontent.com/3696386/291715926-06a139d0-3502-4a6a-b10c-93354f170a00.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQyNTE2NTcsIm5iZiI6MTc3NDI1MTM1NywicGF0aCI6Ii8zNjk2Mzg2LzI5MTcxNTkyNi0wNmExMzlkMC0zNTAyLTRhNmEtYjEwYy05MzM1NGYxNzBhMDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjNUMDczNTU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTVkODA1MzVlN2M5NDNmMjI1ODJiMjlkODFlMjEzMTFhZTRjM2YyMGUxMGY0YjkwNzFmMDg4YzdhYTcxZjkzOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Y6zq-ipiqkEnHwFUZz7JnTwoa8bKttgFpA0g6up-YHw)](https://private-user-images.githubusercontent.com/3696386/291715926-06a139d0-3502-4a6a-b10c-93354f170a00.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQyNTE2NTcsIm5iZiI6MTc3NDI1MTM1NywicGF0aCI6Ii8zNjk2Mzg2LzI5MTcxNTkyNi0wNmExMzlkMC0zNTAyLTRhNmEtYjEwYy05MzM1NGYxNzBhMDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjNUMDczNTU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTVkODA1MzVlN2M5NDNmMjI1ODJiMjlkODFlMjEzMTFhZTRjM2YyMGUxMGY0YjkwNzFmMDg4YzdhYTcxZjkzOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Y6zq-ipiqkEnHwFUZz7JnTwoa8bKttgFpA0g6up-YHw)

**Email Hash**

[![image](https://private-user-images.githubusercontent.com/3696386/291716061-6b4c39b2-e496-40bd-bbd1-510ddab86b13.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQyNTE2NTcsIm5iZiI6MTc3NDI1MTM1NywicGF0aCI6Ii8zNjk2Mzg2LzI5MTcxNjA2MS02YjRjMzliMi1lNDk2LTQwYmQtYmJkMS01MTBkZGFiODZiMTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjNUMDczNTU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjgxMDczNTcwNjA0YmIxNDAwMjQ5OTA4ODYyN2M0MGQxMzJiNzY4MWQzZTU5OGViOGMwNzBlMWUwYTkxMzEwZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.9yQP7p5f1VJWseZGteEhHx09R3dQvZeBxklJp6pUNj0)](https://private-user-images.githubusercontent.com/3696386/291716061-6b4c39b2-e496-40bd-bbd1-510ddab86b13.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQyNTE2NTcsIm5iZiI6MTc3NDI1MTM1NywicGF0aCI6Ii8zNjk2Mzg2LzI5MTcxNjA2MS02YjRjMzliMi1lNDk2LTQwYmQtYmJkMS01MTBkZGFiODZiMTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjNUMDczNTU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjgxMDczNTcwNjA0YmIxNDAwMjQ5OTA4ODYyN2M0MGQxMzJiNzY4MWQzZTU5OGViOGMwNzBlMWUwYTkxMzEwZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.9yQP7p5f1VJWseZGteEhHx09R3dQvZeBxklJp6pUNj0)

Change Log
----------

[](#change-log)

- 4.1.0 Release (Magento 2.4.8 / PHP 8.4 Update)

    - PHP code updates for compliance with PHP 8.4
- 3.2.0 Release (Magento 2.4.6 / PHP 8.1 Update)

    - FPD (First Party Domain) support
        - Optional FPD (First Party Domain) configuration. [FPD Tealium Docs](https://docs.tealium.com/iq-tag-management/administration/first-party-domains/about/)
    - Update older PHP code for compliance with PHP 8.1+
    - CSP (Content Security Policy) updates for Magento 2.4.6
        - Update the `csp_whitelist.xml` file in the extension's `etc` directory (`public_html/integration-magento/etc`).
        - Update policies ("script-src," "connect-src," and "img-src") to include your FPD domain.
    - Newsletter signup Event
    - SHA256 encryption option on customer\_email UDO variable
        - Email Hashing: If set to true, SHA256() will be applied to email addresses in "customer\_email" params.
    - Bug Fixes
- 3.1.0 Release

    - Update for support of Magento 2.4
    - Add tracking for user-submitted product reviews
    - Bug fixes
- 3.0.2 Release

    - Add support for Magento 2.3.3
- 3.0.1 Release

    - Add support for Magento 2.2.8, 2.3.0, and 2.3.1-2
- 2.0.0 Release

    - Updated composer.JSON
    - Updated readme
    - Releasing all previous commits
- 1.0.1 Release

    - Default UDO (utag\_data JSON object in page source) deployed via Magento Extension to match Tealium iQ TMS Data Layer bundle
    - Configure account info in admin panel
    - Extend and customize UDOs

Sharing Feedback
----------------

[](#sharing-feedback)

If you should experience any issues with this plugin, please report them as issues directly to the repository. In your submitted issue, please include which version of Magento you reference, e.g. 2.4.1. Tealium also accepts enhancement requests, if you find there are features you wish to see supported in future releases. Please use the *enhancement* label on your submitted issue.

License
-------

[](#license)

Use of this software is subject to the terms and conditions of the license agreement contained in the file titled "LICENSE.txt". Please read the license before downloading or using any of the files contained in this repository. By downloading or using any of these files, you are agreeing to be bound by and comply with the license agreement.

---

Copyright (C) 2012-2025, Tealium Inc.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance60

Regular maintenance activity

Popularity31

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~657 days

Total

5

Last Release

178d ago

Major Versions

2.0.4 → 3.1.02020-11-13

3.1.0 → 4.1.02025-09-25

PHP version history (3 changes)2.0.0PHP ~5.5.0|~5.6.0|~7.0.0|7.1.\*

3.1.0PHP ~7.0.13|~7.1.0|~7.2.0|~7.3.0|~7.4.0

4.1.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b2aae0670ebc0572c0d6a65a8bafdb04f37aa2368ecb506a4ade6080409ac9ce?d=identicon)[Tealium](/maintainers/Tealium)

---

Top Contributors

[![onebricktech](https://avatars.githubusercontent.com/u/1030980?v=4)](https://github.com/onebricktech "onebricktech (15 commits)")[![KyleBrierley](https://avatars.githubusercontent.com/u/19997561?v=4)](https://github.com/KyleBrierley "KyleBrierley (11 commits)")[![tygavin](https://avatars.githubusercontent.com/u/1738148?v=4)](https://github.com/tygavin "tygavin (10 commits)")[![corbinspicer68](https://avatars.githubusercontent.com/u/6631185?v=4)](https://github.com/corbinspicer68 "corbinspicer68 (8 commits)")[![ca3rus](https://avatars.githubusercontent.com/u/4841299?v=4)](https://github.com/ca3rus "ca3rus (7 commits)")[![jaredhislop30](https://avatars.githubusercontent.com/u/37841975?v=4)](https://github.com/jaredhislop30 "jaredhislop30 (3 commits)")[![milsom](https://avatars.githubusercontent.com/u/60156?v=4)](https://github.com/milsom "milsom (2 commits)")[![SAN1TAR1UM](https://avatars.githubusercontent.com/u/910933?v=4)](https://github.com/SAN1TAR1UM "SAN1TAR1UM (2 commits)")[![dfelton](https://avatars.githubusercontent.com/u/2659558?v=4)](https://github.com/dfelton "dfelton (1 commits)")[![tomfordrumm](https://avatars.githubusercontent.com/u/2900569?v=4)](https://github.com/tomfordrumm "tomfordrumm (1 commits)")[![colep-tealium](https://avatars.githubusercontent.com/u/52259278?v=4)](https://github.com/colep-tealium "colep-tealium (1 commits)")[![vishalsingh777](https://avatars.githubusercontent.com/u/52345758?v=4)](https://github.com/vishalsingh777 "vishalsingh777 (1 commits)")[![jonathan-musselwhite](https://avatars.githubusercontent.com/u/97297721?v=4)](https://github.com/jonathan-musselwhite "jonathan-musselwhite (1 commits)")[![Fulmenef](https://avatars.githubusercontent.com/u/17000257?v=4)](https://github.com/Fulmenef "Fulmenef (1 commits)")

### Embed Badge

![Health badge](/badges/tealium-tags/health.svg)

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

PHPackages © 2026

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