Adding dynamic parameters

  • Updated

Tracking code

To accurately measure traffic coming from a specific campaign or source, we’ve created a tool for you to add a tracking code to any tracking link.
With up to 500 different values, the tracking code parameter can help you stay on top of traffic coming from a multitude of campaigns and sources.

To add a tracking code:

 

  1. Generate a shareable link here.
  2. Click the Dynamic Parameters button > select Tracking Code.
  3. Enter your parameter value.
    For example: my_affiliate_blog
  4. Copy the link by clicking the copy to clipboard icon.​

 

 

AFP parameters

 

An Affiliate Parameter (AFP) is an add-on parameter that can pass along helpful information you’d like to know.

You can add as many as 10 different AFPs to your tracking link. There are no limits to the number of values passed by the different AFPs. As an example, an AFP can be used for a Click ID.

Here’s how to add AFP parameters:

 

  1. Generate a shareable link here.
  2. Click the Dynamic Parameters button > select AFP.
  3. Enter your parameter value.
    For example: dyi_blog_page
  4. Copy the link by clicking the copy to clipboard icon.​

 

 

Important things to note:  

  • The TRACKING CODE parameter can contain up to 500 entries.
    Usually, this is used to store channel data from partners.

  • AFPs are used for any other type of storage and contain an unlimited number of entries Typically, they are used to store information like click IDs and keyword data.

  • Refrain from modifying the link after it’s generated with our tools
    This will ensure proper functionality.


Postback URL

 

If you’d like to to track incoming traffic for your own tracking systems,
you have the ability to embed a postback URL in the system.

 

For the postback to return the corresponding data, you can embed two parameters into the pixel code:

 

  1. [TrackingCode]
    This returns the Tracking Code value that’s set in the tracking link (as utm_campaign). For networks, implement your sub-ID parameter in the [TrackingCode].

  2. [afp]
    This returns the affiliate parameter that's assigned in the affiliate link and passed on the tracking link.
    1. To add either one or both of these parameters, place them in your postback URL using the following format:
      postbackurl/?.NAME_OF_PARAM_IN_YOUR_SYSTEM=[TrackingCode]&NAME_OF_PA RAM_2_IN_YOUR_S YSTEM=[afp]

 

 

For example: If your system refers to source data as “sub_id”, and the click ID as “transaction_id”, your postback will look like this:

http://www.yourpostbackurl.com/?sub_id=[TrackingCode]&transaction_id=[afp]





In addition to generating your own dynamic parameters, you can receive system data.
These include:

  • [ProductId]
    The FTB’s category ID within the pixel code
  • [ProductName]
    The FTB’s category name with spaces
  • [ProductNameNoSpaces]
    The FTB’s category name without spaces
  • [CommissionAmount]
    The commission you earned


The system data should be configured on the postback code using the same syntax as above.

For example: http://www.yourpostbackurl.com/?payout=[CommissionAmount]

 

You can receive notifications for either one or both of the following events:

  • Registration
    The postback will be sent when each new registration is updated in the system.
  • First-Time Buyer
    The postback will be sent when each new FTB is updated in the system.

 

Note: Once your postback URL is ready, send it via email to affiliates@fiverr.com.
In the email, be sure to clarify which event(s) you'd like to receive the notification for.