I use aquafaba as an egg replacer. It's my personal favorite egg substitute because has such a similar consistency to real eggs, which is key for gluten-free cookies. If you leave out the aquafaba, your cookies may be flatter. You could also try an egg replacer like the product from Bob's Red Mill or make a flax egg with a tablespoon of ground flax meal and 1.5 tablespoons of water.