Skip to content

Commit

Permalink
adding ahrefs tracker (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
dperrymorrow authored Jan 29, 2025
1 parent f978d88 commit feff304
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions layouts/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@
})
</script>
<% end %>

<% if @config[:ahrefs_id] != "" %>
<script src="https://analytics.ahrefs.com/analytics.js" data-key="<%= @config[:ahrefs_id] %>" async></script>
<% end %>
2 changes: 2 additions & 0 deletions nanoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,7 @@ base_url: https://developer.dnsimple.com
environments:
default:
posthog_id: ""
ahrefs_id: ""
production:
ahrefs_id: "UtKH36Rl3tUpIyx+heMxjA"
posthog_id: "phc_sEjNzo9c8KB8Njj2rXSGhjyyuShmO820Ii2DNYS3igL"

0 comments on commit feff304

Please sign in to comment.