If you have the Weebly online website system and you are looking to setup your own affiliate program, this can be easily done. If you do not already have an affiliate software system you can sign up for one of the Omnistar Affiliate Software Plans.

After you have your Affiliate Software account setup the integration into Weebly is really easy. Simply follow the steps below.

We have made it easy to integrate your affiliate software with your shopping cart or gateway by following the instructions below. If you would like our technical team to integrate the software for you then you can sign up for our Managed Integration option.

Step 1. Add Code to your Landing Pages

Move the following code to your landing page. The landing page is the main page of your web site where web users will end up after clicking on the affiliate link. 
Please Note: Where it says http://yourcompany.myomnistar.com, please replace that URL with the actual URL of where your software is installed.

<script>
var resource = document.createElement('script'); 
resource.src = "http://yourcompany.myomnistar.com/track.js";
var script = document.getElementsByTagName('script')[0];
script.parentNode.insertBefore(resource, script);
</script>

 Step 2. Add the Sale Tracking code

To integrate our software into Weebly if you are using Paypal buttons on your Weebly site, please follow these instructions:

1. Generate your paypal product buttons from within your paypal account if you have not already done so.

2. Login to your Weebly account, click the “Edit” button to edit your Weebly site.

3. Click the “Build” Tab at the top of your Weebly editor.

4. Go to the page that you want to add the paypal button to.

5. Click and hold the “Embed code” button on the left and drag it to the section of your page where you want to add your paypal button.

6. Click the Embed code box and then click the button inside the box that says “Edit Custom HTML” and paste your paypal button code.

7. Add the code below before the </form> tag within the paypal button code:

<input type="hidden" name="notify_url" value="http://yourcompany.myomnistar.com/paypal_plugin.php">
<input type="hidden" name="custom" id="custom">
<script language="JavaScript" type="text/javascript" src="http://yourcompany.myomnistar.com/getaff.php"></script>

This is an example of how the code will look once embedded into your PayPal button. This is only an example, do not use this code below. You should generate a button yourself and embed the code above into the button. If you need help contact us.

EXAMPLE DO NOT USE:

<form action="http://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XXXXXXXX">
<input type="image" src="http://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="http://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="notify_url" value="http://yourcompany.myomnistar.com/paypal_plugin.php">
<input type="hidden" name="custom" id="custom">
<script language="JavaScript" type="text/javascript" src="http://yourcompany.myomnistar.com/getaff.php">
</form>

If you require help in creating the Paypal button then visit our help page for creating a Paypal button.

That is it. The software is now integrated with your PayPal buttons in Weebly. You can go ahead and test to see if it works.

Step 3. Test

Now you should test the affiliate program by creating a test user from your user area. Once you create a test user, sign in as that test user and copy the link under where it says "Link To Promote" and then click on the affiliate link that is shown. Next you should go through the entire process of completing an order with your shopping cart or order form by using a test credit card. Once you go through the process then you can make sure the test user received credit for the sale.