Easy Infusionsoft Api Script
This should be a very simple job for someone that has worked with the InfusionSoft application before:
I have a tracking pixel that will be installed on a “Thank You” page after a sale is made from an InfusionSoft order form. This “thank you” page is actually another order form (from within the InfusionSoft application).
I need two variables from within the InfusionSoft application to populate this tracking pixel (Order.ID & Invoice.TotalPaid). These two variables will be retrieved from the previous order page. If you have worked with InfusionSoft before, I think you have to use the OrderID from the InfusionSoft database in order to grab those variables (possibly by using AJAX to call a PHP script that hooks into the InfusionSoft API and uses the OrderID from the query string in order to grab the needed variables).
Here is the tracking pixel:
<script src=”http://affiliates.offeratti.com/i_sale_third/39/LINE_ITEM_STRING/TRANSACTION_ID/OPTIONAL_INFORMATION”></script> <noscript><IMG SRC=”http://affiliates.offeratti.com/i_track_sale/39/LINE_ITEM_STRING/TRANSACTION_ID/OPTIONAL_INFORMATION”></noscript>
LINE_ITEM_STRING = Invoice.TotalPaid (InfusionSoft variable needed)
TRANSACTION_ID = Order.ID (InfusionSoft variable needed)



