Sending messages to webgl game on website(wix)

Hi, I am trying to make a game that has functions that run when called from another application.
Is there a way to call functions from an embeded webgl unity game in wix?

I think yes. Firstly wix supports javascript, secondly you can call Unity scripts functions from JavaScript. It should works fine.