Skip to main content

Custom Javascript

This feature is available only on some Shorthand plans. To discuss adding this feature, please get in touch.

Users with web development proficiency can add Javascript to a Shorthand story via the editor. This can be accessed by clicking the ADD JS button in the top toolbar.

Javascript can be used to integrate analytics applications – beyond adding a Google Analytics tracking ID which you can do via Settings – by entering the third-party tracking code. This code will be placed at the bottom of the webpage after the Shorthand Javascript.

Please ensure your Javascript is placed between the script tags.

TIP: We recommend writing and editing your code in a dedicated code editor (such as Visual Studio Code) and pasting into Shorthand. This will be much more efficient and provide better formatting and debugging options.

Did this answer your question?