Offer::generateTrackingLink Method

Generates a tracking link for a given offer and affiliate.

For more information, see the Generating Tracking Links support article.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
offer_id IntegerID of Offer object
affiliate_id IntegerID of Affiliate object
paramsObjectTracking Link additional params. If a "url" field is included, the URL value will be treated specially (if Website Links are enabled). Additionally, a "url_id" field can be passed in if it should use a URL other than the Offer's default URL. Any other fields will simply have the key/value pair attached to the resulting link as &key=value.
optionsObjectTracking link optionsShow Supported Parameters

GET Response Notes

Associative array: Tracking link information

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.