This article shows how to install Tealium in your Magento® 2 system using the Tealium iQ Tag Management extension from the Magento Marketplace.
The following items are required:
In its current state, Tealium for Magento 2 is an implementation of some minimal boiler plate 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 boiler plate 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 just 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 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
In the admin panel under store configuration, set the options for the extension: Stores > Configuration > Tealium > Tag Management. Enable the extension and provide your iQ account, profile, and environment.