Blackbaud Checkout jQuery Event Information Objects
jQuery event information objects can be used to write your own custom code to track specific events related to the Blackbaud Checkout checkout.
The jQuery event names are shown in the headers, and the information objects are directly below in the table.
Note: For jQuery event names, the * indicates landed objects are included, and ** indicates engaged objects are included.
landed | |
---|---|
basePage | The relative URL of the PageBuilder page that uses the Blackbaud Checkout form |
startingUser | The donor logged in while the page loaded. (This information object only displays a value when a donor is logged in when the page renders.) |
donationFormId | The donation form ID backing the Blackbaud Checkout experience |
merchantAccountId | The merchant account's ID |
engaged, canceled, rebuffed, authorized, failed* | |
---|---|
selectedDonationLevelId | The donation level ID that is used by the donation form |
donationAmount | The amount the donor elects to donate in decimal format. For example, 145.73, 10, 10.4 |
formattedDonationAmount | The amount the user elects to donate in monetary format. For example, $145.73, $10.00, $10.40 |
userSelectedLevel | True when the donor enters a custom donation amount. False when the donor choose a predefined donation amount. |
retry** | |
---|---|
attemptCount | The number of times a donor attempts to retry their donation. (All retries use the same token and will not double charge) |
maxAttemptCount | The maximum number of attempts allowed before the donor is redirected to the backing donation form |
approved** | |
---|---|
securePayment | A raw copy of the values returned through the API |
transaction_id | The transaction ID recorded in Luminate Online |
cons_id | The constituent ID the transaction created or credited. (May not necessarily be the same as the user logged in at the start) |
confirmation_code | The confirmation code of the Luminate Online transaction |
transaction_date | The date and time of the transaction. (Should almost always be some variation on the current date) |
org_tax_id | Used for sales tax purposes |
amount | The transaction amount |
decimal | The amount the donor elects to donate in decimal format. For example, 145.73, 10, 10.4 |
formatted | The amount the user elects to donate in monetary format, e.g. $145.73, $10.00, $10.40 |
analytics | The information the stock Google Analytics system will pass on to analytics |
orderId | The confirmation code of the Luminate Online transaction |
affiliation | The name of the backing donation form (appended with ' - SecurePay') |
total | The decimal form of the value of the donation |
tax | The tax paid on the donation (Should always be 0) |
shipping | The shipping cost of the donation (Should always be 0) |
city | The preferred city of the donor. If that's not set, it is the billing city |
state | The preferred state of the donor. If that's not set, it is the billing state |
country | The preferred country of the donor. If that's not set, it is the billing country |
var donationAmount = getDonationAmount();
var formattedDonationAmount = getFormattedDonationAmount();
var selectedDonationLevelId = getSelectedDonationLevelId();
var userSelectedLevel = isUserSpecifiedDonationLevelSelected();
var merchantAccountId = jq('#merchantAccountId').val();
var donationFormId = jq('#form_id').val();
var startingUser = jq('#donor_id').val();
var basePage = window.location.pathname;