Adding Optional Parameters in Postback and Pixel tracking URL.

Parameter Variables & Macros

The passing of values between your own internal system, the vNative and Attribution Analytics platforms, and your publishing partners’ internal systems requires discerning your “parameter variables” from your “macros” and how to use these two pieces of information appropriately.

Both of these terms have various meanings throughout the tech world and as we do not want to create confusion let’s define now how we at vNative use these two terms and their application.

  • Parameter Variable: An attribute in your system that denotes a particular type of variable to be defined; e.g. the ID of a user or some other definitive characteristic of your data.
  • Macro: The value of the parameter it is paired with; can either contain an actual value (e.g. =2345) or can be a placeholder for the value of the parameter (e.g. ={number}) to be dynamically replaced later.

 

Optional Parameters available on vNative

 

sub1, sub2, sub3, sub4                Parameters in which you can pass the macros.

rate                                                  Sale amount in USD for the campaign.  The rate should be in 3 Digit.

currency                                          The currency of the rate parameter.                  

txn_id                                               It’s used for tracking Upsell and the value should be different.

Adding Parameters in Postback  URL.

A common practice is for publishers to pass in their unique session ID on the click through the sub1 and sub2 parameters.

Therefore, you will want to append the sub1, sub2 parameters to the postback URL like this:

https://track.vnative.com/acquisition?click_id={click_id}&sub1=XYZ&sub2=123

After the “?” you can see that a good many parameters have been appended to the URL; e.g. &sub1=XYZ and &sub2=123. Parameters – otherwise known as variable-value pairs – are comprised of a parameter variable (e.g. &sub1) and a macro (e.g. = XYZ). Thus, a parameter is simply indicating that the parameter variable equals a macro/value. You can add sub1, sub2, sub3, and sub4 as sub IDs. You can add sub1, sub2, sub3, and sub4 as sub IDs. Either you can pass default value or you can also pass various parameters mentioned in the list below.

 

Adding Parameters in conversion Pixel URL.

A common practice is for publishers to pass in their unique session ID on the click through the sub1 and sub2 parameters for pixel conversion.

<img src=’https://track.vnative.com/pixel?adid=34232dsk21&sub1=4587&sub2=another-default_value‘>.

After the “?” you can see that a good many parameters have been appended to the URL; e.g. &sub1=4587 and &sub2=another_default_value. Parameters – otherwise known as variable-value pairs – are comprised of a parameter variable (e.g. &sub1) and a macro (e.g. =4587). Thus, a parameter is simply indicating that the parameter variable equals a macro/value. You can add sub1, sub2, sub3, and sub4 as sub IDs.Either you can pass default value or you can also pass various parameters mentioned in the list below.

vNative’s Postback Values

vNative supports many of the possible macros that can be passed back to the publisher to maintain a highly transparent transaction between you and the publisher’s tracking system. The macros used are always contained between curly brackets “{}” and include underscores. Here is the complete list of macros that vNative supports:

 

 

{campaign_id}                         Id of Campaign

{campaign_title}                     Title of Campaign

{aff_id}                                      ID of Publisher running the Campaign

{aff_name}                               Name/Username of Publisher running the Campaign.

{adv_id}                                    ID of Advertiser for which the campaign is running

{tdomain}                                 Tracking domain on which the Campaign Runs

{click_id}                                   Unique ID of Click Event Recorded

{click_time}                              Timestamp for the Click Event

{p1}, {p2}, {p3}, {p4}              Tracking Parameter’s which was appended in tracking URL.

{device_id}                                 Device ID For App Installs Campaign     

{payout}                                    Payout amount in USD for the Campaign

{rate}                                           Sale amount in USD for the campaign

{reporting_payout}             Payout amount in Default Currency

{reporting_rate}                    Sale amount in Default Currency

{agent}                                       Browser on which the Click Event occurred

{referer}                                  Referring Domain for the Click Event

{country_id}                          2 Digit Country ID

{ip}                                              Connecting IP of User

{conversion_id}                  Conversion Id of the record of any Conversion, Sale, Goal etc

{random}                               7-15 Digit number randomly selected

Click here to read about Goals Tracking.

For help, drop us a  line on support@vnative.com.

Create Your Account Now!

Get Started with 30 Days FREE Trial Account. No credit card required.

Get Started FREE