You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2023/08/24 14:44:12 UTC

[superset] branch master updated: feat: adding Scarf pixels to gather telemetry on readme and website (#25065)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 60c2ac3268 feat: adding Scarf pixels to gather telemetry on readme and website (#25065)
60c2ac3268 is described below

commit 60c2ac3268a59375d47edc06664d123a0e43278f
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Thu Aug 24 08:44:05 2023 -0600

    feat: adding Scarf pixels to gather telemetry on readme and website (#25065)
---
 README.md                 | 3 +++
 docs/docusaurus.config.js | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 8c13452d18..da1d4a88c5 100644
--- a/README.md
+++ b/README.md
@@ -184,3 +184,6 @@ Understanding the Superset Points of View
   - [Why Apache Superset is Betting on Apache ECharts](https://preset.io/blog/2021-4-1-why-echarts/)
 
 - [Superset API](https://superset.apache.org/docs/rest-api)
+
+<!-- telemetry/analytics pixel: -->
+<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=bc1c90cd-bc04-4e11-8c7b-289fb2839492" />
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index eec37b25d7..a12ae72dd5 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -252,7 +252,10 @@ const config = {
               <a href="https://apache.org/events/current-event" target="_blank" rel="noreferrer">Events</a>&nbsp;|&nbsp;
               <a href="https://apache.org/licenses/" target="_blank" rel="noreferrer">License</a>
             </small>
-          </p>`,
+          </p>
+          <!-- telemetry/analytics pixel: -->
+          <img referrerPolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=39ae6855-95fc-4566-86e5-360d542b0a68" />
+          `,
       },
       prism: {
         theme: lightCodeTheme,