CUIDs in Commerce
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 a Commerce report (more info here: Reports in Commerce) or through our Reporting API.
There are a few ways to apply the "cuid" parameter to our links; Javascript, Create links, 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.
Javascript
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:
<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'));
</script>
Create Links
Using our Create links on social media and want to track a specific post or campaign to see the revenue it's generated? You can add custom tracking parameters to your Create Links using the "Tracking (optional)" section when building your links. From here, you can place any alphanumeric string to track your performance. Note that sometimes your tracking parameters may not appear in your redirect path - we are still tracking them internally!
API
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.
Reporting on CUIDs
You can see reporting on CUIDs in two ways:
Through the Sovrn Platform in the Analytics tab and
Via the the Transaction API
Questions?
We are here to support you, contact Sovrn Support.