Latest Blog Posts

Editing the OpenCart Homepage
29.09.2025 2665 3 44 min

Editing the OpenCart homepage, customizing H1 and Title text, displaying products and modu..

How to Uninstall Powered by OpenCart
03.09.2025 4134 3 20 min

Remove Powered by OpenCart and customize footer: edit template, use theme editor or OCMOD ..

How to remove modules in OpenCart
28.08.2025 2114 3 12 min

Step-by-step instructions for deleting modules in OpenCart 3 via the admin panel, manually..

Which hosting to choose for OpenCart
25.08.2025 1434 3 19 min

Find out which hosting to choose for an OpenCart online store. Requirements, selection cri..

Google Analytics in OpenCart, how to add and configure code

17609 6 2 min
Google Analytics in OpenCart, how to add and configure code

The Google Analytics code is installed in the Site Control Panel in the module in the Analytics section. There are other ways to install code on a site, but we will not talk about them, since for an inexperienced OpenCart user they are extremely complex and require changes to the engine code. However, they are not a better solution.

The OpenCart control panel has a standard module for embedding Google Analytics code :

  1. In the control panel, go to the “Add-ons” block, then “Add-ons”.
  2. Select “Statistics” from the drop-down list. In some versions it may be called “Analytics”.
  3. Click on the “+” module activation button opposite “Google Analytics”.
  4. A line with the name of your store will appear below.
  5. Click "Edit" next to it.
  6. In the Google Analytics Code tracking code field, paste the code copied from your Google Analytics or Google Tag Manager account.
  7. Change the module status to “Enabled”.
  8. Save your changes.
  9. The Code has now been added to all pages of your site.
  10. Go to any page on your site in your browser.
  11. Press F5 (page refresh).
  12. Press Ctrl+U and the page code will open in a new browser tab.
  13. Press Ctrl+F (a search field will appear).
  14. In the search field, enter the text "google".
  15. You will see the highlighted Google Analytics counter code.

Below are screenshots of the Google Analytics installation process, demonstrating how to install the code.

Установка кода Google Analytics в OpenCartУстановка кода Google Analytics в OpenCartУстановка кода Google Analytics в OpenCartУстановка кода Google Analytics в OpenCart
ChatGPT Consultant

Comments

Leave your comment or question
Добрый день. Как связаться с разработчиком модуля? есть вопрос по модулю. Дякую
Answer Admin

Это стандартный модуль.

Не работает так. Сделал по инструкции, а ничего не отобразилось. Почему не понимаю
Это всё хорошо, и код на страничке вижу, но не работает. На вашем сайте не удалось найти теги Google Аналитики. Выполните инструкции по добавлению фрагмента и попробуйте ещё раз.
спасибо, помогло!
ДОБРЫЙ ВЕЧЕР . У МЕНЯ НЕ СРАБАТЫВАЕТ : Нажмите клавиши Ctrl+F (появиться поле поиска). В поле поиска введите текст «google».
Подскажите а второй код, который написано вставить после открывающего тега, как вставить?
Answer Admin


Write Comment

Popular