Expand my Community achievements bar.

Adobe Launch Migration Custom code

Avatar

Community Advisor

Hello everyone,

 

I am analyzing the migrated custom code from DTM to Launch. I would like to ask you information about these two codes

 

1)

 if (digitalData.hasOwnProperty("_dtm")) {
delete digitalData._dtm;
}

 

2)

digitalData._dtm.linkLabel = linkLabel;
digitalData._dtm.linkEvents = linkEvents;
digitalData._dtm.partner = {};

 

Basically this is custom code for Form Submission and my question are 1) shall i replace/eliminate point 1)? 2) Shall I change digitalData._dtm.....? 3) By using s.tl() for  Send Beacon, Link Type= Custom Link must be linked to digitalData._dtm.linkEvents or digitalData._dtm.linkLabel ?

Thanks

0 Replies