{module_siteurl}

Description

Displays the site's URL.

Syntax

{module_siteUrl,includeProtocol,URLencode 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.siteUrl

Examples

Non secure domain:

  • {module_siteUrl} - mtica4.businesscatalyst.com
  • {module_siteUrl,true,true} - http%3a%2f%2fmtica4.businesscatalyst.com
  • {module_siteUrl,true,false} - http://mtica4.businesscatalyst.com
  • {module_siteUrl,false,false} - mtica4.businesscatalyst.com
  • {module_siteUrl,false,true} - mtica4.businesscatalyst.com

Secure domain:

  • {module_siteUrl} - mtica4.worldsecuresystems.com
  • {module_siteUrl,true,true} - https%3a%2f%2fmtica4.worldsecuresystems.com
  • {module_siteUrl,true,false} - https://mtica4.worldsecuresystems.com
  • {module_siteUrl,false,false} - mtica4.worldsecuresystems.com
  • {module_siteUrl,false,true} - mtica4.worldsecuresystems.com

Syntax

{module_siteurl,includeProtocol,URLencode}

Examples

Non secure domain:

  • {module_siteUrl} - mtica4.businesscatalyst.com
  • {module_siteUrl,true,true} - http%3a%2f%2fmtica4.businesscatalyst.com
  • {module_siteUrl,true,false} - http://mtica4.businesscatalyst.com
  • {module_siteUrl,false,false} - mtica4.businesscatalyst.com
  • {module_siteUrl,false,true} - mtica4.businesscatalyst.com

Secure domain:

  • {module_siteUrl} - mtica4.worldsecuresystems.com
  • {module_siteUrl,true,true} - https%3a%2f%2fmtica4.worldsecuresystems.com
  • {module_siteUrl,true,false} - https://mtica4.worldsecuresystems.com
  • {module_siteUrl,false,false} - mtica4.worldsecuresystems.com
  • {module_siteUrl,false,true} - mtica4.worldsecuresystems.com