You don't have to enter the ID's in capsule. Capsule don't accept HTML code or publisher ids.
You need to sign up with kontera and analytics to add publisher ID in the text field. When you sign up to analytics use hubpages.com as domain name and then add the publisher id by editing the text field in affiliate settings page. Same procedure with kontera.