Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Will WP Affiliate Platform do cross domain tracking?
Tagged: off site tracking
- This topic has 14 replies, 3 voices, and was last updated 14 years, 7 months ago by amin007.
-
AuthorPosts
-
April 13, 2010 at 12:10 am #1058MikeMMember
Just wondering if wp affiliate platform will do cross domain tracking? EG: I have a squeeze page on somedomain.com that give away a product for someotherdomain.com. Affiliates send customer to somedmain.com and they sign up for the free offer and then are redirected to someotherdomain.com where they make a discounted purchase using wp estore. Would that sale get tracked and recorded to the affiliate.
Thanks.
MikeM
April 13, 2010 at 12:37 am #19601IvyMemberHi Mike, The Affiliate will only track the sale on the site where the affiliate platform is installed.
Cheers,
Ivy
April 13, 2010 at 12:42 am #19602MikeMMemberWhat if I used a redirect link to drop the cookie and then they go to the other site and then back again to make a purchase?
April 13, 2010 at 10:24 am #19603amin007ParticipantAre products being sold from both domains?
April 14, 2010 at 2:17 pm #19604MikeMMember1 domain will be a squeeze page where they sign up to the list, then they are directed to the 2nd domain to download. Emails will go out on a schedule promoting the more robust product from the 2nd domain. The theory is that affiliates send people to get the free software and then can earn commission if they buy the more full featured product from 2nd domain.
Will wp estore work with the iDev Affiliate program?
April 15, 2010 at 12:39 am #19605amin007ParticipantThank you for the explanation. Cookies don’t work cross domain (otherwise there would be a big security issue). If the other domain is a sub-domain of the main domain then it will work but if it’s a completely different domain then the affiliate plugin will need to be installed on both domains.
WP eStore can be integrated with iDev Affiliate but it requeres manual tweak.
April 15, 2010 at 12:39 am #19606amin007ParticipantThank you for the explanation. Cookies don’t work cross domain (otherwise there would be a big security issue). If the other domain is a sub-domain of the main domain then it will work but if it’s a completely different domain then the affiliate plugin will need to be installed on both domains.
WP eStore can be integrated with iDev Affiliate but it requires manual tweak.
April 15, 2010 at 12:52 pm #19607MikeMMemberIt is a complete separate domain and ONLY used as a squeeze page. When the customer signs up to the autoresponder, the confirmation page is on the 2nd domain where they get their free software with an upgrade option to the full version. So I don’t think the affiliate plugin would work, because the only thing they do on the 1st domain is sign up.
Could you give me the manual tweak for iDev Affiliate, because if your plugin won’t work, I will probably purchase it for this. Either iDev Affiliate or Post Affiliate Pro. They both seem good, but iDev is a bit cheaper for the base model.
Thanks for all the help.
Mike Murphy
April 16, 2010 at 11:54 am #19608MikeMMember“WP eStore can be integrated with iDev Affiliate but it requires manual tweak.”
Any chance you could give me the code to do this?
Thanks.
MikeM
April 17, 2010 at 2:20 am #19609amin007ParticipantSure… Please post a link or some info on their (iDev affiliate) integration method from an IPN handling script and I will guide you. I did it once but forgot the link the customer gave me.
April 17, 2010 at 1:39 pm #19610MikeMMemberI found a custom cart integration page at:
[http://www.idevkb.com/questions/12/Custom+Cart+Integration]
there is a pdf document at the bottom of the page. It even gives you an email address to submit your customization to them if you would like them to add your cart into their built in integration. Could get you more sales
__________________________________________________
They have a knowledge base but all their instructions are moved right into the program. Here is what they say about wp ecommerce:
1. Edit this file: /wp-content/plugins/wp-e-commerce/transaction_result_functions.php.
2. Find the following code which already exists in the file.
if(isset($_GET)) {
3. Cut/Paste the following code into the file (above the code above).
//
// START IDEVAFFILIATE CODE
//
$idev_saleamt = $total – $total_shipping;
$idev_saleamt = number_format($idev_saleamt, 2, ‘.’, ”);
$idev_ordernum = $purchase_log;
?>
<img border=”0″ src=”http://secured-links.com/idevaffiliate/sale.php?profile=56&idev_saleamt=<?PHP echo $idev_saleamt; ?>&idev_ordernum=<?PHP echo $idev_ordernum; ?>” width=”1″ height=”1″>
<?PHP
//
// END IDEVAFFILIATE CODE
//
April 17, 2010 at 1:42 pm #19611MikeMMemberOr Pixel tracking:
Pay-Per-Sale (Percentage) Processing Note:
In order for iDevAffiliate to calculate the payout, you’ll need to have the sale amount present on your sale confirmation page. This is the minimum requirement. All the other variables including the order number are optional. This can come from your merchant account, shopping cart or any other custom setup. You can usually find these variable names in the support forum of the product you’re integrating with.
Choose one of the following options and place your code. You must alter all =XXX entries with the actual variable name your cart or merchant account uses. Example: =${variable_name} This will look different for all carts and merchant accounts. Check their support forums for proper syntax.
Code:
<img border=”0″ src=”http://secured-links.com/idevaffiliate/sale.php?profile=72198&idev_saleamt=XXX&idev_ordernum=XXX” width=”1″ height=”1″>
April 18, 2010 at 6:24 am #19612amin007ParticipantPixel tracking do not work very well for WordPress as by default you cannot execute PHP on wordpress posts and pages so you can’t really retrieve the sale amount using a PHP statement and pass it down. You can use a PHP executable plugin in which case it will work.
I prefer to use the more secure integration method. In this method you pass a cookie to PayPal using the custom field which then gets passed to the post payment processing script (IPN handling script) and then it awards the commission from there.
If you explain it to them they will point you to that documentation. Essentially you will need to pass the IP address and a cookies (I will tell you how to do this) and then add some code in the IPN handling script.
April 18, 2010 at 2:24 pm #19613MikeMMemberI’ll send them a support request, but in the other post I indicated I had found a custom cart integration page at the link below. Don’t know if that helps or not.:
http://www.idevkb.com/questions/12/Custom+Cart+Integration
there is a pdf document at the bottom of the page. Section 2 talks about creating an API call:
____________________________________
If you would prefer to call our commission processing file from an API file or backend processing file of some sort, you can do so using a CURL snippet. The only difference is you will also need to pass in the customer’s IP address.
<?PHP
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, “http://www.site.com/idevaffiliate/sale.php?profile=72198&idev_saleamt=XXX&idev_ordernum=YYY&ip_address=IPA”);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_exec($ch);
curl_close($ch);
?>
As you can see, the URL being called is constructed the same as a generic tracking pixel only we’re adding the ip_address variable as well. Replace the following in this string.
– XXX needs replaced with the actual variable that contains the sub/total amount.
– YYY needs replaced with the actual variable that contains the order number.
– IPA needs replaced with the customer’s IP address.
__________________________________________________________________
April 19, 2010 at 1:30 am #19614amin007ParticipantThis is the info I was looking for.. thanks for that. I have made a post for the iDev Affiliate Integration at the following URL. Let me know how you go:
https://support.tipsandtricks-hq.com/forums/topic/idev-affiliate-and-wp-estore-integration
-
AuthorPosts
- You must be logged in to reply to this topic.