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 |
from page | A site visitor clicks any link on the specified page, if the link contains a Examples: |
to page | A site visitor clicks any link that goes to the specified page, if the link contains a Examples: |
where source name list | A site visitor clicks a link with a specific Examples: |
For more information, see the ClickThroughEvent section of the UsingScenarioEvents chapter of the ATG Personalization Programming Guide.