Handle freemarker macros and deep tracking links