Depending on your affiliate program requirements, you may or may not be able to incorporate it.
To add Tracking Pixels to your site pages:
Click 'Edit Site' -> 'Power Tools' -> 'Insert Tracking Code'.
To add your Tracking Pixels shopping cart's Transaction Completed page:
Click 'Edit Store' -> 'Shopping Cart' -> 'Tracking Codes'.