Install
This article shows how to install Tealium in your Magento® 2 system using the Tealium iQ Tag Management extension from the Magento Marketplace.
Requirements
The following items are required:
- An active Tealium iQ Tag Management account
- Your Tealium account ID
- Your Tealium profile name
- The Tealium environment to use (prod, qa, dev, or custom)
How it Works
In its current state, Tealium for Magento 2 is an implementation of minimal boilerplate code for implementing and extending universal data objects (UDOs) for various page types. It relies heavily on Magento’s prescribed dependency injection system and layout systems. Included is a simple script that will scaffold out boilerplate code when creating a new UDO. It allows you to specify any UDOs that it may extend, and which pages of the site the new UDO should appear on. When finished, you’re left with a scaffolded template that needs to be filled in with any data specific logic for your particular use case.
To learn more, see the Introduction to the Data Layer.
Learn more in the Magento Documentation.
Install
Install Magento 2.x by copying the Tealium folder from Github to the app/code within your Magento folder as follows:
sudo php bin/magento setup:upgrade
sudo php -d set_time_limit=3600 -d memory_limit=1024M bin/magento setup:di:compile
Configure
To configure Magento 2, perform the following steps:
- In the admin panel under store configuration, set the options for the extension: Stores > Configuration > Tealium > Tag Management.
- Enable the extension and enter your iQ account, profile, and environment.
Release Notes
3.1.0
- Update for support of Magento 2.4
- Add tracking for user-submitted product reviews
- Bug fixes
3.0.2
- Add support for Magento 2.3.3
3.0.1
- Add support for Magento 2.2.8, 2.3.0, and 2.3.1-2
2.0.0
- Updated composer.JSON
- Updated readme
- Releasing all previous commits
1.0.1
- 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
This page was last updated: June 22, 2023