Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the Osano snippet #16365

Merged
merged 2 commits into from
Sep 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions airbyte-webapp/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ REACT_APP_SEGMENT_TOKEN=6cxNSmQyGSKcATLdJ2pL6WsawkzEMDAN
REACT_APP_FULL_STORY_ORG=13AXQ4
REACT_APP_SENTRY_DSN=
REACT_APP_INTERCOM_APP_ID=nj1oam7s
REACT_APP_OSANO=16A0CTTE7vE8m1Qif/cff33c53-d6e6-45af-8a66-76be4c5ac568
6 changes: 6 additions & 0 deletions airbyte-webapp/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="stylesheet" href="%PUBLIC_URL%/index.css">
<title>Airbyte</title>
<% if (process.env.REACT_APP_OSANO) { %>
<style>
.osano-cm-widget { display: none; }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ This is the official way to hide their widget (cookie button on the bottom of the page): https://docs.osano.com/hiding-the-cookie-widget

</style>
<script src="https://cmp.osano.com/%REACT_APP_OSANO%/osano.js"></script>
<% } %>
</head>
<body>
<noscript>
Expand Down