adobe / adobe/adobe-client-data-layer

How to create a Data Element on Adobe Launch? Using ACDL.

Open
#128 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
122
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I'm a beginner on ACDL data layer and familiar with only Digitaldata data layer.

And I'm very much interested of shifting to the new ACDL data layer and bit confused of creating data elements using ACDL when having unique id's on each section like teaser,imagecluster, page properties, etc.

Now I've to create a dataelement for all the properties like, type, ctalabel, ctalink,nameHeader,etc.

Could you please guide me for a beginner, how to create dataelement on Adobe Launch for the mentioned properties?

My code is similar to this:

_Samplecode:_

`imagecluster-5dffca88d6:
@type: "xendlur-us/components/imagecluster"
CtaLabel: "Shop Archex® Collection"
CtaLink: "https://example.com/test"
dc:description: "

Advanced Cleansing Functionality

\r\n

Designed with the clean lines of the Purist collection, this Purist multifunction showerhead provides three distinct sprays—full coverage, pulsating massage, or silk spray.

\r\n"
nameHeader: "Simplixe®"
parentId: "page-4b6abb4001"
repo:modifyDate: "2021-01-08T09:35:48.323Z"`

`teaser-e2a5cbd6d7:
@TyPe: "xendlur-us/components/teaser"
dc:description: "

Designed with the clean lines of the Purist collection, this Purist multifunction showerhead provides three distinct sprays—full coverage, pulsating massage, or silk spray.

\r\n"
dc:title: "

xendlur®

\r\n"
parentId: ""
repo:modifyDate: "2021-04-21T08:05:08Z"
xdm:linkURL: "#"`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.