The basic rule for the last several years is that only money going to the hotel itself (and related businesses within the hotel) earn points. Taxes definitely do not, although the programming is occasionally faulty and credits points on some or all taxes. Sometimes parking charges do not earn points (if the money goes to an unrelated garage).
Bruce