FirstPromoter


Affiliate and referral tracking for SaaS.

Launch your own affiliate and referral program in minutes. Quick integration with Stripe, Recurly, Braintree, Chargebee or with our API.

{primary} Stackpile makes it easy to install FirstPromoter on your website and start sending data to all your integrations with a simple unified API.

Install FirstPromoter

Getting Started


{primary} Important

If you already have the FirstPromoter snippet installed on your site, please remove it.

Once the Stackpile snippet has been installed on your website, add FirstPromoter to your stack on your Stackpile Dashboard, add your Site ID (see Settings on how to obtain this) and click on Install FirstPromoter.

The Stackpile - FirstPromoter integration will then start tracking visitors on your website.

Settings


ID

When you create a FirstPromoter account, you get a unique id, which is then used to create a Javascript snippet for you.

Your ID (a 8 character hexadecimal number) is found in the $FPROM.init line, e.g.

{primary} $FPROM.init("abcdef12",".yourdomain.com");

<script type="text/javascript">
(function(){var t=document.createElement("script");t.type="text/
javascript",t.async=!0,t.src='https://cdn.firstpromoter.com/
fprom.js',t.onload=t.onreadystatechange=function(){var 
t=this.readyState;if(!t||"complete"==t||"loaded"==t)
try{$FPROM.init("abcdef12",".yourdomain.com")}catch(t){}};var 
e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(
t,e)})();
</script>

Website

This is the domain or site you will find in the Javascript tracking snippet provided by FirstPromoter.

Your Website is found in the $FPROM.init line, e.g.

{primary} $FPROM.init("abcdef12",".yourdomain.com");

<script type="text/javascript">
(function(){var t=document.createElement("script");t.type="text/
javascript",t.async=!0,t.src='https://cdn.firstpromoter.com/
fprom.js',t.onload=t.onreadystatechange=function(){var 
t=this.readyState;if(!t||"complete"==t||"loaded"==t)
try{$FPROM.init("abcdef12",".yourdomain.com")}catch(t){}};var 
e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(
t,e)})();
</script>