The Short Version
Available evidence shows The Secret was a major force in bringing the Law of Attraction into mainstream 2000s culture. Multiple reliable sources describe the 2006 book and related film/media exposure as driving a broad resurgence in public attention. The wording is also cautious: it says "partly due to," not that the book was the only cause.