Тёмный

Astro Google Analytics Integration - Quick & Easy 

Stefan Rows
Подписаться 40 тыс.
Просмотров 4,9 тыс.
50% 1

Опубликовано:

 

28 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@renoob879
@renoob879 Год назад
This is really helpful! I've been learning web dev for a while, and I'm currently building my first ever project using astro and svelte. It's been really hard to find astro tutorials, and you give me just what I need!
@StefanRows
@StefanRows Год назад
Great to hear! Wishing you the best of luck on your journey!!
@danielribes5433
@danielribes5433 6 месяцев назад
Thanks Stefan. You saved my life with this great video and great explanation
@StefanRows
@StefanRows 6 месяцев назад
Cheers!
@ElenaBG3
@ElenaBG3 7 месяцев назад
Thanks. Did my own by following the guide
@buschfranco
@buschfranco 2 месяца назад
Hello from Argentina. I need your help to solve my problem, please. Your tutorial was really helpful, but when the code went into production, I had a problem with 'CORS'. Do you know how to fix that? Thank you!
@orkunvemosi
@orkunvemosi 10 месяцев назад
Stefan, i really appreciate you making this video, however i have a question. how is it possible to create custom events?
@nicblo
@nicblo Год назад
Thanks for you video from Chile 🇨🇱
@ricardosnotes
@ricardosnotes 9 месяцев назад
Thanks for the video, i tried everything to make google analytics work with the astro starlight theme but nothing worked, can you maybe give it a go?
@lvekua
@lvekua Год назад
Thank you for the guide! I’m getting CORS error 😢 is there any chance you know how to handle it? Thank you again!
@martinraul1978
@martinraul1978 Год назад
For folks using the new starter template, the component should be in imported into layouts/Base.Astro
@SlothNiraj
@SlothNiraj 3 месяца назад
Hey, can you tell me how to add adsense ads in astro site
@itanio
@itanio Год назад
This was really helpful. Thanks! Subscribing for more.
@SebFehr
@SebFehr Год назад
To make this work, I also had to configure astro.config.mjs wtih: ``` import { defineConfig } from "astro/config"; import partytown from "@astrojs/partytown"; export default defineConfig({ integrations: [ partytown({ // Adds dataLayer.push as a forwarding-event. config: { forward: ["dataLayer.push"], }, }), ], }); ```
@DanielByronYT
@DanielByronYT Год назад
Yeah it wasnt working for me either. But I found another blog post about this that led me to this code. This is a pretty big issue. This comment should be pinned or something.
@BG-xu8be
@BG-xu8be Год назад
Do you really need an extra plugin for that? Couldn't you just add for the analytics?
@StefanRows
@StefanRows Год назад
I don't know? Can you? I followed the recommended way according to the Astro.build documentation on this one.
@BG-xu8be
@BG-xu8be Год назад
@@StefanRows Ok thanks, but I tried with an inline script-tag and it did work, so I was wondering where is the benefit of that..
@rafaelsanabria5936
@rafaelsanabria5936 Год назад
From the docs """ Partytown is a lazy-loaded library to help relocate resource intensive scripts into a web worker, and off of the main thread. If you’re using third-party scripts for things like analytics or ads, Partytown is a great way to make sure that they don’t slow down your site. """
@BG-xu8be
@BG-xu8be Год назад
@@rafaelsanabria5936 Ah ok, now I understand, thank you. Just trying to make sense out of all this stuff as a beginner…
@0xbarb
@0xbarb Год назад
astro oauth2 ? 😅
Далее
КВН Случай на физ-ре #shorts
00:31
Просмотров 21 тыс.
Google Analytics Is Dead
10:59
Просмотров 96 тыс.
Python Filter List - The Easiest Methods
18:20
Просмотров 3 тыс.
Astro Crash Course in 20 Minutes!
22:07
Просмотров 59 тыс.
How to work with data in Astro
26:04
Просмотров 24 тыс.
Astro makes websites faster & easier to build
22:55
Просмотров 123 тыс.
The cloud is over-engineered and overpriced (no music)
14:39
Top Things To Do After Installing Kali Linux in 2023!
29:02
КВН Случай на физ-ре #shorts
00:31
Просмотров 21 тыс.