Control Spot logo
/
/
Register Snippet

Register a Snippet

In Control Spot, you can create a Snippet by registering a piece of code that can later be applied to any of your connected websites. This allows you to automate tasks, add custom functionality, or perform batch updates safely.

Step 1: Create a New Snippet

Go to the "Create Snippet" page. Enter a name and description for your snippet so you can identify it later. These details will appear in the list of snippets.

Create Snippet page before any snippet is created.
Preview
Create Snippet page before any snippet is created.
Step 2: Add Your Code

Enter your code snippet into the provided editor. You can register PHP, JavaScript, or CSS snippets depending on the website requirements. Make sure the snippet is valid and safe to apply.

Snippet ready to use on actions page
Preview
Snippet ready to use on Actions page.
Important
Once registered, snippets can be applied to any of your connected websites from the Actions page. Make sure your code is tested and does not conflict with existing website functionality.
Next Steps
  1. Apply your snippet to selected websites from the Actions page