Actually, the Lusitania was only one part of the American effort in WWI. The real thing that got America in the war was the Zimmerman Telegram, a coded message sent to Mexico by Germany telling them to attack the US, however, British forces intercepted it and were able to decode it before any damage was done.