![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Hello everyone,
I've recently discovered after a lot of struggle, that it's not possible with the current version of Datafeedr to have more than 1 ID per affliate partner. See http://www.datafeedr.com/forums/showthread.php?p=27254 Yet, that is a big problem, seeing as i'd like to keep all my products in the same place, without having to create extra shops, subdomains, and so on. Does anyone know another way to get around this problem - or does anyone have a ETA on when this will be implemented in datafeedr? Thanks. |
#2
|
||||
|
||||
![]() Hi
The only way to get around this is to write a PHP function that can parse your affiliate links and insert the appropriate affiliate ID into the links based on the merchant. I would use this: http://php.net/manual/en/function.preg-match.php But after that is done, you will either have to write your own URL masking script or have unmasked affiliate links in your store. Eric
__________________
![]() ![]() ![]() ![]() |
#3
|
||||
|
||||
![]() Here's how you can use a function to use 2 different IDs for the same network.
In your views where you have a "Buy" button, use the following HTML to link to the merchant's page: HTML Code:
<a href="<?php echo dfr_url_sub($product); ?>" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a> PHP Code:
Now all of the URLs to the merchant's site will have the correct affiliate ID. The only downside is your affiliate URLs aren't cloaked. Eric
__________________
![]() ![]() ![]() ![]() |
#4
|
|||
|
|||
![]() Hello again Eric,
Once again thanks for the answers; it worked just fine for 2 ID's. But what would i do in case i'd need to add more ID's for tradedoubler? (i.e. Germany, Sweden and so on). I tried adding them manually as the above, with extra lines, but it didn't seem to work. Also - if i were to use other networks with this same setup, would i just add them to the same function too? Thanks. |
#5
|
||||
|
||||
![]() Hi
These are the IDs for TradeDoubler Countries: 40 TradeDoubler UK 51 TradeDoubler Belgium 110 TradeDoubler Finland 64 TradeDoubler France 52 TradeDoubler Germany 111 TradeDoubler Ireland 66 TradeDoubler Italy 53 TradeDoubler Netherlands 65 TradeDoubler Spain 112 TradeDoubler Sweden 113 TradeDoubler Denmark So a function like this is needed PHP Code:
__________________
![]() ![]() ![]() ![]() |
#6
|
|||
|
|||
![]() Hello,
Thanks for the above once again. ![]() Can you tell me where you find those Network id's (net_id)? In case i'd want to develop this further for other networks with multi-nationalities. |
#7
|
|||
|
|||
![]() Never mind!
Figured out that if i hover the merchants inside the factory; the ID displays via the url. Seems to work at least. ![]() |
#8
|
|||
|
|||
![]() Now it's possible to add per store a different affiliate ID for each country within the same network.
That means you can now specify in Store > Affiliate IDs & Tracking Parameters a different affiliate ID for the different Tradedoubler countries. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possibility to save "Network Filter" in Merchant & Network Discovery Tool | ayorofrance | Feature Requests | 1 | January 8th, 2011 07:39 PM |
NEW Network Added: Google Affiliate Network | stefan | News & Announcements | 1 | June 8th, 2009 02:39 PM |