Design, themes & CSS

Add custom JavaScript

Dashboard → Custom code & themes → JavaScript. It runs at the end of every page. It works on sites connected to their own domain.

Add custom JavaScript
Design, themes & CSS4 steps
Short answer

Dashboard → Custom code & themes → JavaScript. It runs at the end of every page. It works on sites connected to their own domain.

Step by step

  1. 1

    Open Custom code & themes → JavaScript.

  2. 2

    Paste your code without <script> tags. Libraries (jQuery, GSAP…) go in “Extra JavaScript files” as https links.

  3. 3

    A red message under the box means there is a mistake in the code — fix it before publishing.

  4. 4

    On the free shared address only CSS runs (for the safety of all stores); connect your domain and your JavaScript starts working.

Did this guide help?

Related guides