Here's what I do...
Take the female and hold her where she can see the male and he can see her but they can't get at each other. Watch the reactions.
If the male inflates his body and gular pouch, holds one hand up close to his chin, coils and uncoils his tail, etc....shows agression towards her...don't put her into his cage. He is not recognizing her as a female to mate with.
BTW...sometimes the male will see you holding her and his aggressive reactions are not directed to her but directed at you....so you have to allow him to be calm before you put her into his cage.
If she turns almost black in the background, hisses, gapes, sways back and forth, etc. then she is non-receptive/gravid...so don't put her into his cage.
If she stays her calm green colors, walks slowly away from him and maybe holds her body close to the branch/your arm/whatever she is sitting on...then she is receptive and can be placed into his cage PROVIDING THAT HIS REACTIONS TO HER ARE ACCEPTABLE.
If he inflates his body, brightens his colors (but doesn't hold his hand up and doesn't coil and uncoil his tail)...then he is accepting her as a female that he should mate with.
Even after they are together, I watch them to see that they are still friendly to each other.
I leave the female in with the male until she starts to reject him (turns dark, hisses, etc.). Its important to get her out as soon as you see this happening.
Good luck!