--- title: "SmartSource Site ID (DCSID)" slug: "smartsource-site-id-dcsid" updated: 2020-05-06T16:11:34Z published: 2020-05-06T16:11:34Z canonical: "onpremises.webtrends.help/smartsource-site-id-dcsid" --- > ## Documentation Index > Fetch the complete documentation index at: https://onpremises.webtrends.help/llms.txt > Use this file to discover all available pages before exploring further. # SmartSource Site ID (DCSID) ## SmartSource Site ID The SmartSource Site id (DCSID) is generated when you create a data source or space in Webtrends On Demand, or when you create an SDC data source in Webtrends Marketing Lab. In both cases, a unique DCSID is created. **JavaScript Example:** ``` window.webtrendsAsyncInit = function () { var dcs = new Webtrends.dcs(); dcs.init( { dcsid: "dcs9x99xxxx9xxx9xx9xxxx9x_9x9x" }); dcs.track(); } ```