Using the Code Snippet

 

The Content Builder provides a Code Snippet that allow you to safely add blocks of code to your content page. Of course, you can manually add HTML content to any content page using the Code Editor, but adding  it as a snippet will ensure that you are safely adding things like scripts.

Placing the Code Snippet

From inside of the Content Manager, click on the drop-down box in the top right-hand corner and select 'Default'. Then, scroll to the bottom of the list and find the code snippet (see image above for reference).  Drag it to the desired position on your page. 

Adding Code to the Snippet

To add code to a code snippet, you will simply select the blue icon to the left of the highlighted snippet and add the desired code into the popup that appears. 

Warning: Custom javascript code (<script> block) is allowed in code snippets but may not always work or be compatible with the Content Builder, so proceed at your own risk. We do not support problems with custom code.