What do you use for adding google tag in your project?

  • uunicode-1346165213879074826

    unicodes

    12 days ago

    I'm looking to add google tag for analytics or other services like facebook pixels.
    Read here that there is Pixel and someone tried to add the script in the assets but doesn't work.

    What do you use?
  • lucasg-1346168513521520730

    Lucas G

    12 days ago

    I’ve seen people mostly use header settings for it (in the page settings)
  • I use a component
  • uunicode-1346168886118056076

    unicodes

    12 days ago

    What do you think Lucas, would work adding the scrip in this way and in the menu component?
    1346168885870854196-Screenshot_2025-03-03_at_19.13.39.png
  • lucasg-1346169005085556806

    Lucas G

    12 days ago

    It would, yes
    🙏1
  • lucasg-1346169424717156352

    Lucas G

    12 days ago

    It does work to add it in the header though
  • The platforms recommend adding it there so it's called immediately but it is honestly fine to have it in the body (in a script tag as you're showing there)
  • It's actually better from a 'performance' point as assets in header can block render, etc
    ❤️1
  • uunicode-1346177240525705257

    unicodes

    12 days ago

    That's nice! Thank you Lucas!
  • Tod-1346177242308546570

    Tod

    12 days ago

    Great energy @unicodes! Your continuous contribution to the toddle Community just made you advance to Community Level 18!

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.