Skip to content

Commit

Permalink
Merge pull request #39 from resynth1943/patch-1
Browse files Browse the repository at this point in the history
Remove Google Analytics
  • Loading branch information
sujaykundu777 authored Jun 1, 2020
2 parents c0f7859 + e283de0 commit eecde77
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 34 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ devlopr uses Markdown Files to create data like Blog Posts, Gallery, Shop Produc
- Supports Latest [Jekyll 4.x](https://jekyllrb.com) and [Bundler](https://bundler.io)
- Stylesheet built using Sass
- Comments using [Hyvor](https://talk.hyvor.com/) and [Disqus](https://disqus.com/)
- Google SEO and Analytics Optimized
- SEO-optimized
- Real Time Search using [Algolia](https://algolia.com/)
- Sell Stuff (Ecommerce) in your Blog using [Snipcart](https://snipcart.com/)
- Send Newsletters using [Mailchimp](https://mailchimp.com/)
Expand Down Expand Up @@ -120,4 +120,4 @@ You can contact me, if you need any help via [Email](mailto:sujaykundu777@gmail.

The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). You can do anything you want, including projects for your clients, as long as you mention an attribution back (credit links in footer). See the [Licence](https://github.com/sujaykundu777/devlopr-jekyll/blob/master/LICENSE) file

I understand that sometimes footer links or any links to external websites are not convenient, so you have the option to remove credits/footer links by becoming a [Backer](https://opencollective.com/devlopr-jekyll#backer).
I understand that sometimes footer links or any links to external websites are not convenient, so you have the option to remove credits/footer links by becoming a [Backer](https://opencollective.com/devlopr-jekyll#backer).
3 changes: 0 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ markdown: kramdown
highlighter: rouge
permalink: pretty

# google analytics
google_analytics: UA-46783401-10

# Choose what to show ( can be true or false)
show_author_work_experiences: true
show_author_education_details: true
Expand Down
29 changes: 0 additions & 29 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,33 +180,4 @@
data-x_margin="10"
data-y_margin="10"
></script>

{% if jekyll.environment == "production" %}

<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>

{% endif %}
</head>

1 comment on commit eecde77

@vercel
Copy link

@vercel vercel bot commented on eecde77 Jun 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.