Can the guide template language be used with content in a microsite? If it can then please describe change required to following to allow it to display same as email content.

<script runat=server> var Json = '{"foo": "bar"}';

{{.datasource JSONVar type=variable maxRows = 20}}
     { "target" : "Json" }
foo: {{foo}}

When above previewed using:

  • email (guided send text) - display is foo: bar.
  • microsite (preview using subscribers data) - display when clicking on generate preview is nothing.
  • We haven't been able to get GTL to work on SFMC Landing Pages or Microsites. It may work in CloudPages. Perhaps one of the SFMC folks can weigh in. Aug 10, 2015 at 17:52

1 Answer 1


Eliot Harper found a solution that will allow Guide Template Language to operate as intended within Microsites, CloudPages, and Landing Pages.


From what I understand, the delimiters were changed to support client-side rendering for these sites using MustacheJS which uses the same delimiters. By switching back using the %%{={{ }}=}%%, Guide Template Language functions as documented.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.