---
title: "Ad Impressions (Website only)"
slug: "ad-impressions-website-only"
updated: 2020-05-06T15:58:44Z
published: 2020-05-06T15:58:44Z
canonical: "onpremises.webtrends.help/ad-impressions-website-only"
---
> ## 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.
# Ad Impressions (Website only)
## Ad Impressions (Website only)
An Ad View occurs when a visitor views a page containing an ad. An ad is a link or graphic that contains an Ad Click parameter in the query portion of its URL.
Enabling this setting causes the tag to scan all links on a page, looking for the Ad Click parameter specified in the accompanying text box. The text box must contain a query parameter used to denote Ad Click links. If a matching link is found (case insensitive), its Ad Click parameter value is extracted and assigned to the Ad View parameter (`WT.ad`). If more than one Ad Click link is found, each value is appended to the Ad View parameter, delimited by semi-colon. Two configuration parameters control the behavior of this feature:
**adimpressions (Boolean)** If set to true, then this feature is turned on and `document.links` will be scanned for the `adsparam` query parameter. If false, this feature isn't used.
**adsparam (String)** Sets the name of the query parameter which denotes an ad impression. It defaults to `WT.ac` if not set.
#### Using WT.ac
Suppose you are using the default Ad Click param: `WT.ac`.
```
dcs.init( {
dcsid: "dcs9x99xxxx9xxx9xx9xxxx9x_9x9x",
adimpressions:true,
adsparam:"WT.ac",
});
```
Suppose you have a page with the following Ad Click links:
```
```
The Ad View parameter generated from the page load would be:
`WT.ad=image_link_car;image_link_house;image_link_boat`