As others have said, get an attorney to write up this agreement, don’t use the napkin at the table.
It’s really your decision, but the bonus should be off the profit each month. Hopefully you have a bookkeeper that will do this for you ?? Also - if you can swing it - put your bonus into your...