This integration enables 1Shopping Cart purchase data and product information to be pushed through to ONTRAPORT.
How to integrate with 1ShoppingCart
Log into ONTRAPORT
Go to Admin > 1SHOPPINGCART SYNCING
Open a new tab in your internet browser
Log in to your 1ShoppingCart account
Go to the My Account tab > API > API Settings
Copy Your Current Merchant API Key to the clipboard
In ONTRAPORT, paste the Merchant API Key into Merchant API Key field
Back in 1SC, click your profile Icon and copy your Merchant ID to the clipboard
In ONTRAPORT, paste the Merchant ID into the Merchant ID field
Copy the notification URL from ONTRAPORT (found in step 4 of the API instructions) to the clipboard
Back in 1SC, paste the notification URL into the Notification URL field
Tracking Partner Sales
Tracking Partner sales can be difficult in 1Shopping Cart. Normally this is done by inserting the partner tracking pixel on the thank you page. However, 1Shopping Cart does not allow tracking pixels or PHP code on the default thank you page. For this reason, a custom thank you page must be created with the partner tracking pixel.
Editing Your Existing Custom Thank You Page
If you are already using your own custom thank you page, simply add the PHP code in the attached file 1sc-partner-pixel.txt to the top of the page. Here is an image with the PHP code:
You must replace the text <<< YOURSUBDOMAIN >>> with your ONTRAPORT subdomain.
Creating a Custom Thank You Page
If you are using the default 1Shopping Cart thank you page, you must create your own thank you page to track Partner sales. The Partner tracking pixel code in the attached file 1sc-partner-pixel.txt must be edited with your subdomain and included at the top of the page to add the partner information to the contact record. You can find your subdomain by clicking your email address at the top of your ONTRAPORT account, selecting Administration and then Get Partner Tracking Pixel.
After creating your custom thank you page and hosting it, follow these steps:
Make sure to add the Products to ONTRAPORT exactly as they appear in 1Shopping Cart (including price)
Copy and paste the URL to the custom thank you page into the Thank You URL item on the Edit Product > Links tab
Generate the shopping cart URL for the product and copy it to the clipboard
In ONTRAPORT, create a Promo Tool using the shopping cart URL
To test the partner tracking pixel, send the promo tool to a test Partner account and use it to purchase the product. Use new contact information to ensure 1Shopping Cart creates the new contact record and populates the first and last referrer fields in the contact record.
When you set up a product in 1ShoppingCart, make sure to use no colons, forward slashes, backslashes, or product prices within your product title. Including any of these can break the integration
Once your product is created in 1ShoppingCart run a test transaction. This will create the product in ONTRAPORT. You can then create active response rules based on the product purchase to set off the automation.
The purchaser’s email address on the receipt must match the one you have listed for them in your ONTRAPORT account or the system will create a new record.
Isc-partner-pixel.txt Sample Code
Articles in this section
- Sales Overview
- Coupon Codes
- Create an Invoice Template
- Creating an Upsell Form
- Manual Transactions
- Failed and Completed Transactions
- Collections / Recharge Settings
- Adding Tax Types to ONTRAPORT
- Creating Products
- Integrating with 1Shopping Cart