Marketing URL Parameters

There are three key URL parameters available for NetSuite customers in relation to marketing activities:

  1. Partner referral ID
  2. Lead source ID
  3. Promotion codes

Attach the partner referral and lead source parameters to your Commerce website’s pages to track the effectiveness of your marketing campaigns.

Partner Parameter

Partner parameters are used when operating referral schemes to track the performance of your partners. The partner parameter creates a cookie on the customer’s computer, marking all their transactions on the site with the ID of the partner. When the customer completes an order, it is tracked using the partner’s ID.

To enable the partner parameter in your Commerce website, first test it in your NetSuite account.

To test the Partner parameter:

  1. Create a new partner. Go to Lists > Relationships > Partner > New,
  2. Type a partner name into the Partner ID field. The Partner Code field is automatically generated. Note – You can modify the Partner Code field to make it shorter or anonymous, if needed.
  3. In the General tab, click on the Referral URL to open the partner’s web store. Note that the URL has a parameter and the partner code added onto the end.
  4. Use your browser’s developer tools to confirm the partner cookie was created. Note – The cookie lasts a year but the association with the partner is permanent. The association functions as long as the customers’ records exist.
  5. Place an order using the partner’s web store.
  6. View the sales order in NetSuite to confirm the order is associated with the partner. Go to Transactions > Sales > Approve Sales Orders.
  7. To view the sales order, click the date beside the order you placed in step 5.

Use the information obtained using the partner parameter to create reports and track how much your partners are contributing to your sales.

Lead Source Parameter

When you run marketing campaigns for your web store, the lead source parameter can be used to track if the campaigns contributed to any sales.

To test the Lead Source parameter:

  1. Create a new marketing campaign. Go to Lists > Marketing > Marketing Campaigns > New.
  2. Fill in the ID and Title fields and click Save.
  3. Log out of your Commerce website.
  4. In your browser’s address bar, add the lead source parameter with its ID to the end of your Commerce website address, for example: ?leadsource=newsletter1016.
  5. Create a new user account for your web store and log in to that account.
  6. Add an item to the cart, go to checkout, and place the order.
  7. View the sales order in NetSuite to confirm the lead source parameter is associated with the order. Go to Transactions > Sales > Approve Sales Orders.
  8. To view the sales order, click the date beside the order you placed in step 6.
  9. When the Customer creates a new account using the lead source parameter in the URL, a new lead is generated. Go to Lists > Relationships > Customers to view a list of the new customers.
  10. Click View beside the name of the user you created in step 5.Under the Marketing tab and the Campaigns subtab, see the marketing campaign you set up as the Lead Source value.

Use the information obtained using the lead Source parameter to track its usage and measure the success of your marketing campaign.

Promotion Code Parameters

The promotion code parameter is used with promotions triggered by a coupon code. By using the format of ?promocode=YourPromoCode, you can automatically add the promo code to the user’s cart when they visit the URL.

Leave a comment

Your email address will not be published. Required fields are marked *