Skip to content
Discussion options

You must be logged in to vote

Thanks @squidfunk.

Note that I don't use the plugin of @notpushkin.
The integration of the script is very simple and flexible. It allows me to freely add or remove modules (local, tagged-events, etc.) and to manage the 404s.

Here is an example with tracking on the glightbox image zoom.

overrides/main.html

{% block scripts %}
<!-- Add scripts that need to run before here -->
{{ super() }}
<!-- Add scripts that need to run afterwards here -->
<!-- Plausible analytics. Remove `.local` from the `scr` if you don't want local tracking -->
<script defer data-domain="ai.lefebvre-sarrut.eu" src="https://plausible.io/js/script.local.outbound-links.tagged-events.js"></script>
<!-- 404 error pages …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@notpushkin
Comment options

@squidfunk
Comment options

@notpushkin
Comment options

@notpushkin
Comment options

Answer selected by squidfunk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants