Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Kupası
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Yeni Başlayanlar İçin WordPress’te Google Analytics Nasıl Kurulur?

Ziyaretçilerin içeriğinizle nasıl etkileşime girdiğini anlamak, bir web sitesi sahibi olarak hedeflerinize ulaşmanın anahtarıdır. Amacınız ister sadık bir okuyucu kitlesi oluşturmak, ister satışları artırmak ya da kendinizi alanınızda bir otorite olarak kabul ettirmek olsun, web sitesi trafik verilerine erişmek çok önemlidir.

İşte burada Google Analytics devreye giriyor. Google’ın ücretsiz ve güçlü bir aracı olan Google Analytics, hedef kitlenizin davranışları hakkında bilgi verir. Bu, web sitenizi ve içerik stratejinizi geliştirmek için veriye dayalı kararlar almanıza olanak tanır.

16 yılı aşkın deneyimimiz boyunca, Google Analytics’in kitlenizi tanımanın en iyi yolu olmaya devam ettiğine inanıyoruz. Ayrıca birçok kullanıcının WordPress sitelerine Google Analytics’i yüklemelerine ve kullanmaya başlamalarına yardımcı olduk.

Bu yazımızda Google Analytics’in neden önemli olduğunu ve WordPress’e Google Analytics’i nasıl kolayca kurabileceğinizi (adım adım) paylaşacağız.

How to Install Google Analytics in WordPress

İlk olarak, Google Analytics’in neden önemli olduğunu ve web sitenizi büyütmenize nasıl yardımcı olabileceğini açıklayacağız.

Bundan sonra, bir Google Analytics hesabına nasıl kaydolacağınızı ve WordPress sitenize yüklemek için farklı yöntemleri göstereceğiz.

Son olarak, Google Analytics’te trafik raporlarınızı nasıl görüntüleyeceğinizi açıklayacağız.

İşte bu makalede öğreneceklerinize hızlı bir genel bakış:

Hazır mısınız? Hadi başlayalım!

Google Analytics Blog Yazarları İçin Neden Önemlidir?

Bir blog açtığınızda, 1 numaralı hedefiniz daha fazla trafik ve abone elde etmektir. Google Analytics, size önemli istatistikleri göstererek veriye dayalı kararlar almanıza yardımcı olur. Görebilirsiniz:

Web sitenizi kimler ziyaret ediyor?

Analitiğin bu bölümü, hedef kitlenizin coğrafi konumunu, kullanıcının sitenizi ziyaret etmek için hangi tarayıcıyı kullandığını ve ekran çözünürlüğü, JavaScript desteği, Flash desteği, dil ve daha fazlası gibi diğer önemli bilgileri gösterir.

Bu veriler son derece kullanışlıdır ve çeşitli şekillerde yardımcı olabilir. Özel bir web sitesi tasarımı oluştururken, sitenizin hedef kitlenizle uyumlu olacağından emin olmak için kullanıcı verilerini kullanabilirsiniz.

Kullanıcılarınızın çoğunun Flash desteği yoksa sitenize Flash öğesi eklemekten kaçınmalısınız. Kullanıcılarınızın çoğu 1280 ekran çözünürlüğündeyse, tasarımınızın bu çözünürlükle veya daha küçük çözünürlükle uyumlu olduğundan emin olun.

İnsanlar web sitenize girdiklerinde ne yapıyorlar?

Kullanıcıların web sitenizde nereye gittiklerini, web sitenizde ne kadar kaldıklarını ve hemen çıkma oranını (ilk ziyarette sitenizden çıkan kullanıcıların yüzdesi) takip edebilirsiniz.

Bu bilgileri kullanmak hemen çıkma oranını düş ürebilir ve sayfa görüntülemelerinizi artırabilir.

Ayrıca en popüler makalelerinizi, çok iyi gitmeyen makalelerinizi ve kullanıcılarınızın aradığı içerik türlerini de bulabilirsiniz.

İnsanlar web sitenizi ne zaman ziyaret ediyor?

Siteniz için günün en yoğun saatlerine bakarak gönderinizi yayınlamak için en uygun zamanı seçebilirsiniz. Bu saat dilimi sizinkiyle uyumlu değilse, gönderinizi o saat için planlayabilirsiniz.

İnsanlar web sitenizi nasıl buluyor?

Analizlerin bu bölümü size kullanıcıların nereden geldiğini gösterir. Örneğin, arama motorlarını mı kullanıyorlar, doğrudan bağlantılara mı giriyorlar yoksa başka bir siteden gelen yönlendirme bağlantılarına mı tıklıyorlar?

Ayrıca ziyaretçilerinizin yüzde kaçının bu kaynakların her birinden geldiğini de gösterir. Google Analytics size bu kategorilerin her birinin bir dökümünü verir. Arama motoru kategorisi ise, size en çok trafiği hangi arama motorunun sağladığını gösterir; Google, Yahoo, Bing vb.

Yönlendirme kaynaklarının dökümü size en çok hangi sitelerle çalışmanız gerektiğini gösterir. En büyük yönlendirme kaynağınız Facebook ise, hedef kitlenizi özel hissettirmek için özel Facebook içeriğine ihtiyacınız vardır.

En önemli yönlendirme kaynağınız harici bir web sitesiyse, bu web sitesiyle bir ortaklık kurmayı düşünebilirsiniz(konuk gönder isi değişimi veya başka bir şey).

İnsanlar içeriğinizle nasıl etkileşime giriyor?

Google Analytics, kullanıcılarınızın sitenizin içeriğiyle nasıl etkileşime girdiğini gösterir. Kullanıcının yüzde kaçının sitenizdeki hangi bağlantıya tıkladığını ve çok daha fazlasını gösterir.

Google Analytics’te içerik deneyleri oluşturarak A/B split testleri yapabilir ve hedeflerinize ulaşmak için neyin en iyi sonucu verdiğini anlayabilirsiniz.

