Expand my Community achievements bar.

SOLVED

WebSDK Modify the XDM object directly

Avatar

Level 1

Is there a way to implment the WebSDK XDM without having to create a data element for each node / item of data  on the XDM schema and a rule for every event?  We don't use an event driven DL rather our rules are driven by DIrect Call Rules. The way that Adobe is suggesting we would need 100s of rules and data elements to maintain.

 

Is there a way that I could use custom code to add data directly onto the XDM schema before I use the sendEvent? I would like to use the WebSDK extension as much as possible - but just be able to manipulate the XDM schema directly if possible.

 

PS: I am familiar with the AA via AEP Web SDK extension, but would rather not use a third party extension.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @timytim75 

You can use a variable data element to achieve this goal a while using a variable data element you don't have to create multiple data element for each event rather you can use update variable action type on the same DE before sending it to AEP in different rules(more like set variables for web SDK).

Below are tutorials and documentations for reference.

action-types -> update-variable 

Upgrading to Modernized Data Collection for Adobe Analytics with Web SDK - YT Tutorial 

AA to web SDK migration - YT Tutorial 

 

@jayakrishnaaparthasarathy 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @timytim75 

You can use a variable data element to achieve this goal a while using a variable data element you don't have to create multiple data element for each event rather you can use update variable action type on the same DE before sending it to AEP in different rules(more like set variables for web SDK).

Below are tutorials and documentations for reference.

action-types -> update-variable 

Upgrading to Modernized Data Collection for Adobe Analytics with Web SDK - YT Tutorial 

AA to web SDK migration - YT Tutorial 

 

@jayakrishnaaparthasarathy