Skip to main content

Set up x-parameters

Overview

X-parameters are components of URLs used to pass information through the checkout process, such as:

  • Sources of revenue (revenue tracking)
  • Customer information
  • Affiliate and partner information
  • Any other information you'd like to pass.

X-parameters are configured for attributes initiated outside the Cleverbridge platform. You can create x-parameters based on an information need that is not inherently included in the Cleverbridge platform, such as a user ID number or the name of a campaign. X-parameters must begin with x-.

Example

An x-parameter for an Easter campaign is x-source=Easter.

Pass x-parameters to Cleverbridge

You can transmit x-parameters to the Cleverbridge platform in several ways:

There is no limit to how many x-parameters can be added to a transaction.

Add x-parameters to order URLs

After defining x-parameters, you can add them to their corresponding order URLs and start tracking important customer data.

X-parameters must be appended to the Cleverbridge-hosted order URL to pass through the order process. As long as the parameter begins with x-, it will be saved in the order process. The number of x-parameters that can be passed is unlimited.

Format

The format of an x-parameter in an order URL is &x-<name>=<value>:

ParameterDescription
<name>Select a name for the additional parameter. All alphanumeric characters are allowed as well as hyphens. This value is case-sensitive. Note that all additional parameters must begin with x-. The first x-parameter appended to the URL must be separated by a question mark (?), after which any additional x-parameters are separated by an ampersand (&).
<value>The actual value for the additional parameter you want to pass to the Cleverbridge system.
Example

&x-tracking=ABC&x-userid=12345
Creating order URLs is a manual process using the following conventions:

  • Separate x-parameters from other URL parameters with an ampersand (&).
  • If the URL is an MVT URL, (for example, https://www.shieldwareexamplecompany.com/123/purl-summer2006), the first x-parameter appended to the URL must be separated with a question mark (?), after which any additional x-parameters are separated with an ampersand (&).

The following is an example of a configured order URL that includes an MVT:
https://www.shieldwareexamplecompany.com/123/purl-summer2006?x-source=summercampaign&x-sale=50

Add x-parameters to a completed purchase

If you would like x-parameters to be included in revenue reports, you can add them to a completed purchase.

  1. Navigate to the purchase overview page in SCM.
  2. Select the General Info tab.
  3. Scroll to the bottom and click the + sign button next to the X-Parameters field.
  4. Enter a key/value pair for the x-parameter.
  5. Click Add.

You can also add x-parameters in Commerce Assistant.

  1. Go to Transactions > Purchases and double-click the order you would like to add the x-parameter to.
  2. In the Purchase Details section, click Add Parameter.
  3. Enter the parameter name (key) and value, and click OK.
 

If you use this method to add an x-parameter to a subscription-related order, the x-parameter won't be included in future billing events.

Use x-parameters

You can view x-parameters:

Use x-Parameters in notifications

You can use x-parameters in conjunction with notifications for automated transaction and license key generation. This functionality exports data related to the x-parameters to your back-end systems. To learn more about notifications, see Notifications.


Did you find this doc useful?