mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-01 21:32:35 +02:00
Add one trust
This commit is contained in:
10
src/components/Analytics/OneTrust.astro
Normal file
10
src/components/Analytics/OneTrust.astro
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<!-- OneTrust Cookies Consent Notice start for roadmap.sh -->
|
||||||
|
<script
|
||||||
|
src='https://cdn.cookielaw.org/scripttemplates/otSDKStub.js'
|
||||||
|
type='text/javascript'
|
||||||
|
charset='UTF-8'
|
||||||
|
data-domain-script='01977e0e-9a37-7b4a-aad2-8cf9247d94b6'></script>
|
||||||
|
<script type='text/javascript'>
|
||||||
|
function OptanonWrapper() {}
|
||||||
|
</script>
|
||||||
|
<!-- OneTrust Cookies Consent Notice end for roadmap.sh -->
|
@@ -20,6 +20,7 @@ import { Toaster } from '../components/Toast';
|
|||||||
import { siteConfig } from '../lib/config';
|
import { siteConfig } from '../lib/config';
|
||||||
import type { ResourceType } from '../lib/resource-progress';
|
import type { ResourceType } from '../lib/resource-progress';
|
||||||
import Bluconic from '../components/Analytics/Bluconic.astro';
|
import Bluconic from '../components/Analytics/Bluconic.astro';
|
||||||
|
import OneTrust from '../components/Analytics/OneTrust.astro';
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
@@ -184,6 +185,7 @@ const gaPageIdentifier = Astro.url.pathname
|
|||||||
}
|
}
|
||||||
|
|
||||||
<Analytics />
|
<Analytics />
|
||||||
|
<OneTrust />
|
||||||
<Clarity />
|
<Clarity />
|
||||||
<RedditPixel />
|
<RedditPixel />
|
||||||
<GoogleAd />
|
<GoogleAd />
|
||||||
|
Reference in New Issue
Block a user