1. Sovrn Commerce
  2. Troubleshooting & FAQ

CUIDs in Commerce

With Sovrn Commerce, you can use the parameter labeled CUID to get more information about how your audience is clicking on your ads.

While our Dashboard is very useful for getting all the metrics you need to see revenue, clicks, sales and page views, there isn’t way to track specific members (from your site), individual editor performance, product, links or specific marketing campaigns.

If you’re looking for a way to identify the page the link is on; the campaign or the click itself, Sovrn Commerce will recognize a specific parameter labeled “cuid”. Once applied to the end of our links, you’ll be able to track that “cuid” from Commerce Reporting or through our Reporting API.

There are a few ways to apply the “cuid” parameter to our links; Javascript, Anywhere, or our click and link monetization APIs.

Before we get to the examples of each method, there are some simple rules. “cuid” can be up to 32-alphanumeric characters long -- no special characters(!, ?, %, *,  ., [, ], etc.) That’s it!

You’ll also want to keep track of the “cuid” you use on your end for your own reference.


If you’re looking to apply a “cuid” to all links on your site or specific pages, just add a “cuid: ‘yourowncuid’ below your API key. It should look something like this:

[code] <script type="text/javascript">
   var vglnk = { key: 'yourapikey',
   cuid: ‘yourowncuid’
   (function(d, t) {
       var s = d.createElement(t);
           s.type = 'text/javascript';
           s.async = true;
           s.src = '//cdn.viglink.com/api/vglnk.js';
       var r = d.getElementsByTagName(t)[0];
           r.parentNode.insertBefore(s, r);
   }(document, 'script'));


Using our Anywhere links on social media and want to track a specific post or campaign to see the revenue it’s generated? You can add “&cuid=yourowncuid” to the end of the links. It should look something like:



If you have an app but still want to track specific items or users, you’ll want to use our API to monetize the links. In our documentation, there will be instructions on how to add the “cuid” parameter.

Link Monetization API

Click API


Questions? We are here to support you, contact publisher support.