How do I integrate Affiliates with Premise?

Secondarily, how do I get rid of the banner at the bottom that comes up when there is no affiliate id. It says: Affiliate Debug .....