Skip to content

Commit

Permalink
Add Scarf Pixel to Airflow RTD Theme (#1012)
Browse files Browse the repository at this point in the history
Similar to apache/superset#25065 and apache/airflow#39510 but this one doesn't need to wait for the VOTE since this adds a simple transparent tracking pixel. More detail in https://docs.scarf.sh/web-traffic/

All of this data will be available in Scarf, creds for which are shared to 1password for PMC members, and can be reported periodically in things like Town Hall or newsletters.
  • Loading branch information
kaxil committed May 10, 2024
1 parent 794197f commit 43517d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions landing-pages/site/layouts/partials/hooks/head-end.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
})();
</script>
<!-- End Matomo Code -->
<!-- Scarf Telemetry Pixel -->
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=7265a3c4-a6dd-4933-ba8b-9e3c13903c60" />
<!-- End Scarf Telemetry Pixel -->

{{ with .Site.Data.webpack }}
<link rel="preload" href="{{ relURL .main.js }}" as="script">
Expand Down
2 changes: 1 addition & 1 deletion sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from os import path
from sphinx.application import Sphinx

__version__ = '0.0.12'
__version__ = '0.0.13'
__version_full__ = __version__


Expand Down
3 changes: 3 additions & 0 deletions sphinx_airflow_theme/sphinx_airflow_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@
})();
</script>
<!-- End Matomo Code -->
<!-- Scarf Telemetry Pixel -->
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=7265a3c4-a6dd-4933-ba8b-9e3c13903c60" />
<!-- End Scarf Telemetry Pixel -->
{%- block extrahead %}

{% endblock %}
Expand Down

0 comments on commit 43517d2

Please sign in to comment.