If you create a link that contains Zephyr code as part of the link, such as
http://example.com/path?email={email}
The link is bundled together as a single distinct rewritten link. Therefore you can track the performance of that link across users, rather than have it render and track as thousands or millions of different individual links.
When that link containing Zephyr code is clicked, it is evaluated in its own scope, outside of the regular HTML body. The Setup section will be run before the link is evaluated, so any variables that have been computed in that Setup section may be included.
But avoid the use of variables that are locally scoped to the HTML body as part of the query string, as they will not be included in the scope of the link. So the below won't work:
{myvar = 'test'}
<a href="http://example.com/path?myvar={myvar}">my link</a>
We may be looking at revising this behavior in the future, so please give us your feedback.