Fixing tracking code, tested on localhost.