Only For Admin
三鐵 DWD dwdtriathlon@gmail.com
Jackson Kuo jacksonkuo@gmail.com
google 追蹤編號
UA-50142859-1
Analytics Code (add in HTML )
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-50142859-1', 'google.com');
ga('send', 'pageview');
</script>
PHP 導入OPTIONAL
使用上方程式碼建立「analyticstracking.php」這個 PHP 檔案,並將其加進 PHP 範本網頁中。接著,在每個範本網頁中加入下面這一行,緊接在 <body> 開頭標記後面:
<?php include_once("analyticstracking.php") ?>
DWDGTM-T883JW 您的容器已經可以加入您的網站了。https://www.google.com/tagmanager
請將下方程式碼複製並貼入您網站的每一頁,緊靠在 <body> 開頭標記後面。若要進一步瞭解如何安裝 Google 標記管理工具程式碼片段,請參閱開發人員文件。
<body>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-T883JW"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-T883JW');</script>
<!-- End Google Tag Manager -->
<!-- Place this tag where you want the widget to render. -->
<div class="g-person" data-width="299" data-href="//plus.google.com/u/0/102830335247807224692" data-rel="author"></div>
<!-- Place this tag after the last widget tag. -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/platform.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
***參考網站
https://support.google.com/sites/answer/100283?hl=zh-Hant
https://sites.google.com/site/dwdtriathlon/system/feeds/sitemap
Sitemap 提交
回到剛完成驗證的協作平台的「網站管理員工具」資訊主頁,按一下 [提交 Sitemap」。
在下一個頁面中,按一下 [提交 Sitemap],然後在顯示的方塊中輸入 /system/feeds/sitemap。
按一下 [提交 Sitemap]。
3. 找到您的 Sitemap,以供日後使用
在「Google 協作平台」導向網址之後加上 /system/feeds/sitemap,即可找到您的 Sitemap。
Tag Tool
http://www.google.com/webmasters/tools/richsnippets
Yahoo meta (Bing search)
您可以將含有驗證碼的 <meta> 標籤新增至您預設網頁的 <head> 區段。
<meta name="msvalidate.01" content="A28ECDEFE0C8983E48E2D2E3A16BF93C" />
範例:
<html> <head> <meta name="msvalidate.01" content="A28ECDEFE0C8983E48E2D2E3A16BF93C" /> <title>Your SEO optimized title</title> </head> <body> page contents </body> </html>
Blog
http://dwdtriathlon.blogspot.tw/robots.txt
User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://dwdtriathlon.blogspot.com/feeds/posts/default?orderby=UPDATED
Google 自訂搜尋
http://www.google.com/coop/cse/