Custom Parameters
  • 18 Nov 2024
  • Dark
    Light

Custom Parameters

  • Dark
    Light

Article summary

Custom parameters allow you to add depth to your reporting and, in some cases, control the associated Commission Groups via Commission Flexibility.

Only Advertisers on an Advanced platform offer can make use of Custom Parameters for commission conditions.

Custom Parameter Implementation

Awin supports up to 255 custom parameters reported on each transaction. The implementation of a single versus multiple custom parameters differ slightly.

These values must be URL-encoded.

Please review the templates and examples of implementation:

Single Custom Parameter

Conversion Tag

AWIN.Tracking.Sale.custom = ["{{customParameter}}"];

Fall-back Conversion Pixel

&p1={{customParameter}}

customParameter should be replaced by the desired, additional, information that you wish to include on your transaction calls.

Implementation Example

<img border="0" height="0" src="https://www.awin1.com/sread.img?tt=ns&tv=2&merchant=1001&amount=7.50&ch=aw&p1=Next%20Day%20Delivery&parts=DEFAULT:7.50&ref=AA000005&testmode=0" style="display:none;" width="0">
<script type="text/javascript">
//<![CDATA[
/*** Do not change ***/
var AWIN = AWIN || {};
AWIN.Tracking = AWIN.Tracking || {};
AWIN.Tracking.Sale = {};
/*** Set your transaction parameters ***/
AWIN.Tracking.Sale.amount = "7.50";
AWIN.Tracking.Sale.channel = "aw";
AWIN.Tracking.Sale.custom = ["Next Day Delivery"];
AWIN.Tracking.Sale.orderRef = "AA000005";
AWIN.Tracking.Sale.parts = "DEFAULT:7.50";
AWIN.Tracking.Sale.test = "0";
//]]>
</script>

Multiple Custom Parameters

Conversion Tag

AWIN.Tracking.Sale.custom = ["{{customParameter1}}", "{{customParameter2}}"...];

Fall-back Conversion Pixel

&p1={{customParameter1}}&p2={{customParameter2}}...

customParameter should be replaced by the desired, additional, information that you wish to include on your transaction calls.

Implementation Example

<img border="0" height="0" src="https://www.awin1.com/sread.img?tt=ns&tv=2&merchant=1001&amount=7.50&ch=aw&p1=Special%20Delivery&p2=Royal%20Mail&p3=5.99parts=DEFAULT:7.50&ref=AA000005&testmode=0" style="display:none;" width="0">
<script type="text/javascript">
//<![CDATA[
/*** Do not change ***/
var AWIN = AWIN || {};
AWIN.Tracking = AWIN.Tracking || {};
AWIN.Tracking.Sale = {};
/*** Set your transaction parameters ***/
AWIN.Tracking.Sale.amount = "7.50";
AWIN.Tracking.Sale.channel = "aw";
AWIN.Tracking.Sale.custom = ["Special Delivery", "Royal Mail", "5.99"];
AWIN.Tracking.Sale.orderRef = "AA000005";
AWIN.Tracking.Sale.parts = "DEFAULT:7.50";
AWIN.Tracking.Sale.test = "0";
//]]>
</script>


Was this article helpful?

What's Next