Overview: Commands for link specifications
If you have inserted a link into your mailing in the Editing workflow step, the link may contain the following commands:
[%url:<link type>(action!<ID>); <link address>; <link text>; <HTML parameter>; <name in the report>]
- Link type: The link type specifies whether the link is a text and image link, an unsubscribe link or a tracking permission link.
- (action!<ID>): This command is inserted if you have coupled the link with an action. The ID stands for the internal number of the action to be triggered.
- Link address: The link address specifies the URL of the Web page to which the link points.
- Link text: The link text is displayed instead of the link address when an HTML mailing is viewed in the recipient’s email program; in text mailings, the link text is displayed in front of the link address.
- HTML parameter: This command is inserted if you have added an HTML parameter to a link (for example, in order to format the link). You can add several HTML parameters.
-
Name in the report: This command is inserted if you have specified a name under which the link will be listed in the reports.
The link can additionally contain personalisation parameters. For this, the link must have been inserted in HTML code.
If you use the [%url…] command in the HTML part of a mailing, Inxmail Professional generates the a tag along with the attributes (href, further parameters) and link text automatically.
In some cases, it can be preferable to set the a tag yourself, for example, if an image rather than a link text is to be used.
You can simply set the [%url…] command in the href attribute of the a tag; here, Inxmail Professional will generate a URL for a text and image link.
Note: In this scenario, the Link text and HTML parameters arguments are ineffective in the URL command. Therefore, set the link text and optional parameters as follows:
<a href="[%url:unique-count(action!1); "https://www.inxmail.de"; ; ; "Test Link"]" target="_blank">This is a link text.</a>
or
<a href="[%url:unique-count(action!1); "https://www.inxmail.de"; ; ; "test link"]" target="_blank"><img src="https://www.example.com/image.png" /></a>
Related topics