Clicks a Link scenario elements can track links that site visitors click, and their navigation habits. A Clicks a Link scenario element is enabled by setting the dsource parameter in a dsp:a anchor tag. For example:

<dsp:a href="content/month_discounts.jsp">
   <dsp:param name="dsource" value="OnSale, MemberDiscount"/>
   Click here to see this month's discounts!
</dsp:a>

The values that you specify for the dsource parameter—in this example, OnSale and MemberDiscount—are used to name a collection of data stored about that link. You can use a different value for each link or reuse a value such as onsale for similar links.

The Clicks a Link element contains the following optional parameters:

Thisparameter...

TriggerstheClicksaLinkelementwhen…

anywhere

A site visitor clicks any link whose anchor tag contains a dsource parameter.

from page

A site visitor clicks any link on the specified page, if the link contains a dsource parameter.

Examples:
Clicksalinkfrompagenamed/welcome.jsp
Clicks
alinkfrompageinfolder/content/today/

to page

A site visitor clicks any link that goes to the specified page, if the link contains a dsource parameter.

Examples:
Clicksalinktopagenamed/thismonthonly.jsp
Clicks
alinktopageinfolder/content/monthlyspecials

where source name list

A site visitor clicks a link with a specific dsource parameter.

Examples:
ClicksalinkwheresourcenamelistincludesOnSale.
Clicksalinkwheresourcenamelistincludesanyof[OnSale,MemberDiscount,MonthlyPromo]

For more information, see the ClickThroughEvent section of the UsingScenarioEvents chapter of the ATG Personalization Programming Guide.

 
loading table of contents...