Company Blog Support
Frank Hagan
Updated

Contents

    Back to Top

    Integrating with 1Shopping Cart

     

    Prerequisites

     

    About

    This integration enables 1Shopping Cart purchase data and product information to be pushed through to ONTRAPORT.

     

    How to integrate with 1ShoppingCart

    1. Log into ONTRAPORT

    2. Go to Admin > 1SHOPPINGCART SYNCING

       

    3. Open a new tab in your internet browser

    4. Log in to your 1ShoppingCart account

    5. Go to the My Account tab > API > API Settings


    6. Copy Your Current Merchant API Key to the clipboard


    7. In ONTRAPORT, paste the Merchant API Key into Merchant API Key field

    8. Back in 1SC, click your profile Icon and copy your Merchant ID to the clipboard

    9. In ONTRAPORT, paste the Merchant ID into the Merchant ID field


    10. Copy the notification URL from ONTRAPORT (found in step 4 of the API instructions) to the clipboard

    11. 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.

     

    Quick tip: 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.

     

    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.

     

    Quick tip: For other post-transaction variables to display on the thank you page refer to the 1Shopping Cart User Guide in the Table of Contents > The Main Menu > Setup > Third Party Integrations section under the Available Post-Transaction Variables heading.

     

    After creating your custom thank you page and hosting it, follow these steps:

    1. Make sure to add the Products to ONTRAPORT exactly as they appear in 1Shopping Cart (including price)

    2. Copy and paste the URL to the custom thank you page into the Thank You URL item on the Edit Product > Links tab

    3. Generate the shopping cart URL for the product and copy it to the clipboard

    4. In ONTRAPORT, create a Promo Tool using the shopping cart URL

    5. 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.

     

    Important Facts

    • 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

    Created - Updated
    Have more questions? Submit a request

    Comments

    Powered by Zendesk