Passing Custom Parameters in Action Tracking URL
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. Custom parameters are most commonly utilized as a part of Pricing Overriding functionality.
Detailed log checkbox should be selected on the Action card for the Custom Parameters and their values to be tracked.
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:
- For SUB_ID Tracking:
- For ACTION_DATA method:
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:
- Add the variables for the Custom Parameters and their values:
The resulting code would be:
Please insert the variable names, not their assigned values into the code.
Add the placeholders for Custom Parameters to the Piggybacks in Epom Ad Server.
- Log into your network account and go to the Publishers tab.
- Navigate to the Site > Zone > Placement.
- In the Piggyback section, add the Custom Parameters to the URL:
So, for the JS Tracking Pixel code mentioned above, the Piggyback would be:
Need more help?
Should you require any additional help with our solutions, do not hesitate to contact Epom technical support at firstname.lastname@example.org. Our support managers are dedicated to resolving any issues and providing you with solutions and support if you face difficulties or have questions.