2020-04-01 15:33:49 +03:00
|
|
|
const proxyData = '{"url": "{{ site.google_analytics.pv.proxy_endpoint }}"}';
|
|
|
|
|
|
|
|
{%- capture pv_data -%}
|
|
|
|
{%- if site.google_analytics.pv.cache and site.google_analytics.pv.enabled -%}
|
2020-05-29 19:48:10 +03:00
|
|
|
{% include_relative data/_pageviews.json %}
|
2020-04-01 15:33:49 +03:00
|
|
|
{%- endif -%}
|
|
|
|
{%- endcapture -%}
|
|
|
|
|
2020-05-29 19:48:10 +03:00
|
|
|
const pageviews = '{{ pv_data }}';
|