The FindMine Transaction Analytics functionality is baked into the FindMine JavaScript app and is used to capture transaction data. Implementing this FindMine Transaction call is essential to measuring business impact and analyzing purchase data to better serve your customers.
The FindMine Transaction Analytics functionality should be implemented across all order confirmation pages on your site.
To use the FindMine JavaScript app:
Step 1. Include the transaction module script on your order confirmation template.
Example:
<**script** type="text/javascript" src="//js.findmine.com/transaction.module.js"></**script**>
Step 2. Add the DOM target container to your order confirmation template. This container will not render anything on the order confirmation page, but it is required. Please note that the DOM target container ID is different than on your product pages.
Example:
<**div** id="findmine-transaction-container" />
Step 3. The FindMine JavaScript app attaches a FindMine component to the browser window object that is used to make API calls to FindMine. To use FindMine Transaction Analytics, call window.FindMine.transaction
with the required parameters below.
Example:
window.FindMine.transaction({ /* params */ });