Adding tracking to pages