Skip to content

Executing Dynamic Content code on link click

The SnippetLink method is used to run a Dynamic Content code on link click.

Method signature:

SnippetLink(string link, string snippetName)

Please note that the snippet code is run in an asynchronous process and its results cannot be used under the link click process.

Usage example:

<a href="${SnippetLink('http://DOMAIN.COM', 'SNIPPET_LINK_NAME')}">click me</a>