BuilderIO / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
https://partytown.builder.io
MIT License
12.88k stars 427 forks source link

Support amazon publisher tag #348

Open vip30 opened 1 year ago

vip30 commented 1 year ago

Is your feature request related to a problem? Please describe. After loading the apstag (https://c.amazon-adsystem.com/aax2/apstag.js) inside partytown, it throw error image

and I wonder is partytown support function in function? (eg: googletag.pubads().refresh)

Reproduce url: https://replit.com/@vip301/Amazon-Publisher-Tag-Partytown-Example

Seems currently the forward array are not quite supporting this scenario

Thanks a lot!

pm-harshad-mane commented 1 year ago

@vip30 Please share the test page so that experts may be able to suggest the code change or config change.