Expand my Community achievements bar.

SOLVED

Improve DTM Code during Adobe Launch Migration

Avatar

Community Advisor

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 Accepted Solution

Avatar

Correct answer by
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.

View solution in original post

3 Replies

Avatar

Correct answer by
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

Community Advisor
@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.