Sha256: 06aa59c7d68fa05cd8d241c208a408a4a9641309a356027bce7dad388d214c23

Contents?: true

Size: 1.56 KB

Versions: 22

Compression:

Stored size: 1.56 KB

Contents

{% comment %}
 # -----------------------------------------------------------------------------
 #  ~/_includes/themes/j1/procedures/provider/analytics/googleUA
 #  Support of analytics provider googleUA for J1 Template
 #
 #  Product/Info:
 #  http://jekyll.one
 #
 #  Copyright (C) 2019 Juergen Adams
 #
 #  J1 Template is licensed under the MIT License.
 #  See: https://github.com/jekyll-one/j1_template_mde/blob/master/LICENSE
 # -----------------------------------------------------------------------------
 # Test data:
 #  liquid_var:  {{ liquid_var | debug }}
 # -----------------------------------------------------------------------------
{% endcomment %}

{% comment %} Liquid procedures
--------------------------------------------------------------- {% endcomment %}

{% comment %} Variables
--------------------------------------------------------------- {% endcomment %}


{% comment %} Main
--------------------------------------------------------------- {% endcomment %}

<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),
            m = s.getElementsByTagName(o)[0];
        a.async = 1;
        a.src = g;
        m.parentNode.insertBefore(a, m)
    })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

    ga('create', '{{ site.xxj.analytics.googleUA.tracking_id }}', '{{ site.xxj.analytics.googleUA.property_name }}');
    ga('send', 'pageview');
</script>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
j1_template_mde-2018.4.11 _includes/themes/j1/modules/connectors/analytic/googleUA
j1_template_mde-2018.4.10 _includes/themes/j1/modules/connectors/analytic/googleUA