set up tracking and affiliates