adds tracking code for demographics