Skip to content

Commit

Permalink
Merge pull request #662 from canonical/gtm-cookie
Browse files Browse the repository at this point in the history
Invoke cookie policy before gtm
  • Loading branch information
britneywwc authored Oct 15, 2024
2 parents 1749b0d + c420a4f commit ca9b59b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/base_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<title>
{% block title %}MicroK8s - Zero-ops Kubernetes for developers, edge and IoT{% endblock %}
</title>
<!-- Cookie policy -->
<script src="{{ versioned_static('js/dist/cookie-policy.js') }}"></script>
<!-- Google Analytics and Google Optimize -->
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
Expand Down Expand Up @@ -116,7 +118,6 @@
{% include "partial/_footer.html" %}
{% endblock %}
<script src="{{ versioned_static('js/dist/global-nav.js') }}"></script>
<script src="{{ versioned_static('js/dist/main.js') }}"></script>
<script src="{{ versioned_static('js/dist/cookie-policy.js') }}"></script>
<script src="{{ versioned_static('js/dist/main.js') }}"></script>
</body>
</html>

0 comments on commit ca9b59b

Please sign in to comment.