Winning strategy (Maybe not optimal. Very grindy)
Start with 4 mages. The one that costs 600. Yes don't care that you lose your starting melee fighters or that your golem takes a bit of damage as you wait and buy the 4 mages, buying a new mage each 600.
Just wait. With this setup and at this stage you are invincible. You could leave it running there all night to grind gold if you want.
Advance when you're ready and clear stage 1.
Now for the rest of the stages, you can use mages early on but later stages you'll want to switch to that bottom-right expensive fighter, a bunch of those dudes, send 'em out.
Then whenever you're short on cash, play stage 1 again, grind the cash, play the next stage, throw out those expensive dudes and so forth. You can also grind on other stages but you may not have an invincible setup you can just set and forget. If your golem is ever taking damage, even occasionally, means you cannot just leave this setup running while you walk away.
The game does save after each stage but if you ever lose, you lose ALL progress, so it is very important to never lose a battle. Especially if you've spent a lot of time grinding.
Better to over-grind and send in way overpowered everything and completely overdo it than to risk a loss.
Before playing the final stage, make sure to refresh your browser, that way any possible medal connection issues should be not a problem. Then proceed. And you must wait for the entire ending and the game does go back to title screen, before medal is awarded.