---
title: "Site Domain"
slug: "site-domain"
updated: 2020-05-06T16:10:38Z
published: 2020-05-06T16:10:38Z
---

> ## 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.

# Site Domain

## Site Domain

The site domain specifies the primary domain of the web site you want to track. For example, your site could have the primary domain *yourbusiness.com* as well as the subdomains *electronics.yourbusiness.com* and *paperproducts.yourbusiness.com*. You should specify the domain without the www prefix.

By default, Webtrends tracks each visitor's traffic across all subdomains. For example, your Webtrends data will show a customer's visit to *yourbusiness.com* and electronics.yourbusiness.com as the same visit. If you want to track visits to *yourbusiness.com*, electronics.yourbusiness.com and *paperproducts.yourbusiness.com* as completely separate visits, then you need to pass the `fpcdom` config parameter when calling `dcs.init()`.

**JavaScript Example:**

```
window.webtrendsAsyncInit = function () {
        var dcs = new Webtrends.dcs();
        dcs.init( {
                dcsid: "dcs9x99xxxx9xxx9xx9xxxx9x_9x9x",
                fpcdom: ".electronics.yourbusiness.com"
        });
        dcs.track();
}
```
