{module_referreraddress}

Description

Displays a hyperlink that points to the referring page.

Syntax

{module_referreraddress target="_blank" text="CustomText" collection="my_custom_collection_name" template=""}

Note: When using named parameters always wrap the individual parameters in double quotes. Also, do note that modules using named parameters do not work for campaigns just yet.

Parameters

This module can be rendered:

  • in plain text
  • using Liquid collections - this is the Liquid output tag you can use - my_custom_collection_name.title

Examples

  • {module_referreraddress target="_top" text="Previous link"} - this will output a hyperlink that points to the previous page the site visitor was visiting. For example if one goes to the mysite.com/page1 and on that page clicks a link and navigates to mysite.com/page2 the module will output this link - <a href="http://mysite.com/page1" target="_top">Previous link</a>
  • {module_referreraddress collection="collection1" template=""} - in this case nothing will be displayed, however the module's Liquid tags will become available in the collection1 collection.

Syntax

{module_referreraddress,target,text}

Parameters

  • target - this is the hyperlink's target
  • text - this is the hyperlink's text

Examples

  • {module_referreraddress,_top,Previous link} - this will output a hyperlink that points to the previous page the site visitor was visiting. For example if one goes to the mysite.com/page1 and on that page clicks a link and navigates to mysite.com/page2 the module will output this link - <a href="http://mysite.com/page1" target="_top">Previous link</a>