So, in order to insert various scripts (google analytics, online consultant, counters, etc.) you need to have the script itself or the code.
After you received it, you go to "Settings" -> "My store" -> "Code settings" and to the right of the value "Connecting JS scripts", click "edit" and in the window enter your prepared script and click "ok ".
1. You can add any scripts, but it is important that they are enclosed in the <script>*your JS script*</script>
tag. Write scripts on a new line or separated by a space:
<script>
*script 1*
*script 2*
*script 3*
*script n*
</script>
The main thing is that they are enclosed by <script>
tags on both sides. As for other tags, the principle works similarly. However, in this case, the <script>
tag should not be used.
2. Adding Meta Tags: Scripts cannot be inserted here. The example shows that a script was added to the Meta tags, causing it to appear in the site's header. Only Meta tags should be added here, for example, a tag for Google site verification:
<meta name="google-site-verification" content="Jfr-LeKxxxxxxxxxxxxxxxxxx" />
ATTENTION: If there is already an old code in this window, then you should delete it and insert a new code.
After that, your installed, for example, online consultant will appear on your site.