The Difference Between orderId and invoiceId

If you've installed our software that automatically posts sales data from Keap/Infusionsoft into Google Analytics Ecommerce, you may be getting confused between orderId and invoiceId.

Keap/Infusionsoft uses two variables that many users, and some developers think are the same thing. These variables are orderId and invoiceId. Adding to the confusion is that in some Keap/Infusionsoft accounts, orderId and invoiceId are set to the same number. However, in most Keap/Infusionsoft accounts orderId is set to one number while invoiceId is set to another number.

You can check your Keap/Infusionsoft account by doing the following: From inside your Keap/Infusionsoft account, navigate to "E-Commerce" and click on "Orders". Click on "Edit Criteria/Columns" and then "Columns". Make sure you've got "Order id" and "Invoice id" inside "Customize Columns". Then click "Ok" to save. You may see that orderId and invoiceId are set to the same number, or more likely, you'll see something like the below result.

Also note that when writes orderId to Google Analytics, it appears inside your Ecommerce reports as "Transaction ID".

Related Resources


Article Feedback

If anything here is incorrect, outdated, or omits critical information, please use our contact us form and let us know.