Add tracking code to pages