This phrase alludes to gratitude being due to someone or something. It is also put negatively, no thanks to, meaning "without the benefit of help from," as in We finally found your house, no thanks to the confusing map you drew. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.