Change analytics script from Panelbear to Cronitor (#1561)
Panelbear is now Cronitor RUM, the old script does not work.
This commit is contained in:
parent
bbbb1394f2
commit
bdf7bbcb3d
|
|
@ -113,7 +113,7 @@ contact_note: >
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
google_analytics: # your Google Analytics measurement ID (format: G-XXXXXXXXXX)
|
google_analytics: # your Google Analytics measurement ID (format: G-XXXXXXXXXX)
|
||||||
panelbear_analytics: # panelbear analytics site ID (format: XXXXXXXXX)
|
cronitor_analytics: # cronitor RUM analytics site ID (format: XXXXXXXXX)
|
||||||
|
|
||||||
google_site_verification: # your google-site-verification ID (Google Search Console)
|
google_site_verification: # your google-site-verification ID (Google Search Console)
|
||||||
bing_site_verification: # out your bing-site-verification ID (Bing Webmaster)
|
bing_site_verification: # out your bing-site-verification ID (Bing Webmaster)
|
||||||
|
|
@ -356,7 +356,7 @@ jekyll-diagrams:
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
enable_google_analytics: false # enables google analytics
|
enable_google_analytics: false # enables google analytics
|
||||||
enable_panelbear_analytics: false # enables panelbear analytics
|
enable_cronitor_analytics: false # enables cronitor RUM analytics
|
||||||
enable_google_verification: false # enables google site verification
|
enable_google_verification: false # enables google site verification
|
||||||
enable_bing_verification: false # enables bing site verification
|
enable_bing_verification: false # enables bing site verification
|
||||||
enable_masonry: true # enables automatic project cards arrangement
|
enable_masonry: true # enables automatic project cards arrangement
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,11 @@
|
||||||
gtag('config', '{{ site.google_analytics }}');
|
gtag('config', '{{ site.google_analytics }}');
|
||||||
</script>
|
</script>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if site.enable_panelbear_analytics -%}
|
{%- if site.enable_cronitor_analytics -%}
|
||||||
<!-- Panelbear Analytics - We respect your privacy -->
|
<!-- Cronitor RUM -->
|
||||||
<script async src="https://cdn.panelbear.com/analytics.js?site={{site.panelbear_analytics}}"></script>
|
<script async src="https://rum.cronitor.io/script.js"></script>
|
||||||
<script>
|
<script>
|
||||||
window.panelbear = window.panelbear || function() { (window.panelbear.q = window.panelbear.q || []).push(arguments); };
|
window.cronitor = window.cronitor || function() { (window.cronitor.q = window.cronitor.q || []).push(arguments); };
|
||||||
panelbear('config', { site: '{{site.panelbear_analytics}}' });
|
cronitor('config', { clientKey: '{{site.cronitor_analytics}}' });
|
||||||
</script>
|
</script>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue