home depot is the same way, i bought something online on HD once and one day went in the store and bought something with the same credit card and the emailed me about my in store purchase.
i never logged it or provided any other information than my credit card swipe in the store but they tied it to the account i had on homedepot.com