Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 17h 20m 00s
Claim 50% off
Staff replied Templates

gtm not connected

Asked by Pedros 1 year ago Last activity 1 year ago

I add a gtm tag, it is visible in the code, but it is not verified.

Tag Assistant Not Connected
error
Could not connect to Tag Assistant Learn more

So far I have not had any problems with integrating the tag, what could be the cause?
Code added directly to index.php

1 reply

Paul Frankowski Senior Staff
1 year ago · edited

Hi Pedros,

  1. Editing index.php file from template is a very, very bad idea. Regardless of whether it is Joomla or Wordpress.
  2. Install Phoca Site plugin (phoca.cz), and use it for Custom Code, then publish plugin.
  3. We don't support custom code problems, and we are not Google Support.

W pierwszej kolejności musisz wejść na konto GTM, znaleźć unikalny kod kontenera i skopiować tag przeznaczony do sekcji <head> , a następnie wklej go w Phoca Site plugin w sekcji "head". Czasami musisz odczekać 24h, aby Google zaczęło go rozpoznawać. Niestety, tak to działa z uwagi na duże obciążenie. Jeśli masz masz RSFirewall to może uszkadzać ci twój wklejony kod.

Log in to reply.