Adding Code to the Source
Table of Contents
- What is Source Code Editing
- Why You Might Use It
- How to Access the Source Code
- What You Can Add
- Saving Your Changes
What is Source Code Editing
Sometimes you’ll need to use raw HTML or JavaScript to insert custom elements like YouTube videos, social media widgets, or tracking pixels. To do this, you’ll work directly with the source code of a page.
The WYSIWYG editor gives you the option to make simple text updates or edit the page’s source for more advanced changes.
Why You Might Use It
Use source editing to:
- Embed custom videos or widgets
- Resize or style a specific element
- Add scripts like tracking pixels or forms
It’s flexible and lets you control how content appears or functions.
How to Access the Source Code
You can edit the source on any page that uses the WYSIWYG editor, including your homepage, area pages, blog posts, and custom sidebar/footer boxes.
- Click into the WYSIWYG edit box
- Locate and click the Source Code button (it looks like this: <>)
- A pop-up will open showing the raw code of the page
What You Can Add
Once the source window is open, you can insert:
- Embedded YouTube videos
- Social media widgets
- Custom images
- Retargeting or tracking pixels
- Any other supported HTML or JavaScript
Saving Your Changes
When you’re finished updating the code, make sure to save your changes before closing the page.