Skip to content

Commit

Permalink
chore: analytics on hex docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 2, 2023
1 parent fe8cfcb commit 8f5f53a
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 @@ -94,6 +94,13 @@ defmodule AshStateMachine.MixProject do
source_ref: "v#{@version}",
logo: "logos/small-logo.png",
extra_section: "GUIDES",
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 8f5f53a

Please sign in to comment.