Create a data layer object or JSON file on the Tealium’s servers.
Create a Hosted Data Layer object
Use the following steps to create a hosted data layer object:
Define the new variables in a flat JSON file, as shown in the following example:
The JSON payload should not exceed 1 MB.{ "product_category" : ["Accessories"], "product_brand" : ["Acme"], "product_sku" : ["GEN-PRD-BLU"], "product_has_free_shipping" : ["0"], "product_has_instore_pickup" : ["1"] }Save the file with a name following the naming guidelines.
Example:prod123456.json
Theaccount,profile, anddatalayer_idnames combined should not exceed 250 characters.Make an HTTPS POST request to upload the hosted data layer object to Tealium.
(Optional) Type in the following URL to preview the uploaded data layer object:
https://tags.tiqcdn.com/dle/{account}/{profile}/{datalayer_id}.js
For JSON files, use the .json file extension.
This page was last updated: June 21, 2024