The first question to ask is why birds are hitting the windows. For example, if it is spring or summer and a male cardinal repeatedly knocks himself against the window, it is a very different situation than if a mourning dove barrels head-first into the window. In the first case, it is likely that the cardinal sees his reflection and is defending his territory against the handsome male cardinal reflection that he sees. The solution in this case need only be temporary and should be in place for a matter of weeks or until the breeding season is over. In the second case, it is possible that the mourning dove is trying to escape an avian predator and does not see the glass, but simply sees an escape route.
According to the United States Fish and Wildlife Service (USFWS), life-sized plastic birds of prey and predator silhouette decals are not effective in keeping irds from striking your windows. Another solution is closing the curtains on the windows, especially if another window can been seen through the problem window. To the birds, this second window looks like a tunnel or escape. If you have plants visible from the outside, the birds might try to escape into the plant cover, or forage in them. Move the indoor plants out of view, or create a barrier so the birds will not think they can reach the plants. Some individuals hang pine cones on fishing line at various heights in front of their windows. Flash tape, such as holographic scare tape for garden plants also works when hung in front of the window. Remember that birds will still try to get through gaps of two inches or more.
Hanging a window feeder on your window will actually decrease collisions, but having bird feeders a few feet from your window will increase collisions. The reason for this is that a feeder placed within five to ten feet of a window allows birds sufficient time to reach a flight speed at which they could kill themselves should they hit the window. It's best to place feeders within two feet of the window or 15 to 35 feet from the house.