Google analytics extra tracking does not work

The following partial has a block tag which allows different templates to insert extra javascript code to the google analytics tracking by overriding the extratracking block.

<a href="https://github.com/tangentlabs/django-oscar/blob/master/oscar/templates/oscar/partials/google_analytics.html">templates / oscar / partials / google_analytics.html:</a>
```html
<script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', '{{ google_analytics_id }}']);
    _gaq.push(['_trackPageview']);
    {% block extratracking %}{% endblock %}
    (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
</script>
```

However, this does not work as the partial is being included in base.html and included templates cannot be extended. See https://code.djangoproject.com/ticket/6646.