Kullanıcı etkileşimini görerek içeriğinizi kullanıcılarınıza göre düzenleyebilirsiniz. Yukarıdaki soruların yanıtlarını görerek siteniz için işe yarayan stratejilere odaklanabilir ve işe yaramayan yöntemlerden kaçınabilirsiniz.

Basitçe söylemek gerekirse, tahminleri ortadan kaldırın ve önemli olan istatistiklere odaklanın, böylece veriye dayalı kararlar alabilirsiniz.

Video Eğitimi

Subscribe to WPBeginner

Eğer yazılı talimatları tercih ediyorsanız, okumaya devam edin.

Google Analytics’e Nasıl Kaydolunur?

Google Analytics ücretsiz olarak kullanılabilir ve kaydolmak için tek ihtiyacınız olan bir Google veya Gmail hesabıdır. Kayıt işlemi oldukça basittir. Google Analytics hesabınızı oluşturmak için aşağıdaki adım adım talimatları izlemeniz yeterlidir.

1. Adım: İlk olarak, kaydolmak için Google Analytics web sitesini ziyaret etmeniz gerekir. Web sitesine girdiğinizde, ‘Bugün başlayın’ düğmesine tıklamanız yeterlidir.

Click get started today

Ardından, Google hesabınızla giriş yapmanız istenecektir.

Zaten bir Google veya Gmail hesabınız varsa, oturum açmak için bunu kullanabilirsiniz. Aksi takdirde, devam edebilir ve kendiniz için bir Google hesabı oluşturabilirsiniz.

Sign in using your Google account

Adım 2: Gmail hesabınızla oturum açtıktan sonra, aşağıdaki gibi bir karşılama ekranı göreceksiniz.

Burası Gmail hesabınızla Google Analytics’e kaydolacağınız yerdir. Devam edin ve ‘Ölçüme başla’ düğmesine tıklayın.

Click start measuring button

Bundan sonra sizden bir hesap adı girmeniz istenecektir.

Bu ad dahili olarak kullanılacaktır, bu nedenle işletme adınız gibi herhangi bir şey kullanabilirsiniz.

Enter your Google account name

Google Analytics ayrıca birden fazla hesap veri paylaşım ayarını da gösterecektir.

Bu ayarlar Google Analytics verilerinizin paylaşımı üzerinde kontrol sahibi olmanızı sağlar. Varsayılan ayarları koruyabilir ve bir sonraki adıma geçebilirsiniz.

Account data sharing settings

Adım 3: Bir sonraki ekranda, bir Google Analytics özelliği oluşturmanız gerekecektir.

Google, Google Analytics 4 veya GA4 olarak adlandırılan yeni bir Analytics sürümünü tanıttı. Bu, web sitenizi ve mobil uygulamalarınızı aynı hesapta izleyen en son sürümdür. Ayrıca, yeni özellikler, ölçümler ve raporlarınız için farklı bir arayüz elde edersiniz.

Devam edin ve bir mülk adı girin, raporlama saat diliminizi ve para biriminizi seçin. Ardından ‘İleri’ düğmesine tıklayın.

Enter property name

Bir sonraki ekranda, web siteniz için açılır menüden bir ‘Sektör kategorisi’ seçmeniz ve verilen seçeneklerden bir ‘İşletme boyutu’ seçmeniz gerekecektir.

İşiniz bittiğinde, sadece ‘İleri’ düğmesine tıklayın.

Enter business details

Ardından, iş hedeflerinizi seçmeniz ve Google Analytics’i işletmenizde nasıl kullanmak istediğinizi belirlemeniz gerekir. Bu, işletmeniz için kişiselleştirilmiş raporlar almanıza yardımcı olacaktır.

Örneğin, potansiyel müşteri oluşturmak, çevrimiçi satışları artırmak, marka bilinirliğini artırmak, kullanıcı davranışını incelemek ve daha fazlası gibi seçenekler vardır.

İhtiyaçlarınızı karşılayan birden fazla seçeneği veya verilen seçeneklerin tümünü seçebilirsiniz. Hesabınızda tüm Google Analytics raporlarının doldurulmasını sağlamak için ‘Temel raporları al’ seçeneğini belirlemenizi öneririz.

Choose your business objectives

İşiniz bittiğinde, ‘Oluştur’ düğmesine tıklamanız yeterlidir.

Adım 4: Şimdi Google Analytics Webs akış seçeneklerinizle karşılaşacaksınız.

Google Analytics’i bir WordPress sitesi için kurduğumuzdan, devam edin ve platform olarak ‘Web’i seçin.

Select data collection option

Bundan sonra, web sitenizin URL’sini ve Akış adını girmeniz gerekir.

Varsayılan olarak, Google Analytics’te ‘Geliştirilmiş ölçüm’ seçeneği etkin olacaktır. Bu, Google Analytics’te sayfa görüntülemelerini, kaydırmaları, giden tıklamaları, dosya indirmelerini ve daha fazlasını izlemenizi sağlar.

Not: MonsterInsights eklentisini kullanmayı planlıyorsanız, ‘Geliştirilmiş ölçüm’ seçeneğini kapatmalısınız. Aksi takdirde, eklenti iki kat daha fazla veri toplayacak ve görüntüleyecektir.

Ardından, ‘Akış oluştur’ düğmesine tıklayabilirsiniz.

Enter website URL and stream name

Artık Akış adınızı, URL’nizi, Kimliğinizi ve Ölçüm Kimliğinizi görebilirsiniz.

Ayrıca kaydedeceği farklı gelişmiş ölçümleri de gösterecektir.

View stream ID and measurement ID

En üstte, Google Analytics’i WordPress sitenize nasıl ekleyeceğinizi gösteren bir uyarı çubuğu da göreceksiniz.

Devam edin ve ‘Etiket talimatlarını görüntüle’ düğmesine tıklayın. Şimdi Google Analytics izleme kodunu WordPress web sitenize eklemenin farklı yollarını görmelisiniz.

View Analytics installation instructions

Ardından, ‘Manuel olarak yükle’ sekmesine geçebilirsiniz.

