How would you actually call my HelloWorld() from a button? Perhaps, it is not possible with Wix/Velo? Next thing I was going to try was creating a custom element, but this certainly sounds like an overkill and may not work either…
NOTE: I have logged a request with Wix support, just hoping for a quick and precise answer here.
I cannot define a function where I want to. My function MUST BE defined in the (it is a Google Ads gtag_report_conversion(url) function, and it calls other functions).
I don’t understand what this means: “if you want to call a function write it in either your Public, Backend”, but i’ll try to move all this JS to those areas(?) and see what happens. Just a shame a simple functionality like changing raw HTML is not available in Wix.
This is very sad that no one knows… Vevo support is not answering. Do I need to use some other means, or Tag Manager, or this is just impossible in Wix? People must have solved it somehow. So far I see only unsolved cases on the internet…