Skip to content

Commit

Permalink
chore: analytics in hexdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 2, 2023
1 parent e3f8952 commit 3892c47
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,13 @@ defmodule AshDoubleEntry.MixProject do
source_ref: "v#{@version}",
logo: "logos/small-logo.png",
extras: extras(),
before_closing_head_tag: fn type ->
if type == :html do
"""
<script defer data-domain="ashhexdocs" src="https://plausible.io/js/script.js"></script>
"""
end
end,
spark: [
extensions: [
%{
Expand Down

0 comments on commit 3892c47

Please sign in to comment.