Frequently Asked Questions
How to construct a Smartlink?
How to construct a SmartLink?
What is a SmartLink? SmartLinks are URLs that you can use to redirect all your outgoing links via LinkMyDeals.com, which in turn redirects them via your preferred Affiliate Network, depending on your Network Preference & Merchant Deeplink Settings.
Why should you use SmartLinks?
There are many advantages of using SmartLinks over Affiliate Deeplinks. The biggest drawback of using Deeplinks directly in your website, is that if the campaign is paused or the URL parameters need to be updated, then you will have to modify each and every link on your website. On the other hand, if you use SmartLinks, LinkMyDeals keeps track of all such updates and your website does not need any updates. Also, if you want to switch your campaign for a particular website from one network to another, all you need to do is change your Merchant Settings at LinkMyDeals, and your SmartLinks will automatically switch to the new network.
How to construct a SmartLink?
You can create a SmartLink using the below structure:
https://smartlink.linkmydeals.com/?account_id=[ACCOUNT_ID]&url=[ENCODED_URL]&s1=[SUB_ID_1]&s2=[SUB_ID_2]&s3=[SUB_ID_3]&s4=[SUB_ID_4]&s5=[SUB_ID_5]&network=[NETWORK]
Below is the description of each parameter:
- account_id: (required, int)
Your LinkMyDeals Account ID. - url: (required, string)
The actual URL you want to send the user to. This URL should be encoded. You can use our link encoding service if you are doing this manually. If you are creating SmartLinks programmatically using PHP, then you can use the urlencode() function. - network: (optional, string)
The specific name of the network via which you want to redirect. This overrides the network preferences set in the system. - campaign_id: (optional, string)
Specific campaign_id via which you want to redirect. This only works with the network parameter. If the network parameter is not set, then this will be ignored - s1 to s5: (optional, string)
Any additional parameters you want to track - echo: (optional, boolean)
If this parameter is set to 1 (boolean: true), then the SmartLink will not redirect. Instead, it will return a 200 OK HTTP status and echo the redirection URL in the body.
URL Parameter Mappings for Sub IDs
LINKMYDEALS | S1 | S2 | S3 | S4 | S5 |
---|---|---|---|---|---|
Admitad | subid | subid2 | subid3 | subid4 | subid5 |
Affoy | s1 | s2 | s3 | s4 | s5 |
Amazon | ascsubtag | - | - | - | - |
Awin | pref1 | pref2 | pref3 | pref4 | pref5 |
BigBasket | aff_sub | aff_sub2 | aff_sub3 | aff_sub4 | aff_sub5 |
BigRock | subId1 | subId2 | subId3 | sharedid | - |
BlueHost | data1 | data2 | - | - | - |
Affiliate CJ | sid | - | - | - | - |
ClickOnIk | aff_sub | aff_sub2 | aff_sub3 | aff_sub4 | aff_sub5 |
ConversionX | p1 | p2 | p3 | p4 | - |
Cuelinks | subid | subid2 | subid3 | subid4 | subid5 |
Ebay | customid | - | - | - | - |
Fiverr | afp | afp2 | afp3 | afp4 | afp5 |
FlexOffers | fobs | fobs2 | fobs3 | fobs4 | fobs5 |
Flipkart | affExtParam1 | affExtParam2 | - | - | - |
GroupOn | sid | - | - | - | - |
IcubesWire | aff_sub | aff_sub2 | aff_sub3 | aff_sub4 | aff_sub5 |
Impact | subId1 | subId2 | subId3 | - | - |
INRDeals | subid | - | - | - | - |
Involveasia | aff_sub | aff_sub2 | aff_sub3 | aff_sub4 | aff_sub5 |
Jumia | s1 | s2 | s3 | s4 | s5 |
NearBuy | aff_sub1 | aff_sub2 | aff_sub3 | aff_sub4 | aff_sub5 |
Nykaa | s1 | s2 | s3 | s4 | s5 |
Opicle | s1 | s2 | s3 | s4 | s5 |
Optimise | UID | UID2 | UID3 | UID4 | UID5 |
Rakuten | subid | - | - | - | - |
ShareASale | afftrack | - | - | - | - |
ShopClues | s2 | s3 | s4 | - | - |
SnapDeal | sp | - | - | - | - |
TradeTracker | r | - | - | - | - |
Vcommission | aff_sub | aff_sub2 | aff_sub3 | aff_sub4 | aff_sub5 |
Vigilink | cuid | - | - | - | - |
Webgains | clickref | - | - | - | - |
ZoomCar | aff_sub | - | - | - | - |
Apple | ct | - | - | - | - |