Skip to content

Commit

Permalink
Merge pull request #58 from sparkfabrik/45-ga-tracking
Browse files Browse the repository at this point in the history
45 ga tracking
  • Loading branch information
stefanomainardi authored Jun 24, 2020
2 parents cfef6b5 + efd2458 commit 214d162
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 198 deletions.
9 changes: 8 additions & 1 deletion custom/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,14 @@ var config = {
image_url: '/images',

// Add your analytics tracking code (including script tags)
analytics: '',
analytics: '<!-- Global site tag (gtag.js) - Google Analytics -->\n' +
'\xa0\xa0<script async src="https://www.googletagmanager.com/gtag/js?id=UA-62993647-4" ></script>\n' +
'\xa0\xa0<script>\n' +
'\xa0\xa0\xa0\xa0window.dataLayer = window.dataLayer || [];\n' +
'\xa0\xa0\xa0\xa0function gtag(){dataLayer.push(arguments);}\n' +
'\xa0\xa0\xa0\xa0gtag(\'js\', new Date());\n\n' +
'\xa0\xa0\xa0\xa0gtag(\'config\', \'UA-62993647-4\' , {\'anonymize_ip\' : true }) ;\n' +
'\xa0\xa0</script>',

// Set to true to enable the web editor
allow_editing : false,
Expand Down
259 changes: 64 additions & 195 deletions custom/themes/spark-playbook/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions custom/themes/spark-playbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"license": "ISC",
"dependencies": {
"bootstrap": "^4.4.1",
"jquery": "^3.4.1",
"jquery": "^3.5.1",
"popper.js": "^1.16.1"
},
"devDependencies": {
Expand All @@ -24,7 +24,7 @@
"extract-loader": "^5.0.1",
"fibers": "^4.0.2",
"file-loader": "^6.0.0",
"node-sass": "^4.13.1",
"node-sass": "^4.14.1",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"sass": "^1.26.3",
Expand Down

0 comments on commit 214d162

Please sign in to comment.