Skip to content

Commit 959974c

Browse files
committed
Se añade el tag de Google Analytics
1 parent a4d1fc7 commit 959974c

File tree

8 files changed

+23
-10
lines changed

8 files changed

+23
-10
lines changed

link_bio/link_bio/link_bio.py

+14-1
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,25 @@ def index() -> rx.Component:
3333

3434
app = rx.App(
3535
stylesheets=styles.STYLESHEETS,
36-
style=styles.BASE_STYLE
36+
style=styles.BASE_STYLE,
37+
head_components=[
38+
rx.script(src="https://www.googletagmanager.com/gtag/js?id=G-3YGHT3XJFS"),
39+
rx.script(
40+
"""
41+
window.dataLayer = window.dataLayer || [];
42+
function gtag(){dataLayer.push(arguments);}
43+
gtag('js', new Date());
44+
gtag('config', 'G-3YGHT3XJFS');
45+
"""
46+
),
47+
],
3748
)
49+
3850
app.add_page(
3951
index,
4052
title="MoureDev | Te enseño programación y desarrollo de software",
4153
description="Hola, mi nombre es Brais Moure. Soy ingeniero de software, desarrollador freelance full-stack y divulgador.",
4254
image="avatar.jpg"
4355
)
56+
4457
app.compile()

link_bio/public/404.html

+2-2
Large diffs are not rendered by default.

link_bio/public/404/index.html

+2-2
Large diffs are not rendered by default.

link_bio/public/_next/static/chunks/pages/404-71e7ed670591a7c7.js renamed to link_bio/public/_next/static/chunks/pages/404-0dbc1c56a2ce2514.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

link_bio/public/_next/static/VDbC1pIUyUROdb0DNzBJr/_buildManifest.js renamed to link_bio/public/_next/static/u1OIz2ok7Ueuq6e6y5NwI/_buildManifest.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

link_bio/public/index.html

+2-2
Large diffs are not rendered by default.

link_bio/public/sitemap-0.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
3-
<url><loc>http://localhost:3000/</loc><lastmod>2023-11-30T21:59:57.138Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
3+
<url><loc>http://localhost:3000/</loc><lastmod>2023-11-30T23:49:56.247Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
44
</urlset>

0 commit comments

Comments
 (0)