Ardından Google Analytics izleme kodunu göreceksiniz.

Install GA code manually

Devam edin ve bu izleme kodunu kopyalayın çünkü aşağıda kullandığınız yönteme bağlı olarak WordPress sitenize girmeniz gerekecektir. Ayrıca bu tarayıcı sekmesini açık bırakabilir ve gerektiğinde kodu kopyalamak için geri dönebilirsiniz.

Kodu WordPress sitenize yükledikten sonra tekrar ziyaret etmeniz gerekebileceğinden, Analytics tarayıcı sekmesini açık bırakmanızı öneririz.

Artık bir Google Analytics hesabı oluşturduğunuza göre, Google Analytics’i WordPress’e nasıl yükleyeceğinize bir göz atalım.

WordPress’te Google Analytics Nasıl Kurulur?

WordPress’te Google Analytics’i kurmanın birkaç farklı yolu vardır. Size ilk seçeneğin en kolay ve son seçeneğin en zor olduğu üç yöntem göstereceğiz.

İhtiyaçlarınıza en uygun olanı seçebilirsiniz.

Not: Google Analytics hesabınızda sayfa görüntülemelerinin çift izlenmesini önlemek için web sitenizde bu yöntemlerden yalnızca birini kullanmanız gerekir.

Yöntem 1: MonsterInsights tarafından WordPress için Google Analytics

MonsterInsights, WordPress için en popüler Google Analytics eklentisidir. Bloomberg, PlayStation, Zillow, WPBeginner ve daha fazlası dahil olmak üzere 3 milyondan fazla web sitesi bunu kullanıyor.

Google Analytics’i WordPress’e eklemenin en kolay ve açık ara en iyi yoludur (tüm kullanıcılar, yeni başlayanlar ve uzmanlar için). MonsterInsights hem ücretli premium eklenti hem de ücretsiz sürüm olarak mevcuttur. Bu eğitimde MonsterInsights’ın ücretsiz sürümünü kullanacağız.

E-ticaret takibi, reklam takibi, yazar takibi gibi daha gelişmiş özellikler istiyorsanız MonsterInsights Pro sürümünü kullanabilirsiniz. Bunları kurma süreci aynıdır.

Daha fazla bilgi için MonsterInsights incelememizin tamamını görebilirsiniz.

Hadi başlayalım.

Yapmanız gereken ilk şey MonsterInsights eklentisini yüklemek ve etkinleştirmektir. Daha fazla ayrıntı için WordPress eklentisi yükleme hakkındaki adım adım kılavuzumuza bakın.

Etkinleştirmenin ardından, eklenti WordPress yönetici menünüze ‘Insights’ etiketli yeni bir menü öğesi ekleyecek ve bir karşılama ekranı göreceksiniz. Devam edin ve ‘Sihirbazı Başlat’ düğmesine tıklayın.

Launch setup wizard

Üzerine tıklamak MonsterInsights kurulum sihirbazını açacaktır.

İlk olarak, web siteniz için bir kategori seçmeniz istenecektir (bir işletme web sitesi, blog veya çevrimiçi mağaza). Birini seçin ve ardından ‘Kaydet ve Devam Et’ düğmesine tıklayın.

Choose what describe your website

Ardından, MonsterInsights’ı WordPress web sitenize bağlamanız gerekir.

‘MonsterInsights’a Bağlan’ düğmesine tıklamanız yeterlidir.

Connect MonsterInsights with your site

Bu sizi Google hesaplarına götürecektir ve burada oturum açmanız veya zaten oturum açtıysanız bir Google hesabı seçmeniz istenecektir.

Devam edin ve Google hesabınızı seçin veya oturum açmak için e-postanızı girin.

Choose Google account to sign in

Ardından, MonsterInsights’ın Google Analytics hesabınıza erişmesine izin vermeniz istenecektir.

Devam etmek için ‘İzin Ver’ düğmesine tıklayın.

Allow access to your Google account

Bağlantıyı tamamlamak için bir sonraki adım, izlemek istediğiniz profili seçmektir.

Burada web sitenizi seçmeniz ve ardından devam etmek için ‘Bağlantıyı Tamamla’ düğmesine tıklamanız gerekir.

Connect analytics with your site

Bundan sonra, devam etmek için ‘Bağlantıyı Tamamla’ düğmesine tıklamanız yeterlidir. MonsterInsights şimdi Google Analytics’i web sitenize yükleyecektir.

Ardından, web siteniz için önerilen ayarları seçmeniz istenecektir.

Recommended settings

Varsayılan ayarlar çoğu web sitesi için işe yarayacaktır. Bir satış ortaklığı bağlantı eklentisi kullanıyorsanız, satış ortaklığı bağlantılarını gizlemek için kullandığınız yolu eklemeniz gerekir. Bu, Google Analytics’te satış ortaklığı bağlantılarınızı izlemenize olanak tanıyacaktır.

MonsterInsights ayrıca raporları kimin görebileceğini de soracaktır. Farklı WordPress kullanıcı rolleri seçebilirsiniz.

İşiniz bittiğinde, ayarlarınızı kaydetmek için ‘Kaydet ve Devam Et’ düğmesine tıklamanız yeterlidir.

Who can see the reports

Ardından, MonsterInsights size etkinleştirmek istediğiniz web sitesi izleme özelliklerinin bir listesini gösterecektir.

Aşağı kaydırabilir ve ‘Devam Et’ düğmesine veya ‘Şimdilik Atla’ seçeneğine tıklayabilirsiniz.

Choose which tracking features to enable

Bir sonraki ekranda MonsterInsights, Google Analytics izlemeyi başarıyla ayarladığınızı gösterecektir.

Google Analytics’in bağlandığını, izleme kodunun yüklendiğini ve verilerin toplanmaya başladığını görebilirsiniz.

Tracking should be all setup

Ardından, aşağı kaydırabilir ve lisans anahtarınızı girmek için bir alan görebilirsiniz.

Devam edin ve şimdilik ‘Yükseltme Yapmadan Kurulumu Tamamla’ seçeneğine tıklayın.

Continue setup without upgrading

Google Analytics’i WordPress web sitenize başarıyla eklediniz.

Google Analytics’te Gelişmiş Ölçümlemeyi Devre Dışı Bırakma

Şimdi, MonsterInsights’ın bir tane oluşturmasına izin vermek yerine GA4’te kendi başınıza bir Veri Akışı oluşturduysanız, Geliştirilmiş Ölçümü kapatmanız gerekir.

Bunun nedeni MonsterInsights’ın birden fazla özel geliştirilmiş izleme özelliği eklemesidir. Gelişmiş Ölçüm seçeneğini etkin bırakmak verilerinizi çarpıtacak ve yanlış sonuçlar gösterecektir.

İlk olarak, tarayıcınızdaki Google Analytics sekmesine veya penceresine gidebilirsiniz. Buradan, sol alt köşedeki ‘Yönetici’ ayarları seçeneğine tıklayın.

Switch to admin view in Google Analytics

‘Yönetici’ sayfasına geldiğinizde, farklı ayarlar göreceksiniz.

‘Veri Akışları’ seçeneğine tıklamanız yeterlidir.

Go to admin and data stream settings

Ardından, Veri Akışlarınızı göreceksiniz.

MonsterInsights ile bağladığınız veri akışını seçmeniz yeterlidir.

Select your data stream

Bir sonraki ekranda, ‘Geliştirilmiş ölçüm’ seçeneğini devre dışı bırakmanız gerekecektir.

Bunu yapmak için geçişe tıklamanız yeterlidir.

Disable enhanced measurement

Ardından, gelişmiş ölçümü kapatmak istediğinizi onaylayan bir açılır pencere açılacaktır.

Devam edin ve ‘Kapat’ düğmesine tıklayın.

Click turn off button for enhanced measurement

Google Analytics’te Veri Saklama Ayarlarını Değiştirme

Google Analytics varsayılan olarak veri saklama süresini 2 ay olarak ayarlar. Ancak, verilerinizi 2 ayın ötesinde özel raporlarda kullanabilmek için bunu değiştirebilirsiniz.

İlk olarak, Google Analytics’te Yönetici ” Veri Ayarları ” Veri S aklama bölümüne gitmeniz gerekir.

Open data retention settings

Ardından, ‘Olay verilerini saklama’ açılır menüsüne tıklayabilirsiniz.

Buradan ’14 ay’ seçeneğini seçmeniz ve ‘Kaydet’ düğmesine tıklamanız yeterlidir.

Change data retention settings

Google Analytics’in istatistiklerinizi göstermesinin biraz zaman alacağını unutmayın.

Google Analytics Raporlarını WordPress Panosunda Görüntüleme

MonsterInsights ile ilgili en iyi şey, Google Analytics raporlarınızı WordPress kontrol panelinizde görüntüleyebilmenizdir.

Analiz verilerinize hızlı bir genel bakış için Insights ” Reports sayfasını ziyaret etmeniz yeterlidir.

Dashboard reports

Ayrıca web sitenizde yaptığınız önemli değişiklikleri kaydetmek için doğrudan MonsterInsights raporlarınıza ek açıklamalar ekleyebilirsiniz.

Örneğin, yeni bir blog yazısı yayınladığınızda, yeni bir açılış sayfası eklediğinizde vb. bir not ekleyebilirsiniz. Böylece bu olayların trafiğinizi nasıl etkilediğini takip etmek kolaylaşır.

View your site notes under the report

Daha fazla ayrıntı için WordPress’te GA4 site ek açıklamalarının nasıl alınacağına ilişkin bu kılavuza bakın.

Ayrıca, trafiğinizi ve sayfa görüntülemelerinizi artırmak için en iyi performans gösteren içeriğinizi göstermenize olanak tanıyan bir Popüler Yazılar eklentisi ile birlikte gelir.

MonsterInsights Popular Posts Widget

Etkileşimi artırmak için otomatik olarak satır içi popüler gönderi bağlantıları eklemek için kullanabilirsiniz.

Çevrimiçi bir mağaza işletiyorsanız, satışları artırmak için her blog gönderisinin sonuna en iyi performans gösteren ürünlerinizi otomatik olarak ekleyebilir:

MonsterInsights popular products

Not: MonsterInsights daha önce Yoast tarafından WordPress için Google Analytics olarak biliniyordu. WPBeginner’ın kurucusu Syed Balkhi, 2016 yılında eklentiyi satın aldı ve MonsterInsights olarak yeniden markalaştırdı. Şimdi premium WordPress eklentileri ailemizin bir parçası.

Yöntem 2: WPCode ile WordPress’te Google Analytics’i Kurun

Bu yöntem MonsterInsights kadar iyi değildir çünkü gelişmiş izleme yapılandırması yapamazsınız ve Google Analytics verilerini WordPress kontrol panelinizde görüntüleyemezsiniz.

Öncelikle, bir Google Analytics hesabı oluştururken daha önce 4. Adımda kopyaladığınız Google Analytics izleme kodunuzu (Global site etiketi) kopyalamanız gerekecektir.

Install GA code manually

Ardından, WPCode eklentisini yüklemeniz ve etkinleştirmeniz gerekir. Daha fazla ayrıntı için, bir WordPress eklentisinin nasıl kurulacağına ilişkin adım adım kılavuzumuza bakın.

Etkinleştirmenin ardından Kod Parçacıkları ” Üstbilgi ve Altbilgi sayfasını ziyaret etmeniz gerekir. Burada, daha önce kopyaladığınız Google Analytics izleme kodunu ‘Üstbilgi’ bölümüne yapıştırmanız gerekir.

Enter tracking code in header using WPCode

Ayarlarınızı kaydetmek için ‘Değişiklikleri Kaydet’ düğmesine tıklamayı unutmayın.

Hepsi bu kadar, Google Analytics’i sitenize başarıyla yüklediniz.

Yöntem 3: Google Analytics’i WordPress Temasına Yükleyin

Bu yöntem, koda aşina olan ileri düzey kullanıcılar içindir. Biraz güvenilmezdir çünkü temayı değiştirir veya güncellerseniz kodunuz kaybolacaktır.

Bu yöntemin kullanılmasını neredeyse hiç önermiyoruz.

WordPress dosyalarınıza ilk kez kod ekliyorsanız, WordPress’te kod parçacıklarının nasıl kopyalanıp yapıştırılacağına ilişkin kılavuzumuza göz atmalısınız.

Öncelikle, daha önce 4. Adımda kopyaladığınız Google Analytics izleme kodunu kopyalamanız gerekecektir. Bu kodu ‘Manuel olarak yükle’ sekmesi altındaki Web Akışı Kurulumu bölümünde görüntüleyebilirsiniz.

Install GA code manually

Şimdi bu kodu WordPress tema dosyalarınıza eklemenin iki yaygın yolu vardır. Bunlardan birini seçebilirsiniz (ikisini birden değil).

1. header.php Dosyasına Kod Ekleyin

WordPress temanızdaki header.php dosyasını düzenleyin ve daha önce kopyaladığınız Google Analytics izleme kodunu <body> etiketinden hemen sonra yapıştırın.

Değişikliklerinizi kaydetmeyi ve dosyayı sunucunuza geri yüklemeyi unutmayın.

2. İşlevler Dosyası aracılığıyla ekleyin

Google Analytics izleme kodunu WordPress işlevleri dosyasına da ekleyebilirsiniz. Böylece izleme kodu WordPress sitenizdeki her sayfaya otomatik olarak eklenecektir.

Bu kodu temanızın functions.php dosyasına eklemeniz gerekecektir.

<?php
add_action('wp_head', 'wpb_add_googleanalytics');
function wpb_add_googleanalytics() { ?>
 
// Paste your Google Analytics tracking code from Step 4 here
 
<?php } ?>

Yukarıdaki kod parçacığında yer alan ‘4. Adımdaki Google Analytics izleme kodunuzu buraya yapıştırın’ bölümünü Google Analytics kodunuzla değiştirmeyi unutmayın.

Google Analytics’te Raporları Görüntüleme

Google Analytics, istatistiklerinizden toplanan bir veri hazinesini size gösterebilir. Bu verileri Google Analytics kontrol panelinizi ziyaret ederek görüntüleyebilirsiniz.

Sol sütunda yerleşik Google Analytics raporlarını göreceksiniz. Her bölüm farklı sekmelere ayrılmıştır ve bir sekmeye tıklamak daha fazla seçenek göstermek için sekmeyi genişletecektir.

GA4 reports

Google Analytics 4 raporları, önceki Universal Analytics raporlarından biraz farklıdır. Sol sütunda özel bir Raporlar seçeneği göreceksiniz. Raporlar, Yaşam Döngüsü ve Kullanıcı olmak üzere 2 geniş kategori altında gruplandırılmıştır.

GA4 raporlarında bulacağınız en belirgin farklardan biri, hemen çıkma oranı metriğinin olmamasıdır. Bunun dışında yeni bir raporlama arayüzü, etkileşim süresi gibi yeni metrikler, GA4’te hedef olmaması ve daha fazlasını bulacaksınız.

İşte Google Analytics 4’teki farklı raporların bir dökümü:

  • Realtime raporu Universal Analytics’e benzer ve sitenizdeki aktif kullanıcıları gerçek zamanlı olarak gösterir.
  • Edinme raporu, kullanıcıların web sitelerinizi bulmak için organik, yönlendirme, e-posta ve satış ortaklığı gibi hangi araçları kullandığını gösterir.
  • Etkileşim raporu, sitenizde gerçekleşen dönüşümleri ve etkinlikleri gösterir.
  • Para kazanma raporu, uygulama içi satın alımlar ve yayıncı reklamları gibi yeni raporlarla birlikte tüm e-ticaret verilerinizi tek bir yerde gösterir.
  • Eldetutma raporu temel olarak yeni ve geri dönen ziyaretçileri gösterir ve kullanıcı elde tutma hakkında bilgi edinmenize yardımcı olur.
  • Demografi raporu, en iyi ülkelerden, şehirlerden ve daha fazlasından gelen web sitesi trafiğini görmenize yardımcı olur. Ayrıca cinsiyet dağılımını ve ilgi alanı raporlarını da gösterir.
  • Teknik rapor, insanların web sitenizi görüntülemek için en çok hangi cihazı, tarayıcıyı, işletim sistemini, uygulama sürümünü ve ekran boyutunu kullandığını gösterir.

Google Analytics’ten En İyi Şekilde Yararlanma

Google Analytics, tonlarca harika özelliğe sahip inanılmaz güçlü bir araçtır. Bazıları oldukça açık ve kullanımı kolayken, diğerleri bazı ek kurulumlar gerektirir.

İşte Google Analytics raporlarından en iyi şekilde yararlanmanıza yardımcı olacak kaynaklardan bazıları.

Google Analytics en iyi Google Search Console (eski adıyla Google Web Yöneticisi Araçları) ile çalışır. Web sitenizin arama sonuçlarında ne durumda olduğunu görmenizi sağlar. Web sitenizi büyütmek için nasıl kullanacağınızı öğrenmek için Google Search Console kılavuzumuzun tamamına bakın.

WordPress SEO sıralamanızı iyileştirmek ve daha fazla trafik almak istiyorsanız, hepsi bir arada bir SEO araç seti olan WordPress için AIOSEO eklentisini kullanmanızı öneririz.

AIOSEO ‘nun kullanabileceğiniz ücretsiz bir sürümü de var.

Bu eklenti, WordPress sitenizi uygun şema işaretlemesi, site haritaları ve SEO sıralamanızı iyileştirmek için ihtiyacınız olan her şeyle tamamen optimize etmenize yardımcı olacaktır.

