01 Nis 2023 19:32 Yeni Konu Oluştur

Haberler:

Üye kayıt esnasında E-posta adresinizin doğru olduğuna ve Aktivasyon Mailinize bakmayı unutmayın.


Smf 2.1 analytics kodu nasıl eklenir?

Başlatan BöcekBaşı, 15 Mar 2019 19:41

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

**

  1. 66

  2. 15

  3. 4

Analytics kodu bir türlü ekleyemedim nasıl yapabilirim?

*

  1. 3,263

  2. 596

  3. 1077
eklediğiniz script kodlarında ' işaretlerin önüne \ işareti koymalısınız

örnek olarak bakınız http://smf.konusal.com/index.php?topic=1270.msg5914#msg5914

**

  1. 66

  2. 15

  3. 4
Alıntı yapılan: snrj - 15 Mar 2019 22:08eklediğiniz script kodlarında ' işaretlerin önüne \ işareti koymalısınız

örnek olarak bakınız http://smf.konusal.com/index.php?topic=1270.msg5914#msg5914
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-121239751-2"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-121239751-2');
</script>

kod bu hocam headden sonra body nin üstüne dediğiniz gibi ekledim ama olmadı hata verdi.

*

  1. 3,263

  2. 596

  3. 1077

index.template.php  bul
echo '
</head>
değiştir
echo '<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-121239751-2"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag(\'js\', new Date());

  gtag(\'config\', \'UA-121239751-2\');
</script></head>

**

  1. 66

  2. 15

  3. 4
Alıntı yapılan: snrj - 16 Mar 2019 18:22index.template.php  bul
echo '
</head>
değiştir
echo '<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-121239751-2"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag(\'js\', new Date());

  gtag(\'config\', \'UA-121239751-2\');
</script></head>
Teşekkürler hocam.


Benzer Konular (5)


MENU ×