Fixed Redirect on files & added tracking

- added template redirect to functions.php
- added tracking to theme