Pricing Blog

How do I add head and body scripts? Google Tag and Analytics

  • alexsiale_17363-1314513119065673769

    Alex

    6 months ago

    Anyone completed a google tag manager set up in toddle?
  • alexsiale_17363-1314514669917966376

    Alex

    6 months ago

    Looks like my Head Tags worked on each page...

    How do we add <body/> tags?
  • I've got Google analytics working because only head tags required.

    But, tag manager needs a body tag script...
  • chrislaupama-1314522810139283478

    Chris Laupama

    6 months ago

    Just paste it in to the root div of your page
  • So copy the script and paste it right on the root div.

    You will notice that there’s a script tag element in your element tree.

    Just have it as the last element in your list of elements.
  • alexsiale_17363-1314525004238553099

    Alex

    6 months ago

    Bro, the Pixel package was actually amazing for this. Took me 60 seconds max!

    undefined
    👍🏽1
  • He's done PostHog too which will be handy