Web Snippet Config 

The web snippet config is defined in JSON, in each web snippet HTML template.  There are two ways to set the web snippet config:

<!-- Option 1: <cms-websnippet-config> tag -->
<cms-websnippet-config>
{
  "title": "Web Snippet Name"
}
</cms-websnippet-config>

<!-- Option 2: Script tag -->
<script type="text/cms-websnippet-config">
{
  "title": "Web Snippet Name"
}
</script>

The web snippet config can contain the following properties:

{
  "title": "Web Snippet Name",
  "description": "Description of the web snippet, for the 'Insert Web Snippet' dialog"
}

 

Loading
Loading