Gamification and Spin Wheel pop ups for discount codes are way more effective than traditional "enter email for code" pop-ups. Optimonk is a good example. https://www.optimonk.com/
Could be exit pop or timed to show every visitor, etc.