Do I have this right? Is there no way to add a snippet to an email (or landing page) template?
Solved! Go to Solution.
Not that I'm aware of. You would treat the snippet as the "Template" for the intended section of the page or email, like a footer.
We create specific elements within our guided LP template to accept snippets at page creation:
When double-clicking either highlighted area, the "insert snippet" window will appear:
And your snippet will be added to the appropriate region of the page:
Hi Dan - That seems like a good solution. Thank you.
Hi Dan,
For email templates, I see that you can define a default snippet (e.g. <div class="mktoSnippet" id="unsubscribeFooter" mktoName="Unsubscribe Footer" mktoDefaultSnippetId="12"></div> ). However, this doesn't seem to work on landing page templates. Have you been able to use mktoDefaultSnippetID on your landing pages templates?
This works in guided LPs as well:
<div class="mktoSnippet" id="footerInfo" mktoName="Footer Snippet">ADD FOOTER SNIPPET</div>
That part worked, but it then creates a snippet option in the template. When I try to add a default snippet value (mktoDefaultSnippetID), it doesn't work on landing pages. Perhaps the default value only works in email?
See my post above. When you double-click on the snippet element on the right, the insert snippet window should pop-up - where you then select the appropriate snippet.
Thank you Dan.
This is really helpful. I just successfully created the snippet footer on a LP template.
Best,
Becky
Hi Denise,
In emails, any MktoText or mktoEditable (the free text elements in the template) can also be replaced by a snippet:
-Greg