REFERRALS
Pixel tracking installation
9 min
sales attribution tracking is a core feature in roster, allowing brands to accurately report on link clicks, referred orders, and personal orders that originate from brands' ambassadors this guide will walk you through the process of installing roster's link tracking pixel and order tracking pixel, both of which required to be installed on a brand's e commerce platform and/or website to enable roster's sales attribution logic link tracking pixel overview roster's link tracking pixel is a small javascript snippet that needs to be installed and run on all webpages for your store or website when a customer clicks an ambassador's referral link and is navigated to the brand's website, the link tracking script captures the link click and stores the ambassador's referral link id in the browser in order to attribute sales made by the customer within the attribution window order tracking pixel overview roster's order tracking pixel is an order aware javascript snippet that needs to be installed on the order confirmation page (the page that loads immediately after a customer completes a purchase ) when the page loads, the order tracking script sends order details along with the ambassador's referral link id and/or discount codes, allowing roster to determine if the purchase should be attributed to an ambassador as a referred order or a personal order ecommerce specific instructions although the underlying scripts are nearly identical, we have put together a set of ecommerce specific instructions to simplify the process of installing the scripts docid\ xxpb92qvyajmojnwwarup docid\ cevh sk6wehcajvja9sq4 docid 20egdolqbz1hudjl7qtjd docid\ lj83droxgt9oo3jlb93to docid\ gqmxncuv o0i0u7e5lie docid\ swj qton4kfkwtmgfneyc generic pixel installation instructions if your brand doesn't use one of the ecommerce platforms listed above, you can follow the docid\ k bu jeo2sm5 2g7lpo9g guide which works on virtually any website that allows for adding custom javascript code api based tracking method if your brand's website doesn't support adding custom javascript or you want to augment website based tracking with server side tracking, you can use roster's public and private rest api endpoints to capture link tracking and order tracking see docid\ b zq0pnzwd v i1iirep for details on accessing and using the api troubleshooting pixel tracking there are several things that could prevent pixel tracking from working properly (e g the developer forgot to add the roster api key to the tracking pixel), as well as scenarios where the tracking is working correctly, but things outside roster's control prevent the tracking (e g a customer has a tracker blocker installed on their browsers, preventing roster's tracking pixel to execute ) see these articles for detailed troubleshooting steps docid\ hszdrydoq2cmtkv8cxbwp docid\ fidpbli52z4lgdqqlw3vs