Skip to content

Commit

Permalink
Drop GTM, add plausible
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Feb 24, 2024
1 parent 4dd3db0 commit be66f20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ disqus_short_name: resizer

content: content

google_tag_manager: "GTM-5JKQ2GP"

# google_tag_manager: "GTM-5JKQ2GP"
plausible: true

# Google Webmaster and Analytics usually require a 'google[code].html' file be placed on the domain
# Use this feature to do this without polluting your directory structure
Expand Down
3 changes: 2 additions & 1 deletion content/_layout/layout.slim
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ html(lang="en" class="no-js")
meta name="viewport" content="width=device-width, initial-scale=1"

== partial :gtm

== partial :plausible

link href="/css/less/site.css" rel="stylesheet"
/ - if page.lib? :twentytwenty
/ link href="/css/twentytwenty.css" rel="stylesheet"
Expand Down
2 changes: 2 additions & 0 deletions content/_layout/plausible.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- if config.plausible
script defer data-domain="imageresizing.net" src="https://plausible.io/js/script.js"

0 comments on commit be66f20

Please sign in to comment.