ShopMy
7 min
shopmy is an affiliate marketing platform for creator partnerships this destination loads the shopmy affiliate click tracking script in the browser and sends order confirmations to shopmy when a visitor was referred by a shopmy affiliate or used a creator's discount code no credentials are required — shopmy attribution is based on cookies set by the click tracking script and/or discount codes on the order getting started this is a device mode destination no credentials are required the shopmy click tracking script is loaded automatically connecting to the shopmy cdp destination warning before connecting destinations in the chord cdp, please verify with all destination owners that all non chord cdp configured destinations are disabled running external destinations alongside configured chord cdp destinations can result in duplicate events downstream log into the chord data platform navigate to the cdp click the "add" button next to destinations select shopmy from the destination catalog enter the destination name click "create" to connect events event mapping chord event shopmy action notes page loads click tracking script no data forwarded order completed post https //api shopmy us/api/order confirmation fired if sms click id cookie or a discount code is present all other events are silently skipped page and identify events do not send data to shopmy — they only trigger the script to load page events loads the shopmy click tracking script no data is sent to shopmy — the script manages affiliate attribution cookies ( sms click id ) autonomously order completed sends an order confirmation to the shopmy api the event is skipped only if neither an sms click id cookie nor a discount code is present this ensures orders are reported for both click based attribution (affiliate link) and code based attribution (creator discount code) api call post https //api shopmy us/api/order confirmation shopmy attribute chord source (priority order) notes orderamount properties subtotal > properties revenue > properties total defaults to 0 orderid properties order id clickid sms click id cookie optional; only included in payload when present currency properties currency defaults to "usd" is returning customer properties is returning customer defaults to false page url window\ location href current page url at time of event code properties coupon > properties discount code coupon/discount code; null if not present the api request has a 5 second timeout if the request times out or fails, a warning is logged and the event is dropped initialization the plugin loads https //static shopmy us/affiliates/sms aff clicktrack js on the first event of any type this script handles affiliate click attribution by reading url parameters and setting the sms click id cookie the plugin manages sdk loading state ( fresh → loading → loaded / failed ) to prevent duplicate script loads concurrent events during loading are queued and processed after initialization completes if the script fails to load, subsequent events are silently dropped csp requirements if your site uses a content security policy, allow the following domains directive domain script src https //static shopmy us connect src https //api shopmy us updated 14 apr 2026