I have placed an HtmlElement on my wix page, and in there, there is a code that integrates with my Google Analytics code. On page load, I am setting an id with google analytics, and then creating a custom tracker. All of that code needs to be executed on page load (inside $w.onReady(...))
Problem is that $w.onReady(...) is not firing on page load and is not setting a unique client id that I am sending via URL. It is also not creating my custom GA tracker (which will be created if $w.onReady(...) fires.
Worst is, that unless and until the page loads, wix does not allow me put a debug point on any code that is inside $w.onReady(...) because it only opens the code file to debug once the whole page is loaded. Debugging kind of becomes useless after that.