Hi. If it were up to me i would put it on the outside. That way at least it won't get covered with algae. People have different ways of attaching them for different reasons. Some just use tape. Some smear vaseline all over the outside of the glass and use that to stick it on. Try a search to see what others have posted as that is all i can think of right now. Others will chime in here as well.