Highlighted

Setting dependency on an Extension

Rookie Contributor

Hey there,

 

We are creating our custom library inside an Extension and another extension that calls this library. Both of them are just javascript codes.

 

We are wondering if

 

1. Are extensions the best practice to create custom javascript codes and inject it into the page

2. If it is, how do I add functionality in extension that waits for another extension to finish before executing the other ones.

 

Hope anyone can help me with this.

 

 

Regards,

Felix

1 REPLY 1
Highlighted

Setting dependency on an Extension

Gold Contributor
Gold Contributor

Hello @felixagung,

I would suggest you to have a look at the below document which helps you to know the Order of operations intended to Extension.

https://community.tealiumiq.com/t5/iQ-Tag-Management/Understanding-Order-of-Operations-utag-js/ta-p/...

Hope it helps!

Thanks!!!