Skip to content

Auditing affiliate marketing transactions on Share-A-Sale.

Notifications You must be signed in to change notification settings

MDeanLindsay/Share-A-Sale-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Share A Sale Auditing

About The Project

In Share-A-Sale, we had a custom commission set to reward 30% if a new customer was referred from an affiliate marketer. We saw a substantial difference in new customers from affiliate marketers, compared to other DTC channels, so I began to investigate.

Findings showed that a referral would be flagged as no cookie value was initially present, even if a customer checked out using their account. This additional check alone, found savings of $42,000/year.

Since then, the bonus commission program has now been deprecated, but we have implemented additional checks that have found otherwise overlooked savings. We now run checks on commisson percentage errors, remove ineligible items from the subtotal that calculates a commision's percentage, and void orders that have been canceled for various reasons.

Getting Started

Prerequisites

  • Python 3.9.6

  • Create a file named config.py file based on config_example.py

Installation

  1. Get an API Key from Share A Sale in the Merchant API center. https://shareasale.com
  2. Clone the repo
    git clone https://github.com/MDeanLindsay/Share-A-Sale.git
  3. Create virtual enviornment.
    python -m venv .venv
  4. Initiate venv.
    .\.venv\Scripts\activate
  5. Install requirements.
    pip install -r requirements.txt

(back to top)

About

Auditing affiliate marketing transactions on Share-A-Sale.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published