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

LINKMYDEALSS1S2S3S4S5
Admitadsubidsubid2subid3subid4subid5
Affoys1s2s3s4s5
Amazonascsubtag----
Awinpref1pref2pref3pref4pref5
BigBasketaff_subaff_sub2aff_sub3aff_sub4aff_sub5
BigRocksubId1subId2subId3sharedid-
BlueHostdata1data2---
Affiliate CJsid----
ClickOnIkaff_subaff_sub2aff_sub3aff_sub4aff_sub5
ConversionXp1p2p3p4-
Cuelinkssubidsubid2subid3subid4subid5
Ebaycustomid----
Fiverrafpafp2afp3afp4afp5
FlexOffersfobsfobs2fobs3fobs4fobs5
FlipkartaffExtParam1affExtParam2---
GroupOnsid----
IcubesWireaff_subaff_sub2aff_sub3aff_sub4aff_sub5
ImpactsubId1subId2subId3--
INRDealssubid----
Involveasiaaff_subaff_sub2aff_sub3aff_sub4aff_sub5
Jumias1s2s3s4s5
NearBuyaff_sub1aff_sub2aff_sub3aff_sub4aff_sub5
Nykaas1s2s3s4s5
Opicles1s2s3s4s5
OptimiseUIDUID2UID3UID4UID5
Rakutensubid----
ShareASaleafftrack----
ShopCluess2s3s4--
SnapDealsp----
TradeTrackerr----
Vcommissionaff_subaff_sub2aff_sub3aff_sub4aff_sub5
Vigilinkcuid----
Webgainsclickref----
ZoomCaraff_sub----
Applect----
Help Topics: General Inquiry


 Last Updated a year ago

Please Wait!

Please wait... it will take a second!