Skip to content

Commit 7ea89f7

Browse files
GRA-147: Setup Rewardful (#77)
feat: setup affiliate marketing scripts in layout
1 parent 6ff7178 commit 7ea89f7

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/app/layout.tsx

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,8 @@ export default function RootLayout({
3030
return (
3131
<html lang="en" suppressHydrationWarning>
3232
<head>
33-
<link
34-
rel="alternate"
35-
hrefLang="en"
36-
href="https://grapesjs.com"
37-
/>
38-
<link
39-
rel="alternate"
40-
hrefLang="es"
41-
href="https://grapesjs.com/es"
42-
/>
33+
<link rel="alternate" hrefLang="en" href="https://grapesjs.com" />
34+
<link rel="alternate" hrefLang="es" href="https://grapesjs.com/es" />
4335
<link
4436
rel="alternate"
4537
hrefLang="x-default"
@@ -71,6 +63,10 @@ export default function RootLayout({
7163
})`,
7264
}}
7365
/>
66+
<script id="rewardful-queue">
67+
{`(function(w,r){w._rwq=r;w[r]=w[r]||function(){(w[r].q=w[r].q||[]).push(arguments)}})(window,'rewardful');`}
68+
</script>
69+
<script src="https://r.wdfl.co/rw.js" data-rewardful="9302d5" />
7470
{/*
7571
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png"/>
7672
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png"/>

0 commit comments

Comments
 (0)