Tracking URL parameter
Wondering how to send lead parameters to the third-party tracking system? Check our Tracking URL parameter guide for more information.
Support At Phonexa avatar
Written by Support At Phonexa
Updated over a week ago

URL tracking is the process of sending lead parameters to your third-party tracking system. We support dynamic tracking parameters - placeholder text that starts and ends in curly brackets. A Placeholder is a keyword in the system that provides information for tracking actions.

Now you can use custom parameters on our forms and POST API. The name of these parameters is "tPar".

This parameter is an array of values which can be passed into the system.

  • "From the Box" - These params can be used in Tracking URLs.

  • "On-demand" - These can be used in integrations.

Example of how you can pass these params:

https://mywebsite.com/form?tPar[myFirstParam]=val1&tPar[mySecondParam]=val2

Example for current client:

https://mywebsite.com/form?tPar[affiliateId]=123&tPar[affiliateSubId]=123_444&tPar[transactionId]=123456&tPar[offerId]=offer-2234

Example for post API:

https://leads.treetrx.com/lead/?LEAD_PARAMS&tPar[affiliateId]=123&tPar[affiliateSubId]=123_444&tPar[transactionId]=123456&tPar[offerId]=offer-2234

To pass these params you must set the tracking URL on a Publisher or a Product level using placeholders in the following format: {tPar_anyParam}

Example for current client:

https://my_tracking_service.com/?affiliateId={tPar_affiliateId}&affiliateSubId={tPar_affiliateSubId}&transactionId={tPar_transactionId}&offerId={tPar_offerId}

To set a tracking URL for a Product go to System Management > Products section, choose the Product and click the “Product Settings” button to switch to edit mode. To create a Tracking URL go to the “Tracking” tab and click the “Add URL” button. Fill in the fields in the pop-up window and click the “Save” button.

To set a tracking URL for Publisher, go to Publisher Management > Publishers section, choose the Publisher and click the “View” button to switch to edit mode. To create a Tracking URL go to the “Tracking” tab and click the “Add URL” button. Fill in the fields in the pop-up window and click the “Save” button.

Did this answer your question?