The powerful feature Hosted Data Layer (HDL) just got an upgrade. In addition to hosting data layer objects that supplement your on-page data layer using the Hosted Data Layer extension, HDL now supports the hosting of JSON files for use with a variety of integrations.
Hosted Data Layer was created to offer a cloud-based solution for supplementing the data layer object of your website. This allowed valuable data that was stuck in offline or server-side systems to become accessible to your web pages in real-time.
Until now, HDL was limited to use with the Hosted Data Layer extension and for the sole purpose of supplementing the on-page data layer. With this new release, HDL is being expanded to support JSON files. JSON is a versatile data format that is used in a wide variety of internet applications and integrations between systems.
How Does It Work?
Use the Hosted Data Layer API to upload your JSON files, then access those files with the corresponding URL on the Tealium Multi-CDN.
Upload JSON Files
The HDL API now supports a
file-type parameter that accepts two values:
json. Simply add this parameter to your API requests to manage JSON files e.g.,
Access JSON Files
To retrieve the uploaded JSON files simply add the
.json file extension to the hosted URL location e.g.,
Use Case - AMP
One notable use case for hosted JSON files is the implementation of analytics tracking within AMP sites. AMP offers a module called
For full details, read more about Hosted Data Layer: