<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>googleアドセンス | gungiiのなるほどHack&amp;Tips</title>
	<atom:link href="https://gungii.com/category/google-adsense/feed/" rel="self" type="application/rss+xml" />
	<link>https://gungii.com</link>
	<description>「なるほど」と納得できる経験(実例)と知識(手順)を提供します。</description>
	<lastBuildDate>Thu, 20 Jun 2024 00:58:12 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://gungii.com/wp/wp-content/uploads/2022/02/cropped-favicon-32x32.png</url>
	<title>googleアドセンス | gungiiのなるほどHack&amp;Tips</title>
	<link>https://gungii.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>ブログ記事に勝手に表示される虫眼鏡とリンクを消す方法</title>
		<link>https://gungii.com/mgdelete-info/</link>
		
		<dc:creator><![CDATA[gungii]]></dc:creator>
		<pubDate>Thu, 20 Jun 2024 00:54:18 +0000</pubDate>
				<category><![CDATA[googleアドセンス]]></category>
		<guid isPermaLink="false">https://gungii.com/?p=24800</guid>

					<description><![CDATA[WordPress(cocoonテーマ)でブログ記事を更新していると、記事中の文字に虫眼鏡の検索バーのリンクが付いてしまって困ったことはありませんか？何も設定していないにも関わらず、自動的に虫眼鏡と文字リンクが表示されて [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>WordPress(cocoonテーマ)でブログ記事を更新していると、記事中の文字に虫眼鏡の検索バーのリンクが付いてしまって困ったことはありませんか？何も設定していないにも関わらず、自動的に虫眼鏡と文字リンクが表示されてしまっています。見出しタグまでも虫眼鏡と文字リンクとなって、読みづらく、うっとおしいです。今回は勝手につく虫眼鏡と文字リンク、そして青い検索バーを消す方法をご紹介します。</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="656" height="372" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete01.png" alt="" class="wp-image-24802" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete01.png 656w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete01-300x170.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete01-500x284.png 500w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete01-120x68.png 120w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete01-160x90.png 160w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete01-320x180.png 320w" sizes="(max-width: 656px) 100vw, 656px" /></figure>



<p>見出しタグにまでも、虫眼鏡と文字リンクが付いています</p>



<figure class="wp-block-image size-full"><img decoding="async" width="656" height="365" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete02.png" alt="" class="wp-image-24803" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete02.png 656w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete02-300x167.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete02-500x278.png 500w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete02-120x68.png 120w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete02-160x90.png 160w" sizes="(max-width: 656px) 100vw, 656px" /></figure>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">現象</a></li><li><a href="#toc2" tabindex="0">原因</a></li><li><a href="#toc3" tabindex="0">対処</a><ol><li><a href="#toc4" tabindex="0">広告インテントの変更</a></li><li><a href="#toc5" tabindex="0">広告インテントの確認</a></li></ol></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">現象</span></h2>



<p>ブログ記事内の特定の単語が「(虫眼鏡のマーク)○○」という表示になっており、そこをクリックすると検索結果画面の様な画面が表示されます。自分で設定した覚えがなく、勝手に設定されています。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="656" height="372" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete11.png" alt="" class="wp-image-24804" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete11.png 656w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete11-300x170.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete11-500x284.png 500w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete11-120x68.png 120w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete11-160x90.png 160w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete11-320x180.png 320w" sizes="(max-width: 656px) 100vw, 656px" /></figure>



<p>「パソコン」をクリックすると、</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="614" height="343" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete12.png" alt="" class="wp-image-24805" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete12.png 614w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete12-300x168.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete12-500x279.png 500w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete12-120x68.png 120w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete12-160x90.png 160w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete12-320x180.png 320w" sizes="(max-width: 614px) 100vw, 614px" /></figure>



<p>「スマホ」をクリックすると、</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="611" height="317" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete13.png" alt="" class="wp-image-24806" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete13.png 611w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete13-300x156.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete13-500x259.png 500w" sizes="(max-width: 611px) 100vw, 611px" /></figure>



<p>商品の広告ページが表示され、購買に繋げられるようです。つまり、商品に繋がる様な記事(文字)の場合は、虫眼鏡と文字リンクが設定されるようです。ちなみに、次の様な記事には虫眼鏡と文字リンクが設定されません。商品に繋がる文字がないからです。(文字があったとしても、記事の中でどのくらい出力しているか等のアルゴリズムによって設定の有無は決まっている感じです)</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="599" height="409" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete14.png" alt="" class="wp-image-24807" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete14.png 599w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete14-300x205.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete14-500x341.png 500w" sizes="(max-width: 599px) 100vw, 599px" /></figure>



<h2 class="wp-block-heading"><span id="toc2">原因</span></h2>



<p>勝手に青い検索バーがつく原因は、Google Adsenseが提供しているインテント広告です。</p>



<p>インテント広告には、「広告インテントリンク」と「広告インテントアンカー」の2つがあり、自動的に検索バーがつくのは「広告インテントリンク」です。ページ下部にアンカー広告の様な表示がされるものは、「広告インテントアンカー」といいます。<br>この広告は2024年4月16日に始まったばかりの広告ですが自動広告の設定をオンにしている場合、新広告の配信に合わせて勝手に表示されてしまうというわけです。おそらく何等かの設定などの際に内容を確認しないで設定していたのでしょう！</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="587" height="740" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete21.png" alt="" class="wp-image-24808" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete21.png 587w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete21-300x378.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete21-500x630.png 500w" sizes="(max-width: 587px) 100vw, 587px" /></figure>



<h2 class="wp-block-heading"><span id="toc3">対処</span></h2>



<p>インテント広告を消すには、アドセンスの管理画面上からインテント広告をオフにします。</p>



<h3 class="wp-block-heading"><span id="toc4">広告インテントの変更</span></h3>



<h4 class="wp-block-heading">「広告」のクリック</h4>



<p>アドセンスの管理画面から「広告」をクリックして、「サイトごと」タブを選択します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="588" height="377" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete31.png" alt="" class="wp-image-24809" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete31.png 588w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete31-300x192.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete31-500x321.png 500w" sizes="(max-width: 588px) 100vw, 588px" /></figure>



<h4 class="wp-block-heading">編集ボタンのクリック</h4>



<p>「サイトごと」タブから、インテント広告を停止したいサイトの横にある編集ボタン(鉛筆マーク)をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="594" height="271" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete32.png" alt="" class="wp-image-24810" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete32.png 594w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete32-300x137.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete32-500x228.png 500w" sizes="(max-width: 594px) 100vw, 594px" /></figure>



<h4 class="wp-block-heading">「インテント重視のフォーマット」の選択</h4>



<p>「インテント重視のフォーマット」を選択します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="605" height="308" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete33.png" alt="" class="wp-image-24811" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete33.png 605w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete33-300x153.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete33-500x255.png 500w" sizes="(max-width: 605px) 100vw, 605px" /></figure>



<h4 class="wp-block-heading">「広告インテント」のチェックを外す。</h4>



<p>「広告インテント」のチェックを外します。(チェックを外すと詳細オプションのチェックも外れます。)</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="479" height="388" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete34.png" alt="" class="wp-image-24812" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete34.png 479w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete34-300x243.png 300w" sizes="(max-width: 479px) 100vw, 479px" /></figure>



<h4 class="wp-block-heading">「戻る」ボタンのクリック。</h4>



<p>チェックを外したら、「戻る」ボタンをクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="226" height="354" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete35.png" alt="" class="wp-image-24813"/></figure>



<h4 class="wp-block-heading">「保存」</h4>



<p>最後に「サイトに適用」を押して、「保存」を押下すれば変更完了です！</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="565" height="494" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete36.png" alt="" class="wp-image-24814" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete36.png 565w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete36-300x262.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete36-500x437.png 500w" sizes="(max-width: 565px) 100vw, 565px" /></figure>



<h3 class="wp-block-heading"><span id="toc5">広告インテントの確認</span></h3>



<p>変更の結果、虫眼鏡と文字リンク、そして青い検索バーは消えました。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="664" height="833" src="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete37.png" alt="" class="wp-image-24815" srcset="https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete37.png 664w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete37-300x376.png 300w, https://gungii.com/wp/wp-content/uploads/2024/06/mgdelete37-500x627.png 500w" sizes="(max-width: 664px) 100vw, 664px" /></figure>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>「第三者コードの影響を抑えて下さい」の対処方法(cocoon)</title>
		<link>https://gungii.com/thirdp-info/</link>
		
		<dc:creator><![CDATA[gungii]]></dc:creator>
		<pubDate>Mon, 11 Dec 2023 05:42:10 +0000</pubDate>
				<category><![CDATA[googleアドセンス]]></category>
		<guid isPermaLink="false">https://gungii.com/?p=23996</guid>

					<description><![CDATA[最近はブログの表示速度が重視されています。Googleは、特にモバイルファースト重視なので、モバイルスコアが低いと順位下落の可能性があります。2020年5月初めにgoogleが「CoreWebVitals」を発表して以降 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>最近はブログの表示速度が重視されています。Googleは、特にモバイルファースト重視なので、モバイルスコアが低いと順位下落の可能性があります。2020年5月初めにgoogleが「CoreWebVitals」を発表して以降、特に2021年以降サイトの評価が厳しくなったことを実感します。<br>PageSpeed Insightsをチェックすると「第三者コードの影響を抑えてください」と表示されます。第三者コードとは外部サイトと連携する時に接続されるリンク先(googleアドセンス,googleアナリティクス,Yahoo,facebook等)のことをいいます。この第三者コードの接続が行われるとサイト読み込みに時間がかかり、サイトスピードが遅くなる原因になるのです。WordPressでブログを運営している場合、アドセンスやアナリティクス等を設置しているとどうしても、ページを開く時に外部URLの影響を受けてしまう為、その分表示速度に影響が出てしまいます。ここではPageSpeed Insightsのスピードスコアが、「第三者コードの影響」で「Google/Doubleclick Ads」が原因になっている場合の改善策を解説します。</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-4" checked><label class="toc-title" for="toc-checkbox-4">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">現象と原因</a><ol><li><a href="#toc2" tabindex="0">現象</a></li><li><a href="#toc3" tabindex="0">原因</a></li></ol></li><li><a href="#toc4" tabindex="0">対処と結果</a><ol><li><a href="#toc5" tabindex="0">対処</a></li><li><a href="#toc6" tabindex="0">結果</a></li></ol></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">現象と原因</span></h2>



<h3 class="wp-block-heading"><span id="toc2">現象</span></h3>



<p>pagespeed insightで、携帯電話のパフォーマンスが48という非常に悪い結果となりました。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="629" height="443" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp01.png" alt="pagespeed insightのパフォーマンス" class="wp-image-23998" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp01.png 629w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp01-300x211.png 300w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp01-500x352.png 500w" sizes="(max-width: 629px) 100vw, 629px" /></figure>



<h3 class="wp-block-heading"><span id="toc3">原因</span></h3>



<p>その大きな原因の1つとして「第三者コードの影響を抑えてください」と指摘されています。「メインスレッドが2,080ミリ秒間ブロックされました」となっていて、その内訳を見ると、「Google AdSense広告」である「Google/Doubleclick Ads」が大半を占めています。つまり&#8221;第三者&#8221;とは、ここではGoogleAdSense広告なんです。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="627" height="268" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp02.png" alt="pagespeed insightの診断" class="wp-image-23999" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp02.png 627w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp02-300x128.png 300w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp02-500x214.png 500w" sizes="(max-width: 627px) 100vw, 627px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="625" height="526" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp03.png" alt="pagespeed insightの診断の詳細" class="wp-image-24000" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp03.png 625w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp03-300x252.png 300w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp03-500x421.png 500w" sizes="(max-width: 625px) 100vw, 625px" /></figure>



<h2 class="wp-block-heading"><span id="toc4">対処と結果</span></h2>



<h3 class="wp-block-heading"><span id="toc5">対処</span></h3>



<p>GoogleAdSense広告を止めるわけにはいかないので、遅延読み込みをさせて対処します。ページにアクセスすると同時に広告を表示させるのではなく、ページが読み込まれた後にスクロールされたら広告が表示されるようにします。</p>



<p>Googleアドセンスの読み込みを遅延化する方法としては以下の2つだけです。</p>



<ul class="wp-block-list">
<li>「GoogleAdSenseの自動広告タグのコードを消去」(コードの一番上を消す。)</li>



<li>HTMLファイルの直前に遅延化用のコードを追記する。</li>
</ul>



<p>但し、Cocoonでは、広告タブにGoogle AdSenseのコードが設定されていると、GoogleAdSense用のJavaScriptが/tmp/footer-javascript.phpで出力されていますので、これを編集することが必要です。</p>



<p>それでは、ここから使用しているWordPressテーマのcocoonで解説します。</p>



<h4 class="wp-block-heading">GoogleAdSenseの自動広告タグを削除</h4>



<p>まず、GooglAdSenseの自動広告タグのコードを消去します。自動広告タグは、次のコードです。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="584" height="95" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp11.png" alt="GooglAdSenseの自動広告タグ" class="wp-image-24001" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp11.png 584w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp11-300x49.png 300w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp11-500x81.png 500w" sizes="(max-width: 584px) 100vw, 584px" /></figure>



<p>設定されている「広告コード」から削除します。Cocoonでは次の通りです。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="551" height="617" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp12.png" alt="GooglAdSenseの自動広告タグの削除(cocoon)" class="wp-image-24002" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp12.png 551w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp12-300x336.png 300w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp12-500x560.png 500w" sizes="(max-width: 551px) 100vw, 551px" /></figure>



<h4 class="wp-block-heading">HTMLファイルのの直前に遅延化用のコードを追記する</h4>



<p>cocoon設定で、「アクセス解析・認証 &#8211;&nbsp;フッター用コード」でJavaScriptの遅延読み込みコードを設定します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="617" height="256" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp13a.png" alt="Googleアドセンスの読み込みを遅延化" class="wp-image-24014" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp13a.png 617w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp13a-300x124.png 300w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp13a-500x207.png 500w" sizes="(max-width: 617px) 100vw, 617px" /></figure>



<p>[ 遅延化コード ]</p>



<pre class="wp-block-code"><code>&lt;script&gt;
//&lt;!&#91;CDATA&#91;
//lazy load ads
var lazyloadads = false;
window.addEventListener("scroll", function() {
    if ((document.documentElement.scrollTop != 0 &amp;&amp; lazyloadads === false) || (document.body.scrollTop != 0 &amp;&amp; lazyloadads === false)) {
        (function() {
            var ad = document.createElement('script');
            ad.type = 'text/javascript';
            ad.async = true;
            ad.src = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js';
            var sc = document.getElementsByTagName('script')&#91;0];
            sc.parentNode.insertBefore(ad, sc);
        })();
        lazyloadads = true;
    }
}, true)
//]]&gt;
&lt;/script&gt;</code></pre>



<h4 class="wp-block-heading">footer-javascript.phpの修正</h4>



<p>Cocoonでは、広告タブにGoogle AdSenseのコードが設定されていると、GoogleAdSense用のJavaScriptが/tmp/footer-javascript.phpで出力されています。そこで/tmp/footer-javascript.php22行目付近の「ADSENSE_SCRIPT_CODE」をコメントアウトさせなければなりません。</p>



<p>footer-javascript.phpの修正は、アップデート対応として親テーマ内のfooter-javascript.phpを直接修正するのではなく、子テーマで行います。</p>



<h5 class="wp-block-heading">親テーマのfooter-javascript.phpをコピー</h5>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="344" height="367" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp14.png" alt="footer-javascript.phpの修正1" class="wp-image-24004" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp14.png 344w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp14-300x320.png 300w" sizes="(max-width: 344px) 100vw, 344px" /></figure>



<h5 class="wp-block-heading">子テーマ内に「tmp」というフォルダを作成</h5>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="365" height="268" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp15.png" alt="footer-javascript.phpの修正2" class="wp-image-24005" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp15.png 365w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp15-300x220.png 300w" sizes="(max-width: 365px) 100vw, 365px" /></figure>



<h5 class="wp-block-heading">footer-javascript.phpをコピー</h5>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="366" height="170" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp16.png" alt="footer-javascript.phpの修正3" class="wp-image-24006" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp16.png 366w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp16-300x139.png 300w" sizes="(max-width: 366px) 100vw, 366px" /></figure>



<h5 class="wp-block-heading">footer-javascript.phpの修正</h5>



<p>親テーマから子テーマへコピーしましたので、子テーマのfooter-javascript.phpを修正します。22行目の「echo ADSENSE_SCRIPT_CODE;」をコメントアウト(行頭に//を追加)します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="581" height="510" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp17.png" alt="footer-javascript.phpの修正4" class="wp-image-24007" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp17.png 581w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp17-300x263.png 300w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp17-500x439.png 500w" sizes="(max-width: 581px) 100vw, 581px" /></figure>



<h3 class="wp-block-heading"><span id="toc6">結果</span></h3>



<p>「メインスレッドが2,080ミリ秒間ブロックされました」となっていたのが、390ミリと改善されました。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="666" height="327" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp18.png" alt="pagespeed insightの診断" class="wp-image-24008" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp18.png 666w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp18-300x147.png 300w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp18-500x245.png 500w" sizes="(max-width: 666px) 100vw, 666px" /></figure>



<p>そして、パフォーマンスも大きく改善されました。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="660" height="483" src="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp19.png" alt="pagespeed insightのパフォーマンス" class="wp-image-24009" srcset="https://gungii.com/wp/wp-content/uploads/2023/12/thirdp19.png 660w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp19-300x220.png 300w, https://gungii.com/wp/wp-content/uploads/2023/12/thirdp19-500x366.png 500w" sizes="(max-width: 660px) 100vw, 660px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>googleアドセンスの「広告クローラ」エラーの対処法</title>
		<link>https://gungii.com/bot-info/</link>
		
		<dc:creator><![CDATA[gungii]]></dc:creator>
		<pubDate>Wed, 15 Sep 2021 07:42:11 +0000</pubDate>
				<category><![CDATA[googleアドセンス]]></category>
		<category><![CDATA[広告クローラ]]></category>
		<guid isPermaLink="false">https://gungii.com/?p=12738</guid>

					<description><![CDATA[AdSenseにログインすると管理画面の上部に「広告クローラのエラーが生じており、収益の損失が発生する可能性があります。」とメッセージが表示されました。 「Googleは、2018年12月にクロールされていないURLから [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>AdSenseにログインすると管理画面の上部に「広告クローラのエラーが生じており、収益の損失が発生する可能性があります。」とメッセージが表示されました。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="538" height="46" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot01.jpg" alt="エラーメッセージ" class="wp-image-12740" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot01.jpg 538w, https://gungii.com/wp/wp-content/uploads/2021/09/bot01-500x43.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/bot01-300x26.jpg 300w" sizes="(max-width: 538px) 100vw, 538px" /></figure>



<p>「Googleは、2018年12月にクロールされていないURLから届く広告リクエストについて、入札をより厳しく制限する方式を導入する広告配信仕様変更を行った。」とのことです。<br>多くの広告クローラのエラーは、過去に削除して現在は存在しないページと公開前の記事のプレビューで発生しています。が、この場合は特に対処の必要はないようです。つまりプレビューでは公開前の記事であるため、外部からのアクセスは遮断されますが、どのURLから広告にアクセスされたかをクローラが検知して、コンテンツ内容を確認しようとして、そのURLにアクセスすると拒否されてエラーとなっているということなので、記事が公開された時点では、正規のURLへリダイレクトされますので対応は必要ないということなのです。<br>今回のエラーはすこし状況が異なりましたので、どのように対処してよいのか?色々と悩みましたが、何とか対応して、2週間位で解除となりましたので、その実際を紹介します。</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>広告クローラとは<br>クローラは、ウェブページのコンテンツの解析とインデックス登録に使用されるソフトウェアで、スパイダーまたはボットとも呼ばれます。AdSense クローラは、関連性の高い広告を配信するため、サイトにアクセスしてコンテンツを分析します。<br>・クローラ レポートの更新は週 1 回です。<br>・AdSense クローラは Google クローラとは異なります。<br>・AdSenseクロールの問題を解決しても、Googleクロールの問題の解決にはなりません<br>・クローラは URL単位でインデックスを登録します。<br>・クローラは Google の広告タグが実装されている URL にのみアクセスを試みます。<br>・クローラはリダイレクト元のページにアクセスを試みます。<br>・クローラがサイトにアクセスする頻度は調整できません。</p><cite>(GoogleAdsenseヘルプより)</cite></blockquote>



<p>[ 更新履歴 ]</p>



<p>2021.10.16　<br>2021.10.12 広告クローラのエラー発生が発生して、2021.10.16 にエラー解除となりましたので、その経緯と原因について追記しました。</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-6" checked><label class="toc-title" for="toc-checkbox-6">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">広告クローラのエラー(ケース1)</a><ol><li><a href="#toc2" tabindex="0">現象</a></li><li><a href="#toc3" tabindex="0">原因</a></li><li><a href="#toc4" tabindex="0">対策</a></li><li><a href="#toc5" tabindex="0">結果</a></li></ol></li><li><a href="#toc6" tabindex="0">広告クローラのエラー(ケース2)</a><ol><li><a href="#toc7" tabindex="0">現象</a></li><li><a href="#toc8" tabindex="0">原因</a></li><li><a href="#toc9" tabindex="0">対策</a></li><li><a href="#toc10" tabindex="0">結果</a></li></ol></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">広告クローラのエラー(ケース1)</span></h2>



<h3 class="wp-block-heading"><span id="toc2">現象</span></h3>



<h4 class="wp-block-heading">アドセンスにログイン</h4>



<p>googleアドセンスにログインすると、</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="538" height="46" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot01.jpg" alt="" class="wp-image-12740" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot01.jpg 538w, https://gungii.com/wp/wp-content/uploads/2021/09/bot01-500x43.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/bot01-300x26.jpg 300w" sizes="(max-width: 538px) 100vw, 538px" /></figure>



<p>サイトは、gungii.comで、問題のあるページは1ページとの事。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="597" height="304" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot11.jpg" alt="問題のあるサイト表示" class="wp-image-12741" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot11.jpg 597w, https://gungii.com/wp/wp-content/uploads/2021/09/bot11-500x255.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/bot11-300x153.jpg 300w" sizes="(max-width: 597px) 100vw, 597px" /></figure>



<h4 class="wp-block-heading">対象ページの確認</h4>



<p>表示されているgungii.comの行をクリックすると、</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="603" height="385" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot12.jpg" alt="問題の種類表示" class="wp-image-12742" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot12.jpg 603w, https://gungii.com/wp/wp-content/uploads/2021/09/bot12-500x319.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/bot12-300x192.jpg 300w" sizes="(max-width: 603px) 100vw, 603px" /></figure>



<p>gungii.com/xx/xxxxxxxx.xxx?page=theme-settingsにアクセスできないとの事。つまり、Cocoonの設定ページにアクセスできないとの事。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="473" height="314" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot13-1.jpg" alt="Cocoonの管理画面" class="wp-image-12744" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot13-1.jpg 473w, https://gungii.com/wp/wp-content/uploads/2021/09/bot13-1-300x199.jpg 300w" sizes="(max-width: 473px) 100vw, 473px" /></figure>



<h3 class="wp-block-heading"><span id="toc3">原因</span></h3>



<h4 class="wp-block-heading">「詳細」をクリック</h4>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="500" height="305" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot14.jpg" alt="問題の種類表示" class="wp-image-12745" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot14.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/bot14-300x183.jpg 300w" sizes="(max-width: 500px) 100vw, 500px" /></figure>



<p>「詳細」をクリックすると原因(何故?アクセスできなかったのか?)と考えられる内容の一覧が表示されます。</p>



<h4 class="wp-block-heading">考えられる原因一覧</h4>



<p>「詳細」をクリックすると、以下のような一覧表が表示されます。今回の場合、考えられる原因はA,B,Cです。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="394" height="839" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot15.jpg" alt="原因一覧表示" class="wp-image-12746" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot15.jpg 394w, https://gungii.com/wp/wp-content/uploads/2021/09/bot15-300x639.jpg 300w" sizes="(max-width: 394px) 100vw, 394px" /></figure>



<h3 class="wp-block-heading"><span id="toc4">対策</span></h3>



<h4 class="wp-block-heading">プラグインを削除</h4>



<p>まずAですが、今回、「Flying Scripts by WP Speed Matters」というプラグインを使って、Adsense広告の表示を2秒遅らせるようにしました。これが、原因とは思われませんが、一応、疑ってかかり、「Flying Scripts」のプラグインを削除し、2秒遅らせる制限を解除しました。<br>2021.09.21<br>「広告クローラのエラー」が解除されましたので、サイトスピードのアップの為、再度同プラグインを導入して、「使用していないJavaScriptの削除」対策を行いました。(エラーとなれば、それが原因となりますので観察します。)</p>



<h4 class="wp-block-heading">特になし(クローラの認識を待つ)</h4>



<p>次にBですが、ブログ記事を2日連続で投稿しました。つまり新しいページのURLをクローラが認識する前に、その記事のアドセンス広告を表示しようとしますが、URLがわからない為、Cocoonの設定画面にアクセスできないという状態ということでしょうか?でも、これまでも同様のことは発生していますので、これも違う気がします。</p>



<h4 class="wp-block-heading">リダイレクトを削除</h4>



<p>そして最後にCですが、最近gungii.comのブログ記事を分離、一部をgungii.siteへ移動させましたので、リダイレクトを多用しています。(gungii.com→gungii.site)広告コードも埋め込んでいますが、リダイレクトの多用が最も怪しいので削除しました。<br>2019.09.07<br>リダイレクト処理そのものを止めました。「301Redirects」というプラグインで行っていましたが、プラグイン自体を削除してリダイレクトを止めました。</p>



<h3 class="wp-block-heading"><span id="toc5">結果</span></h3>



<p>2021.08.25から表示されていたメッセージが2021.09.10やっと消えました。原因は何だったのか？はわかりません。やはりリダイレクトの多用の様に思います。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="539" height="198" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot16.jpg" alt="エラー解除画面" class="wp-image-12747" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot16.jpg 539w, https://gungii.com/wp/wp-content/uploads/2021/09/bot16-500x184.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/bot16-300x110.jpg 300w" sizes="(max-width: 539px) 100vw, 539px" /></figure>



<h2 class="wp-block-heading"><span id="toc6">広告クローラのエラー(ケース2)</span></h2>



<h3 class="wp-block-heading"><span id="toc7">現象</span></h3>



<h4 class="wp-block-heading">アドセンスにログイン</h4>



<p>googleアドセンスにログインすると、</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="538" height="46" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot01.jpg" alt="エラーメッセージ" class="wp-image-12740" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot01.jpg 538w, https://gungii.com/wp/wp-content/uploads/2021/09/bot01-500x43.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/bot01-300x26.jpg 300w" sizes="(max-width: 538px) 100vw, 538px" /></figure>



<p>サイトは、gungii.siteで、問題のあるページは2ページとの事。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="627" height="312" src="https://gungii.com/wp/wp-content/uploads/2021/10/bot21.jpg" alt="問題のあるサイト表示" class="wp-image-15603" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/bot21.jpg 627w, https://gungii.com/wp/wp-content/uploads/2021/10/bot21-500x249.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/bot21-300x149.jpg 300w" sizes="(max-width: 627px) 100vw, 627px" /></figure>



<h4 class="wp-block-heading">対象ページの確認</h4>



<p>表示されているgungii.siteの行をクリックすると、</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="616" height="300" src="https://gungii.com/wp/wp-content/uploads/2021/10/bot22.jpg" alt="問題の種類表示" class="wp-image-15604" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/bot22.jpg 616w, https://gungii.com/wp/wp-content/uploads/2021/10/bot22-500x244.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/bot22-300x146.jpg 300w" sizes="(max-width: 616px) 100vw, 616px" /></figure>



<p>gungii.site/?page_id=11476&amp;preview=true<br>つまり、page-id=1476のフレビューした固定ページが見つからないとの意味の様です。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="616" height="299" src="https://gungii.com/wp/wp-content/uploads/2021/10/bot23.jpg" alt="固定ページのpage-idの表示された画面" class="wp-image-15605" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/bot23.jpg 616w, https://gungii.com/wp/wp-content/uploads/2021/10/bot23-500x243.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/bot23-300x146.jpg 300w" sizes="(max-width: 616px) 100vw, 616px" /></figure>



<h3 class="wp-block-heading"><span id="toc8">原因</span></h3>



<p>上記の通り、「人事評価シート_LP」という固定ページは、公開せずに下書き保存したままプレビューを繰り返していましたが、プレビュー画面ではアドセンス広告も表示されるようになっていました。つまりプレビューでは公開前の記事であるため、外部からのアクセスは遮断されますが、どのURLから広告にアクセスされたかをクローラが検知して、コンテンツ内容を確認しようとして、そのURLにアクセスすると拒否されてエラーとなっているということなのです。公開前の記事のプレビューで発生していますので、特に対応は必要ないということなのです。</p>



<h3 class="wp-block-heading"><span id="toc9">対策</span></h3>



<p>記事は未完成ですが、このエラーは下書き保存のままだと、消えませんので公開しました。</p>



<h3 class="wp-block-heading"><span id="toc10">結果</span></h3>



<p>2021.10.12から表示されていたメッセージが2021.10.16やっと消えました。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="539" height="198" src="https://gungii.com/wp/wp-content/uploads/2021/09/bot16.jpg" alt="エラー解除画面" class="wp-image-12747" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/bot16.jpg 539w, https://gungii.com/wp/wp-content/uploads/2021/09/bot16-500x184.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/bot16-300x110.jpg 300w" sizes="(max-width: 539px) 100vw, 539px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Googleアナリティクスで、サイトのページ読み込み速度を調べる方法</title>
		<link>https://gungii.com/anass-nfo/</link>
		
		<dc:creator><![CDATA[gungii]]></dc:creator>
		<pubDate>Tue, 14 Sep 2021 05:28:29 +0000</pubDate>
				<category><![CDATA[googleアドセンス]]></category>
		<category><![CDATA[googleアナリティクス]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ページ速度]]></category>
		<guid isPermaLink="false">https://gungii.com/?p=12721</guid>

					<description><![CDATA[Webサイトを開いたときのサイトの表示やレスポンスの遅さは、ストレスを感じます。そしてサイトスピードの遅さはユーザーの離脱率の上昇に繋がってしまいます。「消費者の47%はウェブページが2秒以下で表示される事を望む&#038;nbs [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Webサイトを開いたときのサイトの表示やレスポンスの遅さは、ストレスを感じます。そしてサイトスピードの遅さはユーザーの離脱率の上昇に繋がってしまいます。「消費者の47%はウェブページが2秒以下で表示される事を望む&nbsp;」、「ロードに３秒以上かかるウェブサイトでは、40%の人々が離脱する」と言われています。サイトの表示速度は注視しておく必要があります。<br>Webサイトの表示速度を測るサービスで最も有名なサイトは、Googleが無料で提供している&nbsp;GooglePageSpeedInsightsです。URLを入力するだけでモバイル/PCのそれぞれのページパフォーマンスを測定してくれます。実は、googleアナリティクスでもサイトの表示速度を計測することができますので、GooglePageSpeedInsightと合わせて、ご利用頂くと良いと思います。</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-8" checked><label class="toc-title" for="toc-checkbox-8">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">ページ速度の計測(改善前)</a><ol><li><a href="#toc2" tabindex="0">ページ速度の計測</a></li><li><a href="#toc3" tabindex="0">ページ速度の改善</a></li></ol></li><li><a href="#toc4" tabindex="0">ページ速度の計測(改善後)</a><ol><li><a href="#toc5" tabindex="0">ページ速度の計測</a></li></ol></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">ページ速度の計測(改善前)</span></h2>



<p>GoogleAnalyticsの「ページ速度の測定」は、PageSpeed InsightsやGTmetrixとは異なる測定方法をしているので注意が必要です。アクセスしてきたユーザの通信状況なども加味された上で測定されますので、スペックの低いデバイスでアクセスしたユーザーや、地下等の電波の繋がりにくい場所で閲覧したユーザ等のデータも含まれています。また、GoogleAnalyticsはサイトの閲覧者が読み込んだ全てのページの表示スピードを計測しているわけではありません。GoogleAnalyticsのデフォルトの設定では、ユーザーの数%、最大で10,000PVをサンプルとして抽出したデータを元に、ページ速度の指標データを算出しています。例えば1日に1,000PVのページの場合、1％にあたる10PVのみが抽出されてデータが提供がされます。作成したばかりのページでPVはあるのに平均読み込み時間の数字が0の日があるのはそのためです。実際のページビューと、サンプルとなったページビューの数が異なっていますので、確認下さい。</p>



<p></p>



<h3 class="wp-block-heading"><span id="toc2">ページ速度の計測</span></h3>



<h4 class="wp-block-heading">アナリティクスの起動</h4>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="531" height="251" src="https://gungii.com/wp/wp-content/uploads/2021/09/anass01.jpg" alt="起動画面" class="wp-image-12723" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/anass01.jpg 531w, https://gungii.com/wp/wp-content/uploads/2021/09/anass01-500x236.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/anass01-300x142.jpg 300w" sizes="(max-width: 531px) 100vw, 531px" /></figure>



<h4 class="wp-block-heading">サイト速度の確認</h4>



<p>「行動」→「サイトの速度」→「概要」をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="535" height="544" src="https://gungii.com/wp/wp-content/uploads/2021/09/anass02.jpg" alt="サイトの速度サマリー" class="wp-image-12724" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/anass02.jpg 535w, https://gungii.com/wp/wp-content/uploads/2021/09/anass02-500x508.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/anass02-300x305.jpg 300w" sizes="(max-width: 535px) 100vw, 535px" /></figure>



<p>ここでは、ページの読み込みに平均6.38秒を要し、サーバーからの応答に0.12秒を要しています。この平均から剥離しているページがないかどうかを探っていきます。</p>



<h4 class="wp-block-heading">ページ速度の確認</h4>



<p>「行動」→「サイトの速度」→「ページ速度」をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="577" height="351" src="https://gungii.com/wp/wp-content/uploads/2021/09/anass03.jpg" alt="ページ速度サマリー" class="wp-image-12725" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/anass03.jpg 577w, https://gungii.com/wp/wp-content/uploads/2021/09/anass03-500x304.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/anass03-300x182.jpg 300w" sizes="(max-width: 577px) 100vw, 577px" /></figure>



<p>拡大すると</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="577" height="423" src="https://gungii.com/wp/wp-content/uploads/2021/09/anass04.jpg" alt="ページ速度ディテール" class="wp-image-12726" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/anass04.jpg 577w, https://gungii.com/wp/wp-content/uploads/2021/09/anass04-500x367.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/anass04-300x220.jpg 300w" sizes="(max-width: 577px) 100vw, 577px" /></figure>



<p>見方は、サイトの平均表示時間を基準にして、左に緑のボーダーで出ていれば平均よりも速く、右に赤のボーダーとして出ていれば平均よりも遅いことになります。上からPV数の多い順なので、上のほうにある遅いページから順に速度改善していきます。</p>



<h3 class="wp-block-heading"><span id="toc3">ページ速度の改善</span></h3>



<p>赤のボーダーとなっているサイトの画像を全て、圧縮して入れ替えました。最近のブログ記事では、投稿する画像をまず「tinypng(tinyjpg)」で圧縮した後、投稿して、プラグイン「EWWW Image Optimizer」でwebpに変換するという手順を踏んでいますが、少し前までのブログ記事では、「tinypng(tinyjpg)」で圧縮することを行っていませんでしたので、今回、圧縮した画像でアップロードし直しました。<br>ここでは、パーマリンク:outlook-infoのページの改善後を確認してみます。</p>



<h2 class="wp-block-heading"><span id="toc4">ページ速度の計測(改善後)</span></h2>



<h3 class="wp-block-heading"><span id="toc5">ページ速度の計測</span></h3>



<p>画像を圧縮した改善後のページ速度を計測してみました。</p>



<h4 class="wp-block-heading">サイト速度の確認</h4>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="572" height="347" src="https://gungii.com/wp/wp-content/uploads/2021/09/anass11.jpg" alt="サイトの速度サマリー" class="wp-image-12727" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/anass11.jpg 572w, https://gungii.com/wp/wp-content/uploads/2021/09/anass11-500x303.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/anass11-300x182.jpg 300w" sizes="(max-width: 572px) 100vw, 572px" /></figure>



<h4 class="wp-block-heading">ページ速度の確認</h4>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="572" height="302" src="https://gungii.com/wp/wp-content/uploads/2021/09/anass12.jpg" alt="ページ速度ディテール" class="wp-image-12728" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/anass12.jpg 572w, https://gungii.com/wp/wp-content/uploads/2021/09/anass12-500x264.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/anass12-300x158.jpg 300w" sizes="(max-width: 572px) 100vw, 572px" /></figure>



<p>outlook-infoのサイトは、昨日は赤のボーダーで123.39%でしたので、本日は50.26%に改善されています。(昨日、画像の圧縮を行いました。)<br>注意:<br>読み込み時間は、平均なので本日の読み込み時間が改善したからといって、赤のボーダーが緑になることはありません。</p>



<h4 class="wp-block-heading">詳細の確認</h4>



<p>URLをクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="572" height="648" src="https://gungii.com/wp/wp-content/uploads/2021/09/anass13.jpg" alt="ページ速度プライマリー" class="wp-image-12729" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/anass13.jpg 572w, https://gungii.com/wp/wp-content/uploads/2021/09/anass13-500x566.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/anass13-300x340.jpg 300w" sizes="(max-width: 572px) 100vw, 572px" /></figure>



<p>デフォルトの設定では、ユーザーの数%、最大で10,000PVをサンプルとして抽出したデータを元に、ページ速度の指標データを算出しています。ここでは、67PVのみが対象となっていますので、数字=0ということは、本日は、このページは対象となっていないということです。</p>



<h4 class="wp-block-heading">「分布」の確認</h4>



<p>「分布」タブをクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="572" height="238" src="https://gungii.com/wp/wp-content/uploads/2021/09/anass14.jpg" alt="ディストリビューション" class="wp-image-12730" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/anass14.jpg 572w, https://gungii.com/wp/wp-content/uploads/2021/09/anass14-500x208.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/anass14-300x125.jpg 300w" sizes="(max-width: 572px) 100vw, 572px" /></figure>



<p>平均読み込み時間が「11.07秒かかった」というデータのサンプル数が3となります。2021.09.08、2021.09.09、2021.09.10の3PVが対象となって算出されています。</p>



<p>留意:<br>サイト速度のレポートにおいてその根拠となっている数値は、サイトを訪問したユーザー全員から取得したものではなく、ここでは3PVでのサンプリング数値になっています。今回このページ(outlook-info)は、画像を圧縮することで少し改善されましたが、ページに原因らしきものが見当たらない場合は、電波の繋がりにくい場所等で閲覧したユーザーや、スペックの低いデバイスでアクセスしたユーザーがサンプルとして含まれている可能性もありますので、注意しながらPageSpeedInsightと併用して、改善することが大切です。</p>



<p>例:<br>例えば、以下のページ(how-email)は、テキストのみのサイトで、テキストも少ない為、サイトスピードが遅くなる理由は全くありません。<br>電波の繋がりにくい場所等で閲覧したユーザーや、スペックの低いデバイスでアクセスしたユーザーの1PVがサンプルとして収集されたと思われますので、改善のしようがありません。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="575" height="465" src="https://gungii.com/wp/wp-content/uploads/2021/09/anass15.jpg" alt="サンプル画面" class="wp-image-12731" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/anass15.jpg 575w, https://gungii.com/wp/wp-content/uploads/2021/09/anass15-500x404.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/anass15-300x243.jpg 300w" sizes="(max-width: 575px) 100vw, 575px" /></figure>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>googleアドセンスの収益が8,000円を超えた。</title>
		<link>https://gungii.com/adsense-income/</link>
					<comments>https://gungii.com/adsense-income/#comments</comments>
		
		<dc:creator><![CDATA[gungii]]></dc:creator>
		<pubDate>Tue, 24 Oct 2017 14:40:31 +0000</pubDate>
				<category><![CDATA[googleアドセンス]]></category>
		<guid isPermaLink="false">https://gungii.com/?p=3894</guid>

					<description><![CDATA[2017.10.02、googleアドセンスを開いてみると、残高が8,000円を超えて、10,050円になっています。8,000円を超えたので、googleアドセンスから10,050円が入金されます。googleアドセン [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>2017.10.02、googleアドセンスを開いてみると、残高が8,000円を超えて、10,050円になっています。8,000円を超えたので、googleアドセンスから10,050円が入金されます。googleアドセンスでは、収益が発生したとしても、それが8,000円を超えなければ、お金の支払はありません。つまり、日々の収益が8,000円を超えて、初めて、お金が振り込まれるのです。<br>ついに、来ました。</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-10" checked><label class="toc-title" for="toc-checkbox-10">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">口座情報の入力</a><ol><li><a href="#toc2" tabindex="0">「操作」のクリック</a></li><li><a href="#toc3" tabindex="0">「更新」をクリック</a></li><li><a href="#toc4" tabindex="0">「お支払い方法を追加」をクリック。</a></li><li><a href="#toc5" tabindex="0">口座情報の入力</a></li><li><a href="#toc6" tabindex="0">「ＯＫ」のクリック</a></li><li><a href="#toc7" tabindex="0">口座情報の入力完了</a></li></ol></li><li><a href="#toc8" tabindex="0">デポジットの振込確認</a><ol><li><a href="#toc9" tabindex="0">入金の確認</a></li><li><a href="#toc10" tabindex="0">googleアドセンスを起動</a></li><li><a href="#toc11" tabindex="0">「今すぐ確認」をクリック</a></li><li><a href="#toc12" tabindex="0">「ＯＫ」をクリック</a></li><li><a href="#toc13" tabindex="0">お支払い方法の変更</a></li></ol></li><li><a href="#toc14" tabindex="0">初めての入金</a></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">口座情報の入力</span></h2>



<h3 class="wp-block-heading"><span id="toc2">「操作」のクリック</span></h3>



<p>メッセージを見ると、「手続きが必要」との事で、「操作」をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="648" height="302" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza1a.jpg" alt="AdSenseのホーム画面" class="wp-image-16184" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza1a.jpg 648w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza1a-500x233.jpg 500w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza1a-300x140.jpg 300w" sizes="(max-width: 648px) 100vw, 648px" /></figure>



<h3 class="wp-block-heading"><span id="toc3">「更新」をクリック</span></h3>



<p>「お支払いの基準額を100%達成したので、収益を受け取ることができる」との事。「更新」をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="531" height="326" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza2a.jpg" alt="お支払い画面" class="wp-image-16185" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza2a.jpg 531w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza2a-500x307.jpg 500w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza2a-300x184.jpg 300w" sizes="(max-width: 531px) 100vw, 531px" /></figure>



<h3 class="wp-block-heading"><span id="toc4">「お支払い方法を追加」をクリック。</span></h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="605" height="289" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza3a.jpg" alt="お支払い方法選択画面" class="wp-image-16186" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza3a.jpg 605w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza3a-500x239.jpg 500w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza3a-300x143.jpg 300w" sizes="(max-width: 605px) 100vw, 605px" /></figure>



<h3 class="wp-block-heading"><span id="toc5">口座情報の入力</span></h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="586" height="509" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza4a.jpg" alt="口座情報入力画面" class="wp-image-16187" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza4a.jpg 586w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza4a-500x434.jpg 500w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza4a-300x261.jpg 300w" sizes="(max-width: 586px) 100vw, 586px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="486" height="439" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza5a.jpg" alt="口座番号入力画面" class="wp-image-16188" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza5a.jpg 486w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza5a-300x271.jpg 300w" sizes="(max-width: 486px) 100vw, 486px" /></figure>



<p></p>



<p>入力し終えたら、「保存」をクリックします。</p>



<h3 class="wp-block-heading"><span id="toc6">「ＯＫ」のクリック</span></h3>



<p>以下のような確認画面が表示されましたら、「ＯＫ」をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="481" height="240" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza6a.jpg" alt="入力内容確認画面" class="wp-image-16189" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza6a.jpg 481w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-kouza6a-300x150.jpg 300w" sizes="(max-width: 481px) 100vw, 481px" /></figure>



<h3 class="wp-block-heading"><span id="toc7">口座情報の入力完了</span></h3>



<p>これで、口座情報の設定は完了しますので、あとはデポジットの振込を待ちます。2～3日後に、設定した口座にGoogleから、いくらか入金がありますので、その入金額を入力して、入力した口座情報に間違えないことを知らせます。</p>



<h2 class="wp-block-heading"><span id="toc8">デポジットの振込確認</span></h2>



<h3 class="wp-block-heading"><span id="toc9">入金の確認</span></h3>



<p>口座情報の入力の翌日、Googleから38円の入金がありました。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="418" height="220" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit1a.jpg" alt="普通預金通帳" class="wp-image-16193" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit1a.jpg 418w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit1a-300x158.jpg 300w" sizes="(max-width: 418px) 100vw, 418px" /></figure>



<h3 class="wp-block-heading"><span id="toc10">googleアドセンスを起動</span></h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="578" height="462" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit2a.jpg" alt="お支払い画面" class="wp-image-16192" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit2a.jpg 578w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit2a-500x400.jpg 500w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit2a-300x240.jpg 300w" sizes="(max-width: 578px) 100vw, 578px" /></figure>



<h3 class="wp-block-heading"><span id="toc11">「今すぐ確認」をクリック</span></h3>



<p>以下の画面が表示されますので、振り込まれた額をリストボックスから選択して、「確認」をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="561" height="443" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit3a.jpg" alt="入金の確認画面" class="wp-image-16194" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit3a.jpg 561w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit3a-500x395.jpg 500w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit3a-300x237.jpg 300w" sizes="(max-width: 561px) 100vw, 561px" /></figure>



<h3 class="wp-block-heading"><span id="toc12">「ＯＫ」をクリック</span></h3>



<p>「確認」をクリックすると、以下の画面が表示されますので、「ＯＫ」をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="331" height="143" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit4a.jpg" alt="確認了解ボタン" class="wp-image-16195" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit4a.jpg 331w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit4a-300x130.jpg 300w" sizes="(max-width: 331px) 100vw, 331px" /></figure>



<h3 class="wp-block-heading"><span id="toc13">お支払い方法の変更</span></h3>



<p>「メインのお支払い方法が選択されていません」と表示されていますので、お支払い方法を「なし」から「メイン」に変更して、手続きは完了です。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="611" height="545" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit5aa.jpg" alt="お支払い方法の変更画面" class="wp-image-16196" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit5aa.jpg 611w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit5aa-500x446.jpg 500w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-deposit5aa-300x268.jpg 300w" sizes="(max-width: 611px) 100vw, 611px" /></figure>



<h2 class="wp-block-heading"><span id="toc14">初めての入金</span></h2>



<p>2017.10.23日、ついにGoogleアドセンスから収益10,050円の振込がありました。2016.08.26日ブログを開始して、2017.05.20日収益が1,000円となり、2017.10.23日収益が10,050円となりました。いやーうれしいですね。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="526" height="422" src="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-nyukina.jpg" alt="普通預金通帳" class="wp-image-16197" srcset="https://gungii.com/wp/wp-content/uploads/2017/10/adsense-nyukina.jpg 526w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-nyukina-500x401.jpg 500w, https://gungii.com/wp/wp-content/uploads/2017/10/adsense-nyukina-300x241.jpg 300w" sizes="(max-width: 526px) 100vw, 526px" /></figure>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>






<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://gungii.com/adsense-income/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
