Hosted Data Layer objects
Create a data layer object or JSON file on Tealium’s servers.
This is an older version of the current Tealium Hosted Data Layer API.
Creating a Hosted Data Layer object
Use the following steps to create a 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.
```json
{ “product_category” : [“Accessories”], “product_brand” : [“Acme”], “product_sku” : [“GEN-PRD-BLU”], “product_has_free_shipping” : [“0”], “product_has_instore_pickup” : [“1”] } ```
-
Set the file name according to the naming guidelines, e.g. “prod123456.json”.
-
Make an HTTPS POST request to upload the object to Tealium.
-
(Optional) Preview the uploaded JSON URL of the following format:
https://tags.tiqcdn.com/dle/{account}/{profile}/{dl_id}.js
The account name, profile name, and dl_id
names combined should not exceed 250 characters.
This page was last updated: March 8, 2023