View Single Post
  #10  
Old 04-06-2012, 04:30 PM
Thailand Amulets's Avatar
Thailand Amulets Thailand Amulets is offline
 
Join Date: Sep 2010
Location: Thailand
Posts: 311
Default

the script i was just given from them was longer and has sale data in it.. thought i would post this here in case it is an important update or increased functionality

<script id="pap_x2s6df8d" src="http://www.yoursite.com/affiliate/scripts/salejs.php" type="text/javascript"></script>
<script type="text/javascript">

var sale = PostAffTracker.createSale();
sale.setTotalCost("%order_total%");
sale.setOrderID("%order_id%");

PostAffTracker.register();
</script>

Quote:
Originally Posted by Tony D. View Post
I understand. If you are new to affiliate programs, it does sound complicated. It took me about a week before I understood what to do. In the end it turned out it wasn't as difficult as it looked. I'll try to explain it as simply as I can:

1. Go to the Ecwid Facebook app (just type "Ecwid" in the Facebook search field);
2. Add your Ecwid store to your Facebook page;
3. Go to Settings and type in your Ecwid store ID;
4. If you don't want to set up any affiliate programs, you're done. If you want to set one up by using Post Affiliate Pro, please keep reading below;
5. You should tell your affiliates to complete steps 1-3. They must add your Ecwid store ID;
6. In the "Facebook Tab content" section in the app's Settings, they must select "Custom HTML code (advanced)"
7. Send them your Ecwid store's "Product Browser Widget Code". You can find it in the Dashboard of your Ecwid.com account;
8. The affiliates must paste it in the "Custom HTML code (advanced)" field;
9. To make the affiliate tracking work, right below the Ecwid code in the same field, they must also paste this click tracking code from Post Affiliate Pro;

<script id="pap_x2s6df8d" src="http://www.YOURSITE.postaffiliatepro.com/scripts/clickjs.php" type="text/javascript">
</script>
<script type="text/javascript">
var AffiliateID='4444';
papTrack();
</script>

Change YOURSITE and 4444 appropriately. Please note that 4444 is the affiliate ID. You can create it when adding an affiliate in your merchant panel in Post Affiliate Pro. It could be any other number or name. Also, if you are not using a hosted account at Post Affiliate Pro, change the src URL above appropriately.

10. If everything is right, when making a purchase from the affiliate's Facebook page, it must be referred to her affiliate account.

There's also some other settings you need to complete at Post Affiliate Pro, like setting up your campaign, etc. It's best to consult with their Knowledge Base or contact the support team if there's something you don't get. The same applies to Ecwid.

I think I've tried to explain it in the simplest possible way. If there's something you don't understand, it's most likely because of terms like "click tracking codes", etc. Indeed, they sound really complicated to affiliate newbies but once you get used to them, it's not so bad.

If you need any other help, just let me know.