내 커뮤니티 업적 표시줄을 확대합니다.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Improve DTM Code during Adobe Launch Migration

Avatar

Level 9

Hello everyone,

I am migrating DTM to Launch and I would like to remove custom code was implemeted in DTM. Do you have any link or guide or suggestion to clean DTM code?

In addition, the custom code handles jquery, any suggestion?

Thanks.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

This will require you to look through the Extensions catalog to see if there is a public extension that does what you want.

If you can't find a publicly available extension, then you can build your own private extension to do what your custom code does.

Personally, if there isn't a publicly available extension, I normally leave the custom code alone. "If it ain't broke, don't fix it." Also, building an extension requires you to have some programming knowledge to build an extension in the way that a nodejs module is built. If you have no idea how to build such a module, then you need to invest time to learn how to do so, before you can even start building that extension.

Also, jQuery will continue to work just fine, as long as you include it in your web page itself or via a Launch rule that runs at Library Loaded or DOM Ready.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

This will require you to look through the Extensions catalog to see if there is a public extension that does what you want.

If you can't find a publicly available extension, then you can build your own private extension to do what your custom code does.

Personally, if there isn't a publicly available extension, I normally leave the custom code alone. "If it ain't broke, don't fix it." Also, building an extension requires you to have some programming knowledge to build an extension in the way that a nodejs module is built. If you have no idea how to build such a module, then you need to invest time to learn how to do so, before you can even start building that extension.

Also, jQuery will continue to work just fine, as long as you include it in your web page itself or via a Launch rule that runs at Library Loaded or DOM Ready.

Avatar

Level 9
@yuhuisg I want to reduce the Custom Code and use Adobe Launch capabilities. Do you have any guide to be followed?

Avatar

Community Advisor

@Luca_Lattariniit will be as I've stated in my answer: look for a corresponding extension for each of your Custom Code. It'll be best if you know what are all of the custom codes in your Launch property, then you should be able to narrow down the extensions that you need.

For example, if you have several custom codes that track to Facebook, then you need one extension for Facebook, then update all of the custom code actions to use that Facebook extension's actions instead.