Not using one of the big names in the eCommerce space? No problem! When using a custom platform and/or checkout flow, you will need to add our tracking code and purchase pixel code within the header tags on every page of your website including your purchase confirmation page.
Note: The following is generalized code that may require some modification to work correctly.
You'll need to locate your client ID to inject into the code below. In the Voyage web app, go to Settings , then select Account . Scroll down until you see your Client ID . Copy this value for use in the code below:
For the tracking code, add the code below to your main website’s global
Important: Replace 'Client_ID' in the code below with your own Client ID:
For the purchase pixel, add the code below to your Order Confirmation/Checkout Success page after the opening body tag. You will need to add the above tracking code if your Order Confirmation/Checkout Success page uses different header code than the rest of your website.
Important: You will need to replace [AMOUNT_DOLLARS] with the variable representing total value of the purchase in dollars (e.g., ’amountDollars: 56.23’)
If you have any additional questions please contact us at [email protected].