This is the one I ordered from Amazon and the old unit.

I removed the ‘racket head’ and cut the wires leading to the metal grids. These grids are in a three part sandwich with one side of the circuit connected to the two outer layers and the other wire to the middle layer. I had seen on line that it is the middle layer wire that needs to be connected to the dispenser - in this model that’s the red wire.

I had removed the dispenser and the crocodile clip from the old unit and now soldered them to the wires in the bug zapper and used some heatshrink for insulation. After reassembly of the handle which becomes the battery holder, I sealed the end with hot glue. Of course for a more traditional static applicator you can use a metal tea strainer instead of the dispenser I used.

And yes it works.