266 lines
49 KiB
HTML
266 lines
49 KiB
HTML
<!doctype html>
|
||
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"><title>Icarus User Guide - Web Analytics Plugins - Icarus</title><link rel="manifest" href="/hexo-theme-icarus/manifest.json"><meta name="theme-color" content="#f7f7f7"><meta name="application-name" content="Icaurs - Hexo Theme"><meta name="msapplication-TileImage" content="/img/favicon.svg"><meta name="msapplication-TileColor" content="#f7f7f7"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="Icaurs - Hexo Theme"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="description" content="This article covers web analytics plugins supported by Icarus 5. This article is also available in 简体中文."><meta property="og:type" content="blog"><meta property="og:title" content="Icarus User Guide - Web Analytics Plugins"><meta property="og:url" content="http://ppoffice.github.io/hexo-theme-icarus/Plugins/Analytics/icarus-user-guide-web-analytics-plugins/"><meta property="og:site_name" content="Icarus"><meta property="og:description" content="This article covers web analytics plugins supported by Icarus 5. This article is also available in 简体中文."><meta property="og:locale" content="en_US"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/baidu-analytics-add-site.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/baidu-analytics-get-code.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/bing-webmaster-add-site.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/bing-webmaster-verify-site.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/cnzz-add-site.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/cnzz-get-code.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/google-analytics-create-property.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/google-analytics-property-setup.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/google-analytics-get-code.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/hotjar-new-site.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/hotjar-site-list.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/hotjar-get-code.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/statcounter-projects.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/statcounter-add-project.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/statcounter-platform-check.png"><meta property="og:image" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/statcounter-insert-code.png"><meta property="article:published_time" content="2017-01-31T00:00:00.000Z"><meta property="article:author" content="PPOffice"><meta property="article:tag" content="Icarus User Guide"><meta property="twitter:card" content="summary"><meta property="twitter:image:src" content="http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/baidu-analytics-add-site.png"><script type="application/ld+json">{"@context":"https://schema.org","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"http://ppoffice.github.io/hexo-theme-icarus/Plugins/Analytics/icarus-user-guide-web-analytics-plugins/"},"headline":"Icarus User Guide - Web Analytics Plugins","image":["http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/baidu-analytics-add-site.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/baidu-analytics-get-code.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/bing-webmaster-add-site.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/bing-webmaster-verify-site.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/cnzz-add-site.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/cnzz-get-code.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/google-analytics-create-property.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/google-analytics-property-setup.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/google-analytics-get-code.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/hotjar-new-site.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/hotjar-site-list.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/hotjar-get-code.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/statcounter-projects.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/statcounter-add-project.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/statcounter-platform-check.png","http://ppoffice.github.io/hexo-theme-icarus/gallery/screenshots/statcounter-insert-code.png"],"datePublished":"2017-01-31T00:00:00.000Z","author":{"@type":"Person","name":"PPOffice"},"publisher":{"@type":"Organization","name":"Icarus","logo":{"@type":"ImageObject","url":"http://ppoffice.github.io/img/logo.svg"}},"description":"This article covers web analytics plugins supported by Icarus 5. This article is also available in 简体中文."}</script><link rel="canonical" href="http://ppoffice.github.io/hexo-theme-icarus/Plugins/Analytics/icarus-user-guide-web-analytics-plugins/"><link rel="icon" href="/hexo-theme-icarus/img/favicon.svg"><link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.0.0/css/all.css"><link data-pjax rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@11.7.0/styles/atom-one-light.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;600&family=Source+Code+Pro"><link data-pjax rel="stylesheet" href="/hexo-theme-icarus/css/default.css"><style>body>.footer,body>.navbar,body>.section{opacity:0}</style><!--!--><!--!--><!--!--><!--!--><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.1/build/cookieconsent.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lightgallery@1.10.0/dist/css/lightgallery.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/justifiedGallery@3.8.1/dist/css/justifiedGallery.min.css"><script src="https://www.googletagmanager.com/gtag/js?id=UA-72437521-5" async></script><script>window.dataLayer = window.dataLayer || [];
|
||
function gtag(){dataLayer.push(arguments);}
|
||
gtag('js', new Date());
|
||
|
||
gtag('config', 'UA-72437521-5');</script><!--!--><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/outdatedbrowser@1.1.5/outdatedbrowser/outdatedbrowser.min.css"><style>.pace{-webkit-pointer-events:none;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pace-inactive{display:none}.pace .pace-progress{background:#3273dc;position:fixed;z-index:2000;top:0;right:100%;width:100%;height:2px}</style><script src="https://cdn.jsdelivr.net/npm/pace-js@1.2.4/pace.min.js"></script><!--!--><!--!--><!-- hexo injector head_end start --><script>
|
||
(function () {
|
||
function switchTab() {
|
||
if (!location.hash) {
|
||
return;
|
||
}
|
||
|
||
const id = '#' + CSS.escape(location.hash.substring(1));
|
||
const $tabMenu = document.querySelector(`.tabs a[href="${id}"]`);
|
||
if (!$tabMenu) {
|
||
return;
|
||
}
|
||
|
||
const $tabMenuContainer = $tabMenu.parentElement.parentElement;
|
||
Array.from($tabMenuContainer.children).forEach($menu => $menu.classList.remove('is-active'));
|
||
Array.from($tabMenuContainer.querySelectorAll('a'))
|
||
.map($menu => document.getElementById($menu.getAttribute("href").substring(1)))
|
||
.forEach($content => $content.classList.add('is-hidden'));
|
||
|
||
if ($tabMenu) {
|
||
$tabMenu.parentElement.classList.add('is-active');
|
||
}
|
||
const $activeTab = document.querySelector(id);
|
||
if ($activeTab) {
|
||
$activeTab.classList.remove('is-hidden');
|
||
}
|
||
}
|
||
switchTab();
|
||
window.addEventListener('hashchange', switchTab, false);
|
||
})();
|
||
</script><!-- hexo injector head_end end --><meta name="generator" content="Hexo 7.3.0">
|
||
<style>.not-gallery-item { position: relative; display: inline-block; width: 1.2em; min-height: 1.2em; overflow: hidden; vertical-align: top; color: transparent; } .not-gallery-item > span { position: relative; z-index: 10; } .not-gallery-item img, .not-gallery-item .fancybox { margin: 0 !important; padding: 0 !important; border: none !important; outline: none !important; text-decoration: none !important; user-select: none !important; cursor: auto !important; } .not-gallery-item img { height: 1.2em !important; width: 1.2em !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; user-select: none !important; cursor: auto !important; } .not-gallery-item-fallback { color: inherit; } .not-gallery-item-fallback img { opacity: 0 !important; }</style>
|
||
<link rel="alternate" href="/hexo-theme-icarus/atom.xml" title="Icarus" type="application/atom+xml">
|
||
</head><body class="is-2-column"><nav class="navbar navbar-main"><div class="container navbar-container"><div class="navbar-brand justify-content-center"><a class="navbar-item navbar-logo" href="/hexo-theme-icarus/"><img src="/hexo-theme-icarus/img/logo.svg" alt="Icarus" height="28"></a></div><div class="navbar-menu"><div class="navbar-start"><a class="navbar-item" href="/hexo-theme-icarus/">Home</a><a class="navbar-item" href="/hexo-theme-icarus/archives">Archives</a><a class="navbar-item" href="/hexo-theme-icarus/categories">Categories</a><a class="navbar-item" href="/hexo-theme-icarus/tags">Tags</a><a class="navbar-item" href="/hexo-theme-icarus/about">About</a></div><div class="navbar-end"><a class="navbar-item" target="_blank" rel="noopener" title="Discuss on GitHub" href="https://github.com/ppoffice/hexo-theme-icarus/discussions"><i class="fas fa-comments"></i></a><a class="navbar-item" target="_blank" rel="noopener" title="Download on GitHub" href="https://github.com/ppoffice/hexo-theme-icarus"><i class="fab fa-github"></i></a><a class="navbar-item is-hidden-tablet catalogue" title="Catalogue" href="javascript:;"><i class="fas fa-list-ul"></i></a><a class="navbar-item search" title="Search" href="javascript:;"><i class="fas fa-search"></i></a></div></div></div></nav><section class="section"><div class="container"><div class="columns"><div class="column order-2 column-main is-8-tablet is-8-desktop is-8-widescreen"><div class="card"><article class="card-content article" role="article"><div class="article-meta is-size-7 is-uppercase level is-mobile"><div class="level-left"><span class="level-item">Posted <time dateTime="2017-01-31T00:00:00.000Z" title="1/31/2017, 12:00:00 AM">2017-01-31</time></span><span class="level-item"><a class="link-muted" href="/hexo-theme-icarus/categories/Plugins/">Plugins</a><span> / </span><a class="link-muted" href="/hexo-theme-icarus/categories/Plugins/Analytics/">Analytics</a></span><span class="level-item">9 minutes read (About 1341 words)</span></div></div><h1 class="title is-3 is-size-4-mobile">Icarus User Guide - Web Analytics Plugins</h1><div class="content"><p>This article covers web analytics plugins supported by Icarus 5.</p>
|
||
<article class="message message-immersive is-primary">
|
||
<div class="message-body">
|
||
<i class="fas fa-globe-asia mr-2"></i>This article is also available in
|
||
<a href="/hexo-theme-icarus/Plugins/Analytics/icarus%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97-%E7%BD%91%E7%AB%99%E5%88%86%E6%9E%90%E6%8F%92%E4%BB%B6/">简体中文</a>.
|
||
</div>
|
||
</article>
|
||
|
||
<span id="more"></span>
|
||
|
||
<article class="message message-immersive is-primary">
|
||
<div class="message-body">
|
||
<i class="fas fa-info-circle mr-2"></i>The following web analytics plugins are provided by
|
||
<a target="_blank" rel="noopener" href="https://github.com/ppoffice/hexo-component-inferno">ppoffice/hexo-component-inferno</a>.
|
||
Please refer to it for a complete list of supported plugins and their configuration details.
|
||
</div>
|
||
</article>
|
||
|
||
<article class="message message-immersive is-danger">
|
||
<div class="message-body">
|
||
<i class="fas fa-exclamation-triangle mr-2"></i>All plugins mentioned below may be blocked by AD blockers.
|
||
Use them with caution.
|
||
</div>
|
||
</article>
|
||
|
||
<h2 id="Baidu-Statistics"><a href="#Baidu-Statistics" class="headerlink" title="Baidu Statistics"></a>Baidu Statistics</h2><p><strong>Installation Guide</strong></p>
|
||
<ol>
|
||
<li><p>Log into <a target="_blank" rel="noopener" href="https://tongji.baidu.com/">Baidu Statistics</a>.
|
||
Click the “Add new website” button on the “Admin > Site list” page
|
||
and fill in the site information such as name and homepage URL.
|
||
Click “OK” to complete site creation.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/baidu-analytics-add-site.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Add Site - Baidu Analytics" alt="Add Site - Baidu Analytics">
|
||
<br>
|
||
</li>
|
||
<li><p>On the next page, find the ID behind <code>hm.baidu.com/hm.js?</code> and set it as the value of
|
||
<code>plugins</code> > <code>baidu_analytics</code> > <code>tracking_id</code> in the theme configurations.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/baidu-analytics-get-code.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Get Code - Baidu Analytics" alt="Get Code - Baidu Analytics">
|
||
<br>
|
||
|
||
<p>For example, the following Baidu Statistics code:</p>
|
||
<figure class="highlight html"><figcaption><span>Baidu Statistics code</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag"><<span class="name">script</span>></span><span class="language-javascript"></span></span><br><span class="line"><span class="language-javascript"><span class="keyword">var</span> _hmt = _hmt || [];</span></span><br><span class="line"><span class="language-javascript">(<span class="keyword">function</span>(<span class="params"></span>) {</span></span><br><span class="line"><span class="language-javascript"><span class="keyword">var</span> hm = <span class="variable language_">document</span>.<span class="title function_">createElement</span>(<span class="string">"script"</span>);</span></span><br><span class="line"><span class="language-javascript">hm.<span class="property">src</span> = <span class="string">"https://hm.baidu.com/hm.js?3f06f2b732a5b1034c989f74e28d0eea"</span>;</span></span><br><span class="line"><span class="language-javascript"><span class="keyword">var</span> s = <span class="variable language_">document</span>.<span class="title function_">getElementsByTagName</span>(<span class="string">"script"</span>)[<span class="number">0</span>]; </span></span><br><span class="line"><span class="language-javascript">s.<span class="property">parentNode</span>.<span class="title function_">insertBefore</span>(hm, s);</span></span><br><span class="line"><span class="language-javascript">})();</span></span><br><span class="line"><span class="language-javascript"></span><span class="tag"></<span class="name">script</span>></span></span><br></pre></td></tr></tbody></table></figure>
|
||
|
||
<p> maps to the following theme configuration:</p>
|
||
<figure class="highlight yaml"><figcaption><span>_config.icarus.yml</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">plugins:</span></span><br><span class="line"> <span class="attr">baidu_analytics:</span></span><br><span class="line"> <span class="attr">tracking_id:</span> <span class="string">3f06f2b732a5b1034c989f74e28d0eea</span></span><br></pre></td></tr></tbody></table></figure></li>
|
||
</ol>
|
||
<h2 id="Bing-Webmaster-Tools"><a href="#Bing-Webmaster-Tools" class="headerlink" title="Bing Webmaster Tools"></a>Bing Webmaster Tools</h2><p><strong>Installation Guide</strong></p>
|
||
<ol>
|
||
<li><p>Log into <a target="_blank" rel="noopener" href="https://www.bing.com/toolbox/webmaster/">Bing - Webmaster Tools</a>.
|
||
Then, choose “Add your site manually” and enter the URL to your site.
|
||
Click “Add” button to continue.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/bing-webmaster-add-site.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Add Site - Bing Webmaster Tools" alt="Add Site - Bing Webmaster Tools">
|
||
<br>
|
||
</li>
|
||
<li><p>In the “Add & verify site” panel, select “HTML Meta Tag” method.
|
||
Copy value of the <code>content</code> attribute in the HTML meta tag to the <code>plugins</code> > <code>bing_webmaster</code> > <code>tracking_id</code>
|
||
in the theme configurations.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/bing-webmaster-verify-site.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Verify Site - Bing Webmaster Tools" alt="Verify Site - Bing Webmaster Tools">
|
||
<br>
|
||
|
||
<figure class="highlight yaml"><figcaption><span>_config.icarus.yml</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">plugins:</span></span><br><span class="line"> <span class="attr">bing_webmaster:</span></span><br><span class="line"> <span class="attr">tracking_id:</span> <span class="string">ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF</span></span><br></pre></td></tr></tbody></table></figure></li>
|
||
</ol>
|
||
<h2 id="BuSuanZi-Web-Counter"><a href="#BuSuanZi-Web-Counter" class="headerlink" title="BuSuanZi Web Counter"></a>BuSuanZi Web Counter</h2><p><strong>Installation Guide</strong></p>
|
||
<ol>
|
||
<li><p>Set the <code>plugins</code> > <code>busuanzi</code> to <code>true</code> to enable <a target="_blank" rel="noopener" href="https://busuanzi.ibruce.info/">BuSuanZi web counter</a>
|
||
and display the number of visitors on the header of each blog post and the bottom of the page.</p>
|
||
<figure class="highlight yaml"><figcaption><span>_config.icarus.yml</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">plugins:</span></span><br><span class="line"> <span class="attr">busuanzi:</span> <span class="literal">true</span></span><br></pre></td></tr></tbody></table></figure></li>
|
||
</ol>
|
||
<h2 id="CNZZ-Statistics"><a href="#CNZZ-Statistics" class="headerlink" title="CNZZ Statistics"></a>CNZZ Statistics</h2><p><strong>Installation Guide</strong></p>
|
||
<ol>
|
||
<li><p>Log into <a target="_blank" rel="noopener" href="https://www.umeng.com/">Umeng+</a>.
|
||
On the dashboard of Umeng+, click “Create new application” > “Web application”.
|
||
Then, fill in your site information such as “website name”, “site domain name”, and “site homepage URL”.
|
||
Click “Confirm adding the site” after finished.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/cnzz-add-site.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Add Site - CNZZ" alt="Add Site - CNZZ">
|
||
<br>
|
||
</li>
|
||
<li><p>Find the HTML code in the “text style” row on the get installation code page.
|
||
Copy the values of <code>id</code> and <code>web_id</code> to the <code>plugins</code> > <code>cnzz</code> > <code>id</code> and <code>web_id</code> in the theme configurations,
|
||
respectively.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/cnzz-get-code.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Get Code - CNZZ" alt="Get Code - CNZZ">
|
||
<br>
|
||
|
||
<p>For example, the following CNZZ installation code:</p>
|
||
<figure class="highlight html"><figcaption><span>CNZZ installation code</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag"><<span class="name">script</span> <span class="attr">type</span>=<span class="string">"text/javascript"</span> <span class="attr">src</span>=<span class="string">"https://s9.cnzz.com/z_stat.php?id=123456789000&web_id=123456789000"</span>></span><span class="tag"></<span class="name">script</span>></span></span><br></pre></td></tr></tbody></table></figure>
|
||
|
||
<p> maps to the following theme configuration:</p>
|
||
<figure class="highlight yaml"><figcaption><span>_config.icarus.yml</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">plugins:</span></span><br><span class="line"> <span class="attr">cnzz:</span></span><br><span class="line"> <span class="attr">id:</span> <span class="number">123456789000</span></span><br><span class="line"> <span class="attr">web_id:</span> <span class="number">123456789000</span></span><br></pre></td></tr></tbody></table></figure></li>
|
||
</ol>
|
||
<h2 id="Google-Analytics"><a href="#Google-Analytics" class="headerlink" title="Google Analytics"></a>Google Analytics</h2><p><strong>Installation Guide</strong></p>
|
||
<ol>
|
||
<li><p>Log into <a target="_blank" rel="noopener" href="https://analytics.google.com/">Google Analytics</a> and click the “Admin” on the left side of the user dashboard.</p>
|
||
</li>
|
||
<li><p>On the admin page, click the “Create Property” button and set “What do you want to measure?” to “Web”.
|
||
Click the “Continue” button after that.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/google-analytics-create-property.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Create Property - Google Analytics" alt="Create Property - Google Analytics">
|
||
<br>
|
||
</li>
|
||
<li><p>Then, fill in the Website Name, Website URL, Industry Category, and Reporting Time Zone.
|
||
Click the “Create” button to finish the property creation.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/google-analytics-property-setup.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Property Setup - Google Analytics" alt="Property Setup - Google Analytics">
|
||
<br>
|
||
</li>
|
||
<li><p>Find the value of “Tracking ID”, e.g., “UA-12345678-0”, on the “Tracking Code” page.
|
||
Set it to the <code>plugins</code> >
|
||
<code>google_analytics</code> > <code>tracking_id</code> in the theme configurations to enable the Google Analytics plugin.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/google-analytics-get-code.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Get Code - Google Analytics" alt="Get Code - Google Analytics">
|
||
<br>
|
||
|
||
<figure class="highlight yaml"><figcaption><span>_config.icarus.yml</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">plugins:</span></span><br><span class="line"> <span class="attr">google_analytics:</span></span><br><span class="line"> <span class="attr">tracking_id:</span> <span class="string">UA-12345678-0</span></span><br></pre></td></tr></tbody></table></figure></li>
|
||
</ol>
|
||
<h2 id="Hotjar"><a href="#Hotjar" class="headerlink" title="Hotjar"></a>Hotjar</h2><p><strong>Installation Guide</strong></p>
|
||
<ol>
|
||
<li><p>Log into <a target="_blank" rel="noopener" href="https://www.hotjar.com/">Hotjar</a> and click the ➕ (plus sign) > “Add new site” link on the top left of the page.</p>
|
||
</li>
|
||
<li><p>Fill in the “WEBSITE”, “SITE TYPE”, and “SITE OWNER”, then click the “Add Site” button.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/hotjar-new-site.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="New Site - Hotjar" alt="New Site - Hotjar">
|
||
<br>
|
||
</li>
|
||
<li><p>Find the newly created site on the “Sites & Organizations” page you have been redirected to.
|
||
Click the “Tracking Code” button on the right.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/hotjar-site-list.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Site List - Hotjar" alt="Site List - Hotjar">
|
||
<br>
|
||
</li>
|
||
<li><p>Copy the value of “Site ID” (e.g., 1234567) from the popup dialog to <code>plugins</code> > <code>hotjar</code> > <code>site_id</code> in the theme configurations
|
||
to enable the Hotjar plugin.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/hotjar-get-code.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Get Code - Hotjar" alt="Get Code - Hotjar">
|
||
<br>
|
||
|
||
<figure class="highlight yaml"><figcaption><span>_config.icarus.yml</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">plugins:</span></span><br><span class="line"> <span class="attr">hotjar:</span></span><br><span class="line"> <span class="attr">site_id:</span> <span class="number">1234567</span></span><br></pre></td></tr></tbody></table></figure></li>
|
||
</ol>
|
||
<h2 id="Statcounter"><a href="#Statcounter" class="headerlink" title="Statcounter"></a>Statcounter</h2><p><strong>Installation Guide</strong></p>
|
||
<ol>
|
||
<li><p>Log into <a target="_blank" rel="noopener" href="https://statcounter.com/">Statcounter</a>.
|
||
Click “Add New Project” button in the “Projects” page.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/statcounter-projects.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Projects - Statcounter" alt="Projects - Statcounter">
|
||
<br>
|
||
</li>
|
||
<li><p>Fill in the website URL and project title in the “Add Project” page.
|
||
Tweak rest of the project settings if you need to.
|
||
Then, click the “Add Project” button.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/statcounter-add-project.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Add Project - Statcounter" alt="Add Project - Statcounter">
|
||
<br>
|
||
</li>
|
||
<li><p>Click “Continue to Default Installation” in the “Platform Check Complete” page.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/statcounter-platform-check.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Platform Check Complete - Statcounter" alt="Platform Check Complete - Statcounter">
|
||
<br>
|
||
</li>
|
||
<li><p>Finally, in the “Insert the Code on Your Website” page, copy the value of <code>sc_project</code> and <code>sc_security</code> variable in the HTML snippet
|
||
to <code>plugins</code> > <code>statcounter</code> > <code>project</code> and <code>plugins</code> > <code>statcounter</code> > <code>security</code> in the theme configurations, respectively.</p>
|
||
<img src="/hexo-theme-icarus/gallery/screenshots/statcounter-insert-code.png" class="box px-0 py-0 ml-auto mr-auto" width="360" title="Insert Code - Statcounter" alt="Insert Code - Statcounter">
|
||
<br>
|
||
|
||
<p>For example, the following Statcounter code:</p>
|
||
<figure class="highlight html"><figcaption><span>Statcounter code</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag"><<span class="name">script</span> <span class="attr">type</span>=<span class="string">"text/javascript"</span>></span><span class="language-javascript"></span></span><br><span class="line"><span class="language-javascript"><span class="keyword">var</span> sc_project=<span class="number">12345678</span>; </span></span><br><span class="line"><span class="language-javascript"><span class="keyword">var</span> sc_invisible=<span class="number">1</span>; </span></span><br><span class="line"><span class="language-javascript"><span class="keyword">var</span> sc_security=<span class="string">"abcdef12"</span>; </span></span><br><span class="line"><span class="language-javascript"><span class="keyword">var</span> sc_https=<span class="number">1</span>; </span></span><br><span class="line"><span class="language-javascript"></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"><span class="tag"><<span class="name">script</span> <span class="attr">type</span>=<span class="string">"text/javascript"</span></span></span><br><span class="line"><span class="tag"><span class="attr">src</span>=<span class="string">"https://www.statcounter.com/counter/counter.js"</span></span></span><br><span class="line"><span class="tag"><span class="attr">async</span>></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line">...</span><br></pre></td></tr></tbody></table></figure>
|
||
|
||
<p>maps to the following theme configuration:</p>
|
||
<figure class="highlight yaml"><figcaption><span>_config.icarus.yml</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">plugins:</span></span><br><span class="line"> <span class="attr">statcounter:</span></span><br><span class="line"> <span class="attr">project:</span> <span class="number">12345678</span></span><br><span class="line"> <span class="attr">security:</span> <span class="string">abcdef12</span></span><br></pre></td></tr></tbody></table></figure></li>
|
||
</ol>
|
||
<h2 id="Twitter-Conversion-Tracking"><a href="#Twitter-Conversion-Tracking" class="headerlink" title="Twitter Conversion Tracking"></a>Twitter Conversion Tracking</h2><p><strong>Installation Guide</strong></p>
|
||
<ol>
|
||
<li><p>Follow <a target="_blank" rel="noopener" href="https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html">How to set up conversion tracking</a> to enable universal website tag of Twitter conversion tracking.</p>
|
||
</li>
|
||
<li><p>Find the <code>init</code> (Pixel ID) in your conversion tracking code. Copy its value to <code>plugins</code> > <code>twitter_conversion_tracking</code> > <code>pixel_id</code>
|
||
in the theme configurations.</p>
|
||
<p>For example, the following Twitter conversion tracking code:</p>
|
||
<figure class="highlight html"><figcaption><span>Twitter conversion tracking code</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"><!-- Twitter universal website tag code --></span></span><br><span class="line"><span class="tag"><<span class="name">script</span>></span><span class="language-javascript"></span></span><br><span class="line"><span class="language-javascript">!<span class="keyword">function</span>(<span class="params">e,n,u,a</span>){e.<span class="property">twq</span>||(a=e.<span class="property">twq</span>=<span class="keyword">function</span>(<span class="params"></span>){a.<span class="property">exe</span>?a.<span class="property">exe</span>.<span class="title function_">apply</span>(a,<span class="variable language_">arguments</span>):</span></span><br><span class="line"><span class="language-javascript">a.<span class="property">queue</span>.<span class="title function_">push</span>(<span class="variable language_">arguments</span>);},a.<span class="property">version</span>=<span class="string">'1'</span>,a.<span class="property">queue</span>=[],t=n.<span class="title function_">createElement</span>(u),</span></span><br><span class="line"><span class="language-javascript">t.<span class="property">async</span>=!<span class="number">0</span>,t.<span class="property">src</span>=<span class="string">'//static.ads-twitter.com/uwt.js'</span>,s=n.<span class="title function_">getElementsByTagName</span>(u)[<span class="number">0</span>],</span></span><br><span class="line"><span class="language-javascript">s.<span class="property">parentNode</span>.<span class="title function_">insertBefore</span>(t,s))}(<span class="variable language_">window</span>,<span class="variable language_">document</span>,<span class="string">'script'</span>);</span></span><br><span class="line"><span class="language-javascript"><span class="comment">// Insert Twitter Pixel ID and Standard Event data below</span></span></span><br><span class="line"><span class="language-javascript"><span class="title function_">twq</span>(<span class="string">'init'</span>,<span class="string">'abcdef'</span>);</span></span><br><span class="line"><span class="language-javascript"><span class="title function_">twq</span>(<span class="string">'track'</span>,<span class="string">'PageView'</span>);</span></span><br><span class="line"><span class="language-javascript"></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"><span class="comment"><!-- End Twitter universal website tag code --></span></span><br></pre></td></tr></tbody></table></figure>
|
||
|
||
<p>maps to the following theme configuration:</p>
|
||
<figure class="highlight yaml"><figcaption><span>_config.icarus.yml</span></figcaption><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">plugins:</span></span><br><span class="line"> <span class="attr">twitter_conversion_tracking:</span></span><br><span class="line"> <span class="attr">pixel_id:</span> <span class="string">abcdef</span></span><br></pre></td></tr></tbody></table></figure></li>
|
||
</ol>
|
||
<article class="message message-immersive is-warning">
|
||
<div class="message-body">
|
||
<i class="fas fa-question-circle mr-2"></i>Something wrong with this article?
|
||
Click <a target="_blank" rel="noopener" href="https://github.com/ppoffice/hexo-theme-icarus/edit/site/source/_posts/en/Web-Analytics-Plugins.md">here</a>
|
||
to submit your revision.
|
||
</div>
|
||
</article>
|
||
</div><div class="article-licensing box"><div class="licensing-title"><p>Icarus User Guide - Web Analytics Plugins</p><p><a href="http://ppoffice.github.io/hexo-theme-icarus/Plugins/Analytics/icarus-user-guide-web-analytics-plugins/">http://ppoffice.github.io/hexo-theme-icarus/Plugins/Analytics/icarus-user-guide-web-analytics-plugins/</a></p></div><div class="licensing-meta level is-mobile"><div class="level-left"><div class="level-item is-narrow"><div><h6>Author</h6><p>PPOffice</p></div></div><div class="level-item is-narrow"><div><h6>Posted on</h6><p>2017-01-31</p></div></div><div class="level-item is-narrow"><div><h6>Licensed under</h6><p><a class="icons" rel="noopener" target="_blank" title="Creative Commons" href="https://creativecommons.org/"><i class="icon fab fa-creative-commons"></i></a><a class="" rel="noopener" target="_blank" title="CC BY-NC-SA 4.0" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a></p></div></div></div></div></div><div class="article-tags is-size-7 mb-4"><span class="mr-2">#</span><a class="link-muted mr-2" rel="tag" href="/hexo-theme-icarus/tags/Icarus-User-Guide/">Icarus User Guide</a></div><div class="sharethis-inline-share-buttons"></div><script src="//platform-api.sharethis.com/js/sharethis.js#property=5ab6f60ace89f00013641890&product=inline-share-buttons" defer></script></article></div><!--!--><nav class="post-navigation mt-4 level is-mobile"><div class="level-start"><a class="article-nav-prev level level-item link-muted" href="/hexo-theme-icarus/Plugins/Search/icarus-user-guide-search-plugin/"><i class="level-item fas fa-chevron-left"></i><span class="level-item">Icarus User Guide - Search Plugin</span></a></div><div class="level-end"><a class="article-nav-next level level-item link-muted" href="/hexo-theme-icarus/Widgets/icarus-user-guide-widgets/"><span class="level-item">Icarus User Guide - Widgets</span><i class="level-item fas fa-chevron-right"></i></a></div></nav><!--!--></div><div class="column column-left is-4-tablet is-4-desktop is-4-widescreen order-1 is-sticky"><div class="card widget" data-type="profile"><div class="card-content"><nav class="level"><div class="level-item has-text-centered flex-shrink-1"><div><figure class="image is-128x128 mx-auto mb-2"><img class="avatar" src="/hexo-theme-icarus/img/avatar.png" alt="PPOffice"></figure><p class="title is-size-4 is-block" style="line-height:inherit;">PPOffice</p><p class="is-size-6 is-block">Web Developer</p><p class="is-size-6 is-flex justify-content-center"><i class="fas fa-map-marker-alt mr-1"></i><span>Earth, Solar System</span></p></div></div></nav><nav class="level is-mobile"><div class="level-item has-text-centered is-marginless"><div><p class="heading">Posts</p><a href="/hexo-theme-icarus/archives/"><p class="title">43</p></a></div></div><div class="level-item has-text-centered is-marginless"><div><p class="heading">Categories</p><a href="/hexo-theme-icarus/categories/"><p class="title">9</p></a></div></div><div class="level-item has-text-centered is-marginless"><div><p class="heading">Tags</p><a href="/hexo-theme-icarus/tags/"><p class="title">4</p></a></div></div></nav><div class="level"><a class="level-item button is-primary is-rounded" href="https://github.com/ppoffice" target="_blank" rel="me noopener">Follow</a></div><div class="level is-mobile is-multiline"><a class="level-item button is-transparent is-marginless" target="_blank" rel="me noopener" title="Github" href="https://github.com/ppoffice"><i class="fab fa-github"></i></a><a class="level-item button is-transparent is-marginless" target="_blank" rel="me noopener" title="Facebook" href="https://facebook.com"><i class="fab fa-facebook"></i></a><a class="level-item button is-transparent is-marginless" target="_blank" rel="me noopener" title="Twitter" href="https://twitter.com"><i class="fab fa-twitter"></i></a><a class="level-item button is-transparent is-marginless" target="_blank" rel="me noopener" title="Dribbble" href="https://dribbble.com"><i class="fab fa-dribbble"></i></a><a class="level-item button is-transparent is-marginless" target="_blank" rel="me noopener" title="RSS" href="/hexo-theme-icarus/"><i class="fas fa-rss"></i></a></div></div></div><div class="card widget" id="toc" data-type="toc"><div class="card-content"><div class="menu"><h3 class="menu-label">Catalogue</h3><ul class="menu-list"><li><a class="level is-mobile" href="#Baidu-Statistics"><span class="level-left"><span class="level-item">1</span><span class="level-item">Baidu Statistics</span></span></a></li><li><a class="level is-mobile" href="#Bing-Webmaster-Tools"><span class="level-left"><span class="level-item">2</span><span class="level-item">Bing Webmaster Tools</span></span></a></li><li><a class="level is-mobile" href="#BuSuanZi-Web-Counter"><span class="level-left"><span class="level-item">3</span><span class="level-item">BuSuanZi Web Counter</span></span></a></li><li><a class="level is-mobile" href="#CNZZ-Statistics"><span class="level-left"><span class="level-item">4</span><span class="level-item">CNZZ Statistics</span></span></a></li><li><a class="level is-mobile" href="#Google-Analytics"><span class="level-left"><span class="level-item">5</span><span class="level-item">Google Analytics</span></span></a></li><li><a class="level is-mobile" href="#Hotjar"><span class="level-left"><span class="level-item">6</span><span class="level-item">Hotjar</span></span></a></li><li><a class="level is-mobile" href="#Statcounter"><span class="level-left"><span class="level-item">7</span><span class="level-item">Statcounter</span></span></a></li><li><a class="level is-mobile" href="#Twitter-Conversion-Tracking"><span class="level-left"><span class="level-item">8</span><span class="level-item">Twitter Conversion Tracking</span></span></a></li></ul></div></div><style>#toc .menu-list > li > a.is-active + .menu-list { display: block; }#toc .menu-list > li > a + .menu-list { display: none; }</style><script src="/hexo-theme-icarus/js/toc.js" defer></script></div><div class="card widget" data-type="categories"><div class="card-content"><div class="menu"><h3 class="menu-label">Categories</h3><ul class="menu-list"><li><a class="level is-mobile" href="/hexo-theme-icarus/categories/Configuration/"><span class="level-start"><span class="level-item">Configuration</span></span><span class="level-end"><span class="level-item tag">4</span></span></a></li><li><a class="level is-mobile" href="/hexo-theme-icarus/categories/Plugins/"><span class="level-start"><span class="level-item">Plugins</span></span><span class="level-end"><span class="level-item tag">12</span></span></a><ul><li><a class="level is-mobile" href="/hexo-theme-icarus/categories/Plugins/Analytics/"><span class="level-start"><span class="level-item">Analytics</span></span><span class="level-end"><span class="level-item tag">2</span></span></a></li><li><a class="level is-mobile" href="/hexo-theme-icarus/categories/Plugins/Comment/"><span class="level-start"><span class="level-item">Comment</span></span><span class="level-end"><span class="level-item tag">2</span></span></a></li><li><a class="level is-mobile" href="/hexo-theme-icarus/categories/Plugins/Donation/"><span class="level-start"><span class="level-item">Donation</span></span><span class="level-end"><span class="level-item tag">2</span></span></a></li><li><a class="level is-mobile" href="/hexo-theme-icarus/categories/Plugins/Other/"><span class="level-start"><span class="level-item">Other</span></span><span class="level-end"><span class="level-item tag">2</span></span></a></li><li><a class="level is-mobile" href="/hexo-theme-icarus/categories/Plugins/Search/"><span class="level-start"><span class="level-item">Search</span></span><span class="level-end"><span class="level-item tag">2</span></span></a></li><li><a class="level is-mobile" href="/hexo-theme-icarus/categories/Plugins/Share/"><span class="level-start"><span class="level-item">Share</span></span><span class="level-end"><span class="level-item tag">2</span></span></a></li></ul></li><li><a class="level is-mobile" href="/hexo-theme-icarus/categories/Widgets/"><span class="level-start"><span class="level-item">Widgets</span></span><span class="level-end"><span class="level-item tag">2</span></span></a></li></ul></div></div></div><div class="card widget" data-type="tags"><div class="card-content"><div class="menu"><h3 class="menu-label">Tags</h3><div class="field is-grouped is-grouped-multiline"><div class="control"><a class="tags has-addons" href="/hexo-theme-icarus/tags/Demo/"><span class="tag">Demo</span><span class="tag">19</span></a></div><div class="control"><a class="tags has-addons" href="/hexo-theme-icarus/tags/Getting-Started/"><span class="tag">Getting Started</span><span class="tag">4</span></a></div><div class="control"><a class="tags has-addons" href="/hexo-theme-icarus/tags/Icarus-User-Guide/"><span class="tag">Icarus User Guide</span><span class="tag">12</span></a></div><div class="control"><a class="tags has-addons" href="/hexo-theme-icarus/tags/Icarus%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97/"><span class="tag">Icarus用户指南</span><span class="tag">12</span></a></div></div></div></div></div></div><!--!--></div></div></section><footer class="footer"><div class="container"><div class="level"><div class="level-start"><a class="footer-logo is-block mb-2" href="/hexo-theme-icarus/"><img src="/hexo-theme-icarus/img/logo.svg" alt="Icarus" height="28"></a><p class="is-size-7"><span>© 2025 PPOffice</span> Powered by <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a> & <a href="https://github.com/ppoffice/hexo-theme-icarus" target="_blank" rel="noopener">Icarus</a></p></div><div class="level-end"><div class="field has-addons"><p class="control"><a class="button is-transparent is-large" target="_blank" rel="noopener" title="Creative Commons" href="https://creativecommons.org/"><i class="fab fa-creative-commons"></i></a></p><p class="control"><a class="button is-transparent is-large" target="_blank" rel="noopener" title="Discuss on GitHub" href="https://github.com/ppoffice/hexo-theme-icarus/discussions"><i class="fas fa-comments"></i></a></p><p class="control"><a class="button is-transparent is-large" target="_blank" rel="noopener" title="Download on GitHub" href="https://github.com/ppoffice/hexo-theme-icarus"><i class="fab fa-github"></i></a></p></div></div></div></div></footer><script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/moment@2.22.2/min/moment-with-locales.min.js"></script><script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.4/dist/clipboard.min.js" defer></script><script>moment.locale("en");</script><script>var IcarusThemeSettings = {
|
||
article: {
|
||
highlight: {
|
||
clipboard: true,
|
||
fold: 'unfolded'
|
||
}
|
||
}
|
||
};</script><script data-pjax src="/hexo-theme-icarus/js/column.js"></script><script src="/hexo-theme-icarus/js/animation.js"></script><a id="back-to-top" title="Back to top" href="javascript:;"><i class="fas fa-chevron-up"></i></a><script data-pjax src="/hexo-theme-icarus/js/back_to_top.js" defer></script><!--!--><!--!--><!--!--><script src="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.1/build/cookieconsent.min.js" defer></script><script>window.addEventListener("load", () => {
|
||
window.cookieconsent.initialise({
|
||
type: "info",
|
||
theme: "edgeless",
|
||
static: false,
|
||
position: "bottom-left",
|
||
content: {
|
||
message: "This website uses cookies to improve your experience.",
|
||
dismiss: "Got it!",
|
||
allow: "Allow cookies",
|
||
deny: "Decline",
|
||
link: "Learn more",
|
||
policy: "Cookie Policy",
|
||
href: "https://www.cookiesandyou.com/",
|
||
},
|
||
palette: {
|
||
popup: {
|
||
background: "#edeff5",
|
||
text: "#838391"
|
||
},
|
||
button: {
|
||
background: "#4b81e8"
|
||
},
|
||
},
|
||
});
|
||
});</script><script src="https://cdn.jsdelivr.net/npm/lightgallery@1.10.0/dist/js/lightgallery.min.js" defer></script><script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.8.1/dist/js/jquery.justifiedGallery.min.js" defer></script><script>window.addEventListener("load", () => {
|
||
if (typeof $.fn.lightGallery === 'function') {
|
||
$('.article').lightGallery({ selector: '.gallery-item' });
|
||
}
|
||
if (typeof $.fn.justifiedGallery === 'function') {
|
||
if ($('.justified-gallery > p > .gallery-item').length) {
|
||
$('.justified-gallery > p > .gallery-item').unwrap();
|
||
}
|
||
$('.justified-gallery').justifiedGallery();
|
||
}
|
||
});</script><!--!--><!--!--><div id="outdated"><h6>Your browser is out-of-date!</h6><p>Update your browser to view this website correctly.&npsb;<a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Update my browser now </a></p><p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">×</a></p></div><script src="https://cdn.jsdelivr.net/npm/outdatedbrowser@1.1.5/outdatedbrowser/outdatedbrowser.min.js" defer></script><script>window.addEventListener("load", function () {
|
||
outdatedBrowser({
|
||
bgColor: '#f25648',
|
||
color: '#ffffff',
|
||
lowerThan: 'object-fit' // display on IE11 or below
|
||
});
|
||
});</script><!--!--><!--!--><!--!--><script data-pjax src="/hexo-theme-icarus/js/main.js" defer></script><div class="searchbox"><div class="searchbox-container"><div class="searchbox-header"><div class="searchbox-input-container"><input class="searchbox-input" type="text" placeholder="Type something..."></div><a class="searchbox-close" href="javascript:;">×</a></div><div class="searchbox-body"></div></div></div><script data-pjax src="/hexo-theme-icarus/js/insight.js" defer></script><script data-pjax>document.addEventListener('DOMContentLoaded', function () {
|
||
loadInsight({"contentUrl":"/hexo-theme-icarus/content.json"}, {"hint":"Type something...","untitled":"(Untitled)","posts":"Posts","pages":"Pages","categories":"Categories","tags":"Tags"});
|
||
});</script></body></html> |