Making tracking id configurable and making it work on localhost