- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
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.
Use the Hosted Data Layer API to upload your JSON files, then access those files with the corresponding URL on the Tealium Multi-CDN.
The HDL API now supports a file-type
parameter that accepts two values: javascript
(default) and json
. Simply add this parameter to your API requests to manage JSON files e.g., ?file-type=json
.
To retrieve the uploaded JSON files simply add the .json
file extension to the hosted URL location e.g., https://tags.tiqcdn.com/dle/your_account/main/uploaded-json-file.json
One notable use case for hosted JSON files is the implementation of analytics tracking within AMP sites. AMP offers a module called amp-analytics
that can load remote JSON configuration files that specify how to track user behavior within an AMP page. This allows you to implement a vendor's data collection solution within an AMP page without the need for Javascript.
For full details, read more about Hosted Data Layer:
Copyright All Rights Reserved © 2008-2023