Typically, attenuators are installed at the receiver end because of the back reflections these devices may cause. Too much light being reflected back into the laser can result in poor performance of the link. Some transmitters come with built-in optical isolators to reduce or eliminate this problem. Thus, you may be able to install it at the transmitter end.