merkalt:order_sum_total_for_affiliate_program
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| merkalt:order_sum_total_for_affiliate_program [2009/06/30 13:09] – daruma | merkalt:order_sum_total_for_affiliate_program [2009/07/08 11:30] (current) – daruma | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| // As I understand, the name of variable which should be added can't be arbitrary. But there is no free accessible documentation on this issue, at least for unregistered users. And there is no free access to web forms builder, suggested by aweber.com for pages composition. Do you have documentation or any information about naming variable that should be added? // | // As I understand, the name of variable which should be added can't be arbitrary. But there is no free accessible documentation on this issue, at least for unregistered users. And there is no free access to web forms builder, suggested by aweber.com for pages composition. Do you have documentation or any information about naming variable that should be added? // | ||
| - | var sale = PostAffTracker.createSale(); | + | \\ var sale = PostAffTracker.createSale(); |
| - | sale.setTotalCost(' | + | \\ sale.setTotalCost(' |
| - | sale.setOrderID(' | + | \\ sale.setOrderID(' |
| - | sale.setProductID(' | + | \\ sale.setProductID(' |
| The system developer is http:// | The system developer is http:// | ||
| Correct link to affiliate software http:// | Correct link to affiliate software http:// | ||
| + | |||
| + | Script for PostAffiliate Pro integration is: | ||
| + | |||
| + | <script id=" | ||
| + | <script type=" | ||
| + | var sale = PostAffTracker.createSale(); | ||
| + | sale.setTotalCost(' | ||
| + | sale.setOrderID(' | ||
| + | sale.setProductID(' | ||
| + | PostAffTracker.register(); | ||
| + | </ | ||
| + | |||
| + | I use following variables (given in {}): | ||
| + | \\ {order_total} is total sum for ordered labels; | ||
| + | \\ {order_id} is the file name of first label in order (without ' | ||
| + | \\ {product_id} - string from settings file (' | ||
| + | \\ {host_name} - project virtual host name - string from setting file; | ||
| + | |||
| + | I do not see how I can install it in root. It is installed in www.merkalt.no/ | ||
| + | |||
| + | I think, PostAffiliate Pro package is need to be installed into root directory before I shall upload changed scripts and templates. | ||
| + | Could you install it into root directory of merkalt.no, please? | ||
| + | |||
| + | // | ||
| + | When sales are comming through affiliate program the order ID is no longer visable. | ||
| + | \\ Total ordreverdi: 89 | ||
| + | \\ Provisjon for affiliate: 26.7 | ||
| + | \\ Ordre ID: ORD_12345XYZ | ||
| + | \\ Produkt ID: ID-baand | ||
| + | \\ IP adresse: 216.104.15.134 | ||
| + | \\ Referrer Url: | ||
| + | |||
| + | Where it says " | ||
| + | Did you changes it back now? The last order that came through was with ORD_12345XYZ | ||
| + | // | ||
| + | |||
| + | It was completely my initiative to change " | ||
| + | |||
| + | // It looks better if the order number is something unique. So if you could turn it back on it would be great. // | ||
| + | |||
| + | Done. You could check it now. | ||
merkalt/order_sum_total_for_affiliate_program.1246367357.txt.gz · Last modified: (external edit)
