PDA

View Full Version : Setting up affiliate for tracking ad campaign


firstglimpse
07-14-06, 07:48 PM
I have found the page "Tips & Tricks" for tracking an Ad Campaign, but I cannot seem to get it to work. (MM5)

I have Added an Affliate.
I have set Comm per Referral to 1.0000
I have set Comm % per Order to 100.00
I have visted a product pg using the Affiliate code at the end of the URL
I have made a test order from this URL.Now I go back into admin.mvc to view the Payouts tab and all I ever receive is "There are no affiliates to be paid." I should be seeing a Referral & an order at this point.
[Note: I have even checked the earnings section in Edit Affiliate & it says $0.00]

Does anybody know if the affiliates program is not working on MM5 or any other reason it is not tracking from the URL?

immy79
07-14-06, 08:00 PM
Hey there,

The affiliate program in MIVA Merchant is set to only assign the affiliate when the cookie for your store is first created on the customer's computer. Therefore, since you have visited your store in the past on your PC, the affilaite cookie won't be set and you won't see any tracking for that affilaite in the admin.

The best way to test this is to just delete the cookie for your website and follow the link again. You should see the click in your Earnings tab. You'll want to check the Earnings tab to see any of the tracking. You don't need to use the payouts section at all since you aren't really paying an affiliate.

Also, you may want to look into a more robuat analytics and tracking program. Something like the free Google Analytics would be useful. It will give you a lot more tracking info than using the Affilaites program, although that is a good start.

jason - jmh web services
07-14-06, 08:19 PM
I have found the page "Tips & Tricks" for tracking an Ad Campaign, but I cannot seem to get it to work. (MM5)

I have Added an Affliate.
I have set Comm per Referral to 1.0000
I have set Comm % per Order to 100.00
I have visted a product pg using the Affiliate code at the end of the URL
I have made a test order from this URL.Now I go back into admin.mvc to view the Payouts tab and all I ever receive is "There are no affiliates to be paid." I should be seeing a Referral & an order at this point.
[Note: I have even checked the earnings section in Edit Affiliate & it says $0.00]

Does anybody know if the affiliates program is not working on MM5 or any other reason it is not tracking from the URL?

Miva's affiliate system has never been any good. If you want accurate tracking, checkout Post Affiliate Pro (http://www.jmhonline.net/post-affiliate). Lance at latu, sebenza, myself and a few others use it for v5.

Pete McNamara
07-15-06, 12:46 AM
Jason, Webradev's User Guide says you need Viking Coders Generic Affiliate Integration module to integrate it with MM. This module is apparently only available for V4 and V3.

How do you do the integration with MM5, or isn't the integration module required with MM5?

jason - jmh web services
07-15-06, 12:47 AM
Jason, Webradev's User Guide says you need Viking Coders Generic Affiliate Integration module to integrate it with MM. This module is apparently only available for V4 and V3.

How do you do the integration with MM5, or isn't the integration module required with MM5?

I believe it is the order items on invc screen. No module needed for v5

Pete McNamara
07-15-06, 12:52 AM
Ok, thanks :)

jason - jmh web services
07-15-06, 12:55 AM
Ok, thanks :)
np, I'll get more details after I am done doing some miva merchant podcasts.

Pete McNamara
07-15-06, 01:00 AM
Excellent!

jason - jmh web services
07-15-06, 06:33 PM
Excellent!

Ok. Here it is. I do different comissions based on product, so I want it seperate for every product. Click on Order Contents in the upper right hand tab after clicking on INVC page. At the very bottom after the last table, I use the following:


<mvt:foreach iterator="item" array="order:items">
<img src="/pap-directory/scripts/sale.php?TotalCost=&mvt:item:formatted_price;&OrderID=&mvt:order:id;&ProductID=&mvt:item:code;"
width="1" height="1">
</mvt:foreach>


If you just have a general 30% for everything, no need for the foreach code. And I know that others like this just put it on the invc page itself. hth

rstarost
12-13-06, 09:00 PM
Ok I just got post affiliate pro and am confused on how to set it up on my cart. I use MM5. they say to put this code in the invoice page
<script id="pap_x2s6df8d" src="https://walldaddy.com/marketing/affiliate/scripts/sale.js" type="text/javascript"></script>
<script type="text/javascript"><!--
var TotalCost="XXXXXX.XX";
var OrderID="XXXXXX";
var ProductID="XXXXXX";
var _sc=true;
papSale();
--></script>
And that you must change Var totalCost XXXX.XX with the total cost to get the percentage commision working. I am confused?? can you help?

Vic - WolfPaw Computers
12-13-06, 11:43 PM
What part are you confused about?

Paste that code into your INVC footer, and change the variable as they stated. You may need Weilands ToolKit to create the variables needed.


Ok I just got post affiliate pro and am confused on how to set it up on my cart. I use MM5. they say to put this code in the invoice page
<script id="pap_x2s6df8d" src="https://walldaddy.com/marketing/affiliate/scripts/sale.js" type="text/javascript"></script>
<script type="text/javascript"><!--
var TotalCost="XXXXXX.XX";
var OrderID="XXXXXX";
var ProductID="XXXXXX";
var _sc=true;
papSale();
--></script>
And that you must change Var totalCost XXXX.XX with the total cost to get the percentage commision working. I am confused?? can you help?

rstarost
12-14-06, 03:52 PM
Yeah that is waht I am confused about creating the variables

Vic - WolfPaw Computers
12-14-06, 05:42 PM
var TotalCost="&mvt:order:total;";
var OrderID="&mvt:order:id;";

Yeah that is waht I am confused about creating the variables

rstarost
12-15-06, 02:40 PM
Now that was easy

rstarost
12-18-06, 07:01 PM
var TotalCost="&mvt:order:total;";
var OrderID="&mvt:order:id;";

I dont want to pay commision on the taxes and shipping just hte sub total..would that be &mvt:order:subtotal;

Vic - WolfPaw Computers
12-18-06, 07:18 PM
Your only option here is a formatted subtotal for each item ordered.

l.settings:order:items[1]:formatted_subtotal

You would need Weiland's TookKit Module to extract a numeric subtotal without the formatting.

rstarost
12-21-06, 04:50 PM
Wow this is a bit more difficult than I thought. i bought the tool kit but not sure how to use it with this situation

rstarost
12-28-06, 08:51 PM
Your only option here is a formatted subtotal for each item ordered.

l.settings:order:items[1]:formatted_subtotal

You would need Weiland's TookKit Module to extract a numeric subtotal without the formatting.

I am still having trouble with this. I have Weilands Toolkit. However I am not sure how MIVA programming works in order to create a varialbe for subtotal. I am sure there some sort of loop to add all product prices together and out put a variable subtotal but where, on the invoice contents page, is this MIVA variable. THere really ought to be some sort of programming guide with MIVA to help programmers understand its coding structure

Vic - WolfPaw Computers
12-28-06, 09:04 PM
There are tools and references. You may just have to do some legwork to find them.

MIVA has a MIVAScript Guide: http://smallbusiness.miva.com/support/docs/ScriptGuide_html/ScriptGuide.html

Latu.net has a free Store Helper module that exposes many of the variables: http://store.latu.net/featured/LATU-STOREHELPER.html

And Toolkit comes with a number of examples.

I am still having trouble with this. I have Weilands Toolkit. However I am not sure how MIVA programming works in order to create a varialbe for subtotal. I am sure there some sort of loop to add all product prices together and out put a variable subtotal but where, on the invoice contents page, is this MIVA variable. THere really ought to be some sort of programming guide with MIVA to help programmers understand its coding structure