Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
feather
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
feather
Commits
7f501e13
Commit
7f501e13
authored
Apr 30, 2017
by
Cole Bemis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add google analytics
parent
0bd43ce3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
_config.yml
_config.yml
+4
-1
analytics.html
_includes/analytics.html
+10
-0
index.html
index.html
+4
-0
No files found.
_config.yml
View file @
7f501e13
...
...
@@ -8,4 +8,7 @@ exclude:
-
icons-manifest.json
-
bin
-
sandbox
-
stash
\ No newline at end of file
-
stash
# Google Analytics Tracking ID
google_analytics
:
UA-63028889-4
\ No newline at end of file
_includes/analytics.html
0 → 100644
View file @
7f501e13
<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
'
,
'
https://www.google-analytics.com/analytics.js
'
,
'
ga
'
);
ga
(
'
create
'
,
'
{{ site.google_analytics }}
'
,
'
auto
'
);
ga
(
'
send
'
,
'
pageview
'
);
</script>
index.html
View file @
7f501e13
...
...
@@ -18,6 +18,10 @@ description: Feather is a collection of simply beautiful open source icons. Each
<link
href=
"https://fonts.googleapis.com/css?family=Rubik:300,400"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"style.css"
>
{% if site.google_analytics and jekyll.environment == 'production' %}
{% include analytics.html %}
{% endif %}
</head>
<body>
{% include header.html %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment