What is a script?
A script is a piece of code written in a programming language with the goal of performing a specific function. Many websites and online stores make use of scripts. Some examples include:
How do I add a script to my webshop?
Tip!
Loading multiple scripts on your webshop's code may cause delays on your website. We recommend adding scripts through Google Tag Manager. This tool loads scripts asynchronously, ensuring optimal loading times. More information: Install Google Tag Manager and track conversions
Adding a script is very simple, and can be done in 5 easy steps.
- Go to "Page Management" through your CMS (Back-end).
- Click "Edit Layout" in the left menu.
- Open the code editor for layout editing.
More information: How to edit the head, CSS or Javascript? - Paste your script in the correct tab, which could be head, body-top, or body-bottom.
- Publish your layout to make the changes visible live.
Warning!
Depending on the script provider, you will receive instructions on where to place the script. Typically, this will be in the <head>, <body> top, or </body> bottom.