Pricing Blog

Best way to implement GTM

  • lukasmohr-1211980000862015488

    Lukas Mohr

    1 year ago

    Anyone that has successfully added a Google Tag Manager to their toddle app?
  • svenning-1211981077418213416

    svenning

    1 year ago

    Sounds like a package to be made in the future 👍
  • lukasmohr-1211984080162263070

    Lukas Mohr

    1 year ago

    I have tried to add it here, but it isn't picked up by Tag Manager currently
    1211984079965261854-image.png
  • yoelfdz-1211984452801142815

    yoelfdz

    1 year ago

    Haven't done it, but wouldn't it be an option to create a custom action and fire that whenever you want it to record the event?
  • lukasmohr-1211984904854700032

    Lukas Mohr

    1 year ago

    Currently I can't get tag manager to pickup the script
  • Tod-1211984906981347371

    Tod

    1 year ago

    Great energy @Lukas Mohr! Your continuous contribution to the toddle Community just made you advance to Community Level 4!
  • yoelfdz-1211985528153575424

    yoelfdz

    1 year ago

    Another option could be integrating GTM using API calls I think. I have integrated GTM using Zapier in the past but not on Toddle
  • lukasmohr-1211986282788683816

    Lukas Mohr

    1 year ago

    @ Could be an option, but would be nice to just do it directly in toddle
  • yoelfdz-1211986612964298782

    yoelfdz

    1 year ago

    I meant using API calls directly in Toddle, not Zapier
  • lukasmohr-1211986677149605948

    Lukas Mohr

    1 year ago

    It does load in the head tag, but not picked up by GTM preview
    1211986676847484928-image.png
  • I'll try again later
  • toddle is awesome for tracking stuff
  • lukasmohr-1212029433691770921

    Lukas Mohr

    1 year ago

    At the moment I'm can't get the tag manager script to work 100% of the time
  • lukasmohr-1212030321252638720

    Lukas Mohr

    1 year ago

    @Lucas G Do you have a guide to implement the GTM Tag for all pages?
  • lucasg-1212030818227195974

    Lucas G

    1 year ago

    No but I could probably make a custom action for it. Either way it would have to be added to every page, either via head script or custom action on load
  • lukasmohr-1212031506340380672

    Lukas Mohr

    1 year ago

    Currently I'm adding it to every page in the head, but it seems to be very buggy
  • lucasg-1212032176158154813

    Lucas G

    1 year ago

    That doesn’t sound right. What type of bug? Perhaps the toddle team needs to be aware of it
  • lukasmohr-1212032499354443876

    Lukas Mohr

    1 year ago

    I might have found a fixe, instead of copying the (function... straigth into the Content field.. I have added a formula with a string that holds the (function... script
  • Here is the link: https://app.esail.ing/
  • stockton_f-1212047728230662154

    Stockton

    1 year ago

    I add GTM via Cloudflare Zaraz. Then I don’t have to worry about adding it to all pages. Only downside is it doesn’t work in the editor or on a preview link. Love only.
  • Live*
  • thegauntlet8027-1256370828312969268

    Hayden S

    1 year ago

    Has there been any progress on getting GTM working consistently yet? I'm very keen to get this working as it would be great to track Google Analytics (GA4) or marketing tags