Skip to content

Commit db3257f

Browse files
author
Mayankm96
committed
google analyics liquid tag added
1 parent 02fcb9d commit db3257f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ scholar_authorid: # put your google scholar author id
2424
contact_note: >
2525
You can even add a little note about which of these is the best way to reach you.
2626
27+
google_analytics: UA-XXXXXXXXX # out your google-analytics code
28+
2729
# -----------------------------------------------------------------------------
2830
# Blog
2931
# -----------------------------------------------------------------------------

_includes/hemline.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
3232
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
3333

34-
ga('create', 'UA-XXXXXXXX-X', 'auto');
34+
ga('create', '{{ site.google_analytics }}', 'auto');
3535
ga('send', 'pageview');
3636
</script>

0 commit comments

Comments
 (0)