Epom Ad Server provides an option to pass additional parameters in Action Tracking URLs. These parameters along with the corresponding values will be available in Epom Analytics.

The general syntax for the parameters should be cp.[parameter-name]=[parameter-value]. For example: 'cp.price=42' or 'cp.product=shoes'. The parameter separator is '&'.

So, to pass the aforementioned parameters, the Action Tracking URLs should be:

  • For Pixel Tracking:
  • http://n244adserv.com/action.gif?key=62eaa2e3db355e00693af5ced33f3faf-17-2&cp.price=42&cp.product=shoes
  • For SUB_ID Tracking:
  • http://adshost2.com/at?subId=MjJ8MjR8VUF8M3wxfHw|7eff87d5fbbb95e51f915e7b5d7254ed-22-20&cp.price=42&cp.product=shoes
  • For ACTION_DATA method:
  • http://adshost2.com/at?actionKey=52957d7778d48e0d9cd2b0f7e97bf4f3-22-0&actionData=MjJ8MjR8VUF8M3wxfHw&cp.price=42&cp.product=shoes

In order to view the conversions report with the custom parameters, run the Analytics Report grouped by action.


Passing Custom Parameters in JS Pixel codes

Custom Parameters can be inserted to the JS Pixel codes and transmitted to Epom Ad Server alongside JS Tracking Pixels. To do so:

Modify the JS Pixel code:

  • Add the following functions for every Custom Parameter and value:
  • var param# = "param#";
    var value# = "value#";
  • Add placeholders for the Custom Parameters and their values:
  • +"&cp."+param#+"="+value1#+"

    The resulting code would be:

    <script type="text/javascript">
    (function() { function Action(h, a) {
    var param1 = "param1";
    var value1 = "value1";
    var param2 = "param2";
    var value2 = "value2";

    new Image().src = (location.protocol=="https:"?location.protocol:"http:") + h + "/action.gif?key=" + a + "&t=" + new Date().getTime()+"&cp."+param1+"="+value1+"&cp."+param2+"="+value2;
    } Action("//a6adserv.com", "26306c83bc70b4efd1c48a8bb2f6ca75-18-45"); })();
    </script>

Add the placeholders for Custom Parameters to the Piggybacks in Epom Ad Server.

  1. Log into your network account and go to the Publishers tab.
  2. Navigate to the Site > Zone > Placement.
  3. In the Piggyback section, add the Custom Parameters to the URL:
  4. http://www.example.com/example.php?key=XXXXXXXXXXXXXXX
    &p1=$$CUSTOM_PARAM(param1)$$&p2=$$CUSTOM_PARAM(param2)$$

    So, for the JS Tracking Pixel code mentioned above, the Piggyback would be:

    http://www.example.com/example.php?key=XXXXXXXXXXXXXXX&p1=value1&p1=value2


Need more help?

Should you require any additional help with our solutions, do not hesitate to contact Epom technical support at support@epom.com. Our support managers are dedicated to resolving any issues and providing you with solutions and support if you face difficulties or have questions.