@@ -25,11 +25,11 @@ Next use the `templatetag` in your template:
2525 <title>{% block page_title %}{{ site.name }}{% endblock %}</title>
2626 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
2727 ...
28- {% simple_analytics_sync %}
28+ {% simpleanalytics_sync %}
2929 ...
3030 </head>
3131 <body>
32- {% simple_analytics_noscript_block %}
32+ {% simpleanalytics_noscript_block %}
3333 </body>
3434</html>
3535```
@@ -57,27 +57,28 @@ This will translate to roughly this:
5757
5858This app has four templatetags:
5959
60- - simple_analytics_sync
61- - simple_analytics_async
62- - simple_analytics_noscript_block
63- - simple_analytics_noscript_img
60+ - simpleanalytics_sync
61+ - simpleanalytics_async
62+ - simpleanalytics_noscript_block
63+ - simpleanalytics_noscript_img
6464
65- ` simple_analytics_sync ` converts to a plain ` <script> ` tag without the ` async `
65+ ` simpleanalytics_sync ` converts to a plain ` <script> ` tag without the ` async `
6666keyword.
6767
68- ` simple_analytics_async ` converts to a plain ` <script> ` tag with the ` async `
68+ ` simpleanalytics_async ` converts to a plain ` <script> ` tag with the ` async `
6969keyword.
7070
71- ` simple_analytics_noscript_block ` converts to an ` <noscript> ` block which
71+ ` simpleanalytics_noscript_block ` converts to an ` <noscript> ` block which
7272includes an ` img ` element which is used to load the image. Use this when you
7373don't have and don't need a ` <noscript> ` block on your page at all.
7474
75- ` simple_analytics_noscript_img ` converts to an ` <img> ` tag which src points to
75+ ` simpleanalytics_noscript_img ` converts to an ` <img> ` tag which src points to
7676the hello.img. Use this when you're using a ` <noscript> ` block and you want to
7777add privacy friendly stats to your page.
7878
7979# Compatibility
8080
81- Tested on Django 2.2.
81+ Tested on Django 2.2, but we think you should be able to run on any recent
82+ Django deployment. Please file an issue when it doesn't.
8283
8384
0 commit comments