Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When dealing with internal links, besides monitoring the referring pages, you can monitor the referring navigation component (, such as banners).The , along with monitoring the referring pages. The SetReferrer function allows setting you to set custom page referrer details, to be sent to the CardioLog server in future following events (by via SendEvent).

Code Sample:

<a href="http://mysite/rnd/index.aspxonclick="document.__Page.SetReferrer('Banners > MySite > Research and Development');"><img src="rnd.gif"></a>

...

    • Id - Required. The custom page referrer details. This can be any string representation (make sure to define a unique prefix for each logical group of objects for optimal reports).
    • Param 1 - Optional. Used to store additional information about the event (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 the banner was implemented with simple HTML:

<a href="http://mysite/rnd/index.aspxonclick="document.__Page.SetReferrer('Banners > MySite > Research and Development');"><img src="rnd.gif"></a>

How many visitors arrived on my page through my UI referrer?

To see how many visitors arrived on your page through your UI referrer, use the Navigation > Internal Traffic Sources report (either chart or table), and select the page in the Website Item URL field.

 

The SendGoal JavaScript Function

...