How to add a counter or third-party widget to all pages

← Back

The "About site" tab in general settings, the "Widget HTML code" field — the code is inserted on every page of the site.

  1. Open "General settings" → the "About site" tab.
  2. Find "Widgets (HTML code for insertion on all pages)".
  3. Paste the code provided by the service in full — together with the <script> tags.
  4. Click "Save all".

This is where things that should be on every page go: visit counters, online consultant, advertising system pixel. Code for a single page is better inserted into the section text itself, in HTML mode.

This code is not translated into other site languages — and rightly so: there is nothing to translate in it, and translation would break the script.

If it didn't work

  • The counter doesn't see visits. Make sure you pasted the code in full. Half the code won't cause an error, but it won't work either.
  • The site became slower. Every third-party script is a request to a third-party server. Three or four counters noticeably slow down the page.
Did the article help?

See also

Tips for working with the builder

The "Help" section is made for those who are building a website on "Pervaya Liniya" for the first time. It contains answers to common questions: how to create a website, what to write in the fields, how to edit texts and photos, how to connect your own domain, and how to set up sections. The materials will help you figure things out without contacting support.

The builder is simple: you fill in the fields on the creation page, and then edit the content directly on the finished website. If something does not work or is unclear, check the relevant help item. The instructions are written in plain language and describe every step.

In Help you will find answers to questions:

  • how to come up with a website address and what to do if the name is taken;
  • how to change the title, description, and other texts on the page;
  • how to add products, services, or request forms;
  • how to connect your own domain instead of an address on firstline.com.ua;
  • how to set up sections and modules for your business needs.

If you cannot find the answer you need, use the feedback form — we will help you figure it out. The section is updated so that you can always find current information about working with the builder.