If you are looking for an encoder directly attached to the CIM motor I would recommend
AndyMark CIMcoder but it is out of stock for another 2 days, I would talk to your team to see if this would work for you, it sounds more like what you should do if you want to be safe on inspection rules instead of using glue to attach an encoder which could move