trackPage function should be working now