Skip to content

Commit 9de970b

Browse files
author
Yoav Ram
committedAug 9, 2016
google analytics
1 parent f605812 commit 9de970b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed
 

‎configs/google-analytics.ini

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GOOGLE_ANALYTICS_ID = UA-3865698-16

‎templates/layout.html

+2
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,6 @@ <h1>Yoav Ram</h1>
145145

146146
<!-- Bootstrap JavaScript -->
147147
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
148+
<!-- GA https://github.com/kmonsoor/lektor-google-analytics -->
149+
<div class="ga-script">{{ generate_google_analytics() }}</div>
148150
</body>

‎www.yoavram.com.lektorproject

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[project]
22
name = www.yoavram.com
33
url = www.yoavram.com
4+
5+
[packages]
6+
lektor-google-analytics = 0.1.3

0 commit comments

Comments
 (0)
Please sign in to comment.