Marketpress and Tracking Pixel

Where can I place my affiliate tracking pixel code? It should be called on the confirmation/thank you page and needs to pass the sale amount and order number in the tracking pixel?