Umarız bu makale WordPress’e Google Analytics’i nasıl yükleyeceğinizi öğrenmenize yardımcı olmuştur. Ayrıca Google Analytics ve Jetpack İstatistikleri hakkındaki rehberimizi veya WordPress için en iyi analiz çözümleri uzman seçimimizi görmek isteyebilirsiniz.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Açıklama: İçeriğimiz okuyucu desteklidir. Bu, bazı bağlantılarımıza tıklarsanız komisyon kazanabileceğimiz anlamına gelir. WPBeginner'ın nasıl finanse edildiğini, neden önemli olduğunu ve nasıl destek olabileceğinizi görün. İşte editoryal sürecimiz.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Ultimate WordPress Araç Kiti

Araç setimize ÜCRETSİZ erişim sağlayın - her profesyonelin sahip olması gereken WordPress ile ilgili ürün ve kaynaklardan oluşan bir koleksiyon!

Reader Interactions

848 yorumBir Cevap Bırakın

  1. Syed Balkhi

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. jinson

    Hai.. I edited header.php file for Verifing Google Analitycs for my WordPress blog http://lastly.org. But after that it shows “The Google Analytics tracking code has not been detected on your website’s home page.” I tried after half an hour still the same result.
    Finally I used “Insert Header footer plugin and get the result.
    Thanks Syed.

  3. Akhil

    Actually I am using one WordPress plugin Google Analytics as I don’t want display the results on my website but I want them on WordPress itself. I have installed and configured the plugin successfully, one day it showed some visits on my websites but today it is showing same status as if no one has visited the website. But my friends have visited the website, that I have confirmed. What could be the issue?
    As someone said that google may take 3 to 4 hours to update the status, I waited. But the whole day has passed, still it is not showing any update.

    Thanks

  4. Aarish Maluja

    I have done everything right.It is showing everything ok but the data is not increasing from last month.my website is http://www.tecq.in.please help.

    • WPBeginner Support

      Aarish, Google Analytics code can not be found on your site. Please refer to second section of the article and choose another method to insert code into your WordPress site.

      Yönetici

  5. aarish

    i installed the tracking info correctly but the data is not increasing .It is not showing any visits.still on zero

    • WPBeginner Support

      Check your Analytics dashboard, does it detect code on your site? Generally, when Google Analytics is added to a site for the first time it may take a while before you can see any data.

      Yönetici

  6. Misty Young

    Thank you so much for your simple instructions! I was able to generate the Google Analytics code quickly and found the right spot in my theme to insert it within a couple minutes. Very helpful, thank you again!

  7. Vince

    Hi…I installed the ‘insert headers and footers’ plug-in to my wp and copied my Google Analytics code to the footers box under settings, clicked save but GA is telling me the tracking is not installed. I did this 24 hrs ago. Did I do something wrong? Can you help?

    • WPBeginner Support

      can you see the analytics code in your site’s source code? You can view source by visiting your site, right clicking on any empty space and selecting view source from the menu. On the view source scroll down the document and see if you can find Google Analytics code there. Alternatively, you can try the second method described in the article.

      Yönetici

  8. Mary

    I liked this post because anything to do with google seems to be quite complicated

    But I tried the plugin you recommended but GA wasn’t tracking.

    SO I just put the code on the page and it still isn’t tracking.

    Any advice? Thanks Mary

  9. Mary

    Thank you for this post, but google analytics isn’t showing up on my site

    I pasted the code into the footer of the “header and footer plugin”.
    It was blank.
    I saved the changes.

    But where will I find the analytics page? There is nothing labled google analytics.
    Thanks Mary

    • Mehul

      Let me know if you need help. I will be happy to help you in installing the Google Aanalytics Code on your website.

    • Alo Knows

      You’ll find all the Analytics data on your GA Account. Not on wordpress.

  10. Latreasa

    Can I add it to WordPress.com blog if my domain is hosted by godaddy.com? I would like to do this without having to change my blog to WordPress.org

    Regards

  11. Alin

    If you install Google Analytics Dashboard for WP you will be able to display Google Analytics data and statistics, in a chart, inside your WordPress Blog.

  12. Eddy

    Very useful post. I have a problem I install the GA wordpress plugin and when I go to the Settings > Google Analytics don’t show me anything only the title “Google Analytics for WordPress Configuration” what’s wrong with this? please I need help

  13. Zoe

    Thank you for this tutorial.

  14. Lula

    Someone should really mention at some point that if you’re using wordpress.com (not wordpress.org) and you don’t have a separate software purchased for your sites hosting you CANNOT add google analytics there is no ability to add your own plugins. I think they think it’s better for wordpress to handle everything but I would have liked to have known this before starting.
    :X

    • Editorial Staff

      Sorry Lula, we have written numerous posts about the differences, but we simply cannot add on every article that this tip is only for WordPress.org users. All articles written on this site is intended for self-hosted WordPress users.

      Yönetici

  15. Ann

    Thanks for the helpful tutorial. I installed GA using your plugin about a week ago and the page views that GA is showing are significantly less than what Jetpack is telling me. Page views according to GA are roughly half of page views per Jetpack. Is this typical?

  16. Anna

    Hi
    Thanks for the great simple instructions for beginners like me.
    I have installed this plugin successfully and activated it but I am unable to add the Google Analytics code as there is no Settings option!
    Under the Plugin name I only get two options: Deactivate or Edit
    I am probably being stupid but where can I find the plugin Settings option?
    Many thanks for your help

    • Noumaan Yaqoob

      @Anna the plugin settings are located under Settings > Insert Headers and Footers.

  17. Fran

    Status: Tracking Not Installed
    Last checked: Jun 16, 2013 7:44:16 PM PDT
    The Google Analytics tracking code has not been detected on your website’s home page. For Analytics to function, you or your web administrator must add the code to each page of your website.

    I used the header/footer plug in, followed instructions, and received this code.
    What should I do now? I’m hosted WP btw.

    • Editorial Staff

      Depending on the theme you are using, it may not have the default wp_head(); or wp_footer(); functions in place. Also if you have a caching plugin installed such as WP Super Cache or W3 Total Cache, then you need to empty the cache.

      Yönetici

      • Jesse

        If the theme is not compatible with header / footer plug-in for analytics, is best to then copy the script manually into every page or is there a way to add the format required to the theme? Thanks!

        • WPBeginner Support

          No, you can still add the code in your theme’s footer.php file just before the /body tag.

  18. Kristina Larse

    Hi
    I added the tracking code to the header useing the plugin – i went in to my webshell and found the function.php file (in the them folder)- pastede

    // Placede my code here and removede the //

    But no matter where i try to paste it in the begingne, the end, efter the first break – the site just breaks down.

    Any idea whaat im doeing wrong?

    • Kristina Larsen

      //The code i pastede was like this

      // Placede my code here and removede the //

      //

  19. Waheed

    Thanks For This Great Tutorial :)
    I have One Question… i installed The Header and Footers Plugin, So Now I have To paste the Google analytic script In Header of the Plugin setting or Both Header and Footer?

    Thanks in advance?

  20. Chaotic Kristy

    Thanks this helped me out a lot

  21. Adam Moustafa

    I tried the plugin and the direct method but it still says tracking not installed.

    From the google analytics plugin on WP i do get information, though. Any help would be greatly appreciated.

  22. Mahmudul

    Thanks for this helpful post :D

  23. Matthew P. Schneider, LC

    What are the advantages of this over Site stats using JetPack. I have a self-hosted blog but use WordPress.com statistics that are available in the JetPack plugin.

    • Editorial Staff

      Google Analytics is far more advanced and give you much more data. However for some beginners it can get a little complicated. Jetpack Stats give simple data, but its easy to use.

      Yönetici

  24. Tiffany

    I can’t find my footer or available plugins. Is there a real step-by-step once you are in your wordpress blog ‘for dummies’? Help!

    • Editorial Staff

      If you can’t add plugins, then you are probably using WordPress.com. This will only work for self-hosted sites.

      Yönetici

  25. TJ Ellis

    Amazing blog post it worked nicely! Thanks again

  26. Lanaya Green

    That is what it is about getting useful information thanks for the details it makes it so simple to have something you can follow step by step… Thank you rock on brother

  27. leo wolf

    Thank you for the clear stepwise description. I had already an account with Google Analytics showing the results on the website. Now I copied the script code in the functions.php, so far so good. Where and when can I expect the GA output now? Is it displayed in the footer?

    BTW: I don’t use a standard theme, but one built from scratch so maybe I miss something?

    Thnx in advance, Leo

    • Editorial Staff

      The output is not visible unless you view the source code of the page. You should see it towards the bottom in the source code.

      Yönetici

      • leo wolf

        The title of this post suggests that you can have GA data at your site. But if is not visible, what’s the use then?

        • Editorial Staff

          Most tracking software will NOT make your data visible to the general public. Google analytics is a tracking software. You install it on your WordPress site, so you can get better insights about your audience. Google analytics works silently behind the scenes to capture data about your audience such as (what time they visited your site, who referred them, which pages they viewed etc).

  28. Louise Bibby

    Thanks so much for this info. It helped me overcome my paralysis with anything related to code. It was really useful!! Cheers Louise

  29. Alan

    Where do you get the code from step 6 if you do not get it the first time? I do not see it again when I log in.

    • Editorial Staff

      Login to Google Analytics. Look in the orange bar where it says Admin. Click on that. Under the accounts, click on the account that you want the code of. Under that account, you will see the property. Click on that property. There you will see a tab for Tracking info.

      Yönetici

  30. Webbis

    This helped me a lot! But how do I do to measure my subdomains in the same account?

  31. Carly

    I wanted to do the paste. I made it to the footer.php page but there is no tag on that page so I can’t paste before it. What am I missing? Plus, I closed the Google page before reading your instructions not to do so. (I did copy the code.) Do I need to start over with Google? Thanks.

    • Editorial Staff

      No you do not. Just use the plugin we are recommending in the article above, and it will take care of it.

      Yönetici

  32. Luis

    Thanks! The header and footer plugin helped me a lot!

  33. Naeem

    Thank you for this post.

    I am totally new in blogging and has recently set up a blog using wordpress platform.

    I have set up analytics account and paste the code using my theme’s option.

    Now my account is showing that tracking code installed.

    But the problem is in the audience section it is showing 0 visits while in the real time section it is showing 2 visitors.

    I am totally confused.

    ( My blog is under construction. Me and one of my friend is the only visitor. And I was unable to find single domain option. there are subdomain, mutiple top level domain options but no single domain option.)

    Can you please help me.

      • Michael Hickey

        I’m not at all sure what I am doing so perhaps you can help. Someone else that is not available now laid out my site. I was told to cut and paste the Google Analytics code one line below this last line of each page of my simple WP site. However, I cannot see where to do that for the Home Page. There is not a tab for the Home Page from the Dashboard. Any help is appreciated.

        • Editorial Staff

          Use our plugin that we mentioned, and it will add it on all pages of your site.

  34. Bob

    Does this plugin work retrospectively: that is to say, does it enter the the code into existing headers for pages that I’ve already developed on my WordPress site? I’ve put the script code in the header section and pressed save settings, but I’m not sure that that’s all I need to do.

    Any assistance would be gratefully received.

  35. Ameh

    Hi, great tutorial. Just one question. I have a desktop site and a mobile site. They both use different themes but have the same domain (www.dapopeyoh.com), so do i enter the google code in the footer.php file of one theme or both themes? Thanks.

  36. Saad

    Thank you so much for guiding me. I’ve completed and now waiting for 12-24 hours :)

  37. Omar

    I used the “Insert Header and Footer” plugin and pasted the google analytics code into the header in the settings of the plugin. I saved the settings and when I log into google analytics, the status is still “tracking is not installed.” Did I do something wrong and do I simply have to wait a while?

    • Editorial Staff

      If it is not working, then it means that your theme does not have wp_head(); in the header.php which is a standard for all WP themes.

      Yönetici

      • Ryan

        So how would we be able to include the wp_head(); to the site?
        I have the same issue (I think) – tried different ways but tracking still stating not installed.

        • Editorial Staff

          It is supposed to be included in your theme’s header.php file in the head markup.

  38. David

    We have just started a WP blog as a sub-directory to our main site. We used the main site analytics code in the WP blog but I am not seeing any information about the pages visited in the blog. Should we create a separate analytics account for the blog sub-directory? If so, will that show us information about where visitors move from the blog to the main site?

  39. Monetsky

    Hi. Thanks for this tutorial. It simplified my life using the plugin to insert the code. I was wondering thoughif theres a way to get previous months data into google analytics? I only installed the code now and opened an account. Just wondering.. Thanks in advance. Great work!

    • Editorial Staff

      It cannot show you the data of things it didn’t track. The only way google can give you the data is if their script is on your page. Otherwise, they can’t.

      Yönetici

  40. Bob Furber

    I followed the instructions to pate in footer.php, and the Tracking status shows “Receiving Data”.

    However, when I go to the bottom of the Word Press Dashboard, to the Google Analytics Dashboard Widget, there is a note:

    “You need to log in and select an account in the options panel.”

    On clicking the options panel or Settings -> Google Analytics Dashboard, I get the following error:

    “Error gathering analytics data from Google: GDatainsufficientPermissionsUser does not have any Google Analytics account. Please try again later.”

    The problem is later does not arrive and I can find no way out.

    • Editorial Staff

      The issue you are describing is with a specific plugin that you are using “Google Analytics Dashboard Widget”. You should ask that question in their support forum.

      Yönetici

  41. Lisa - Une Belle Vie

    Hey, amazing that this is possible, but is google analytics replacing the normal wpstats ? Do you lose your views and information from that ?
    Thankyou!

    • Editorial Staff

      WP Stats is not a built-in WordPress plugin in self-hosted WordPress. Google Analytics is definitely a more robust platform.

      Yönetici

  42. Lynette Chiang

    When you open Settings>Insert Header and Footer, there are two fields. You don’t specify above whether the code is to go in one field or both.

  43. marie

    My Google Analytical has stopped tracking and is showing all 0’s for the past week. Can you advise why?

    • Editorial Staff

      Is the code still added in your site? Did you change your theme? The only reason for it to be zero is if the code from your site got removed.

      Yönetici

      • Savita

        My Google Analytical has stopped tracking and is showing all 0′s for the past week. Can you advise why?
        I looked in the footer if the code is still there, but I don’t remember what the code was or looks like (did not make a note of it so it seems…). It does not look good. So what can I do now?

        Above the in the footer.php it says:

        Thank you.

  44. vida

    hello
    my wordpress site is a free one and i don’t see any option for plugins. The site is http://www.lavidavidzi.wordpress.com i’m wondering if this url has the ability to add plugins. I can’t even find the footer option you’re referring to …am i even able to get google analytics ?

  45. Lauren

    How do I add a plugin? WordPress doesn’t let me edit my coding. I downloaded one of the plugins but how do I get it on my site?

    • Editorial Staff

      Please refer to our Videos that will show you how to add plugins in WordPress.

      Yönetici

  46. figz91

    I tried to do this and lost everything, I think its because I put in the function.php coding in wrong but did it in the section where it said I was able to add in extra coding anyway.
     
    My site isn’t opening, neither my admin page to correct the problem it just says theres an http 500 error, I’m clueless and scared, is there anyway I can fix this problem? Please help.

    • wpbeginner

       @figz91 Yes, you would need to go through the FTP. Send us an email, and we can help you fix it.

      • Heidi

        The same thing just happened to me, please help me fix this asap!

        • Editorial Staff

          Heidi, you would have to use FTP to fix it. You are probably getting a syntax error because you pasted the code improperly.

  47. AdamCollins

    Aloha, so I signed up for analytics and placed the code in my theme options where there was a spot for my analytics built into the wp theme.  I also have a squeeze page on the blog. part of the domain and wondering do I upload the same code, or do I get another code?  Thanks so much.
     

    • wpbeginner

       @AdamCollins You can use the same code. Because that is on a separate page. You can see traffic by pages in Google Analytics.

  48. buckingham87

    Yeh hi… i tried to follow all this and now i have lost everything! i cant even login to my admin page!!
     
    HELP

    • wpbeginner

       @buckingham87 That probably happened because you pasted the code improperly in your functions.php file. https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/

      • figz91

         @wpbeginner I’m having the same problem Buckingham is and I’m about to breakdown. Regardless of why it’s happening I need to get back my 4 years worth of content and I can’t even get to my admin page let alone the actual site.
         
        Is there anyway to fix this. I’m clueless and have no idea what to do. Please help.

  49. Tommy Stuart

    What exactly does the following mean? I have a website that I put together compliments of Wealthy Affiliate University. Does that mean it’s a self-hosted or is it a free word press site?

    “Note: This is only for Self-Hosted WordPress.org blogs. Free WordPress.com sites cannot use Google Analytics. Maybe it’s time to upgrade from free WordPress.com to Self-Hosted WordPress? Consider using our Free WordPress Blog Setup program.”

    WHICH?

    • wpbeginner

      Go in your WordPress admin panel and click on Appearence > Editor … If you can edit all of your theme files, then you are on self-hosted.

  50. pradeepnairjc

    Very useful post. How should I add tracking in case I am using WordPress as a Subdirectory? For example- http://www.domain.com/blog.

    Do I copy -paste the same tracking code in the footer file or do I need to generate a new tracker code for this? I installed the analytics plug-in and configured it but somehow it never recorded visits although the data was being received successfully.

Bir Cevap Bırakın

Yorum bırakmayı seçtiğiniz için teşekkür ederiz. Lütfen tüm yorumların yorum poli̇ti̇kasi uyarınca denetlendiğini ve e-posta adresinizin yayımlanmayacağını unutmayın. Ad alanında anahtar kelime KULLANMAYIN. Kişisel ve anlamlı bir sohbet edelim.