Page History
...
The SetReferrer JavaScript Function
When dealing with users navigate internal links, you can monitor both the referring navigation component , such as banners or menu items, along with monitoring with the referring pagespage. The SetReferrer function allows you to set custom page referrer details , to be that are sent to the CardioLog server in via following events (via using SendEvent).
Code Sample:
<a href="http://mysite/rnd/index.aspx" onclick="document.__Page.SetReferrer('Banners > MySite > Research and Development');"><img src="rnd.gif"></a>
The SetReferrer function accepts the following parameters:
- Id - Required. The custom page referrer details. This can be any string representation (make sure to define . We recommend defining a unique prefix for each logical group of objects for optimal optimized reports).
- Param 1 - Optional. Used to store additional information about the event (, typically for custom reports).
Monitoring UI Referrers
In order to capture the referring UI component before redirecting the user, make a call to the CardioLog SetReferrer function.Assuming Assuming the banner was implemented with simple HTML, this is a code example:
<a href="http://mysite/rnd/index.aspx" onclick="document.__Page.SetReferrer('Banners > MySite > Research and Development');"><img src="rnd.gif"></a>
How many visitors arrived on accessed my page through my a UI referrer? To see how many visitors arrived on your page through your UI referrer, use the Navigation > the Internal Traffic Sources report (either chart or table), and select the page in the Website Item URL field.
The SendGoal JavaScript Function
...