Results 1 to 4 of 4

Thread: Installing Google Tag Manager?

  1. #1
    New user
    Join Date
    09-07-16.
    Posts
    1

    Böse Installing Google Tag Manager?

    I've been trying to install my GTM code in my Contao site, with no luck. I found this link, which gives the instructions:

    Since the Google Tag Manager immediately after the opening <body>to be integrated tag, please edit the file templates / tao / fe_page.html5 and paste the tag manager code immediately after the line <?php $this->block('body') ?>a.

    I've done just that, but the problem is in my fe_page.html5 file when I add the snippet below that line, it disappears after trying to save it. I have no idea why, so the code ends up being not modified. I have tried in both Chrome and Firefox, and and I am on CMS open source 3.3.6

    Thanks in Advance!

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Connect to the Contao installation via FTP, download your copy of the fe_page.html5 page template from the Contao templates folder, add the Google Tag Manager code snippet immediately after the opening <body> tag and re-upload the template to the webspace. Note: pay attention to save the template file with UTF-8 (without BOM) encoding.
    Contao Community Moderator
    → Support options

  3. #3
    New user
    Join Date
    12-17-17.
    Posts
    1

    Default Ain´t an easier way?

    Hello,

    I am not an expert on CONTAO or FTP, is there any way to just insert and html/script on the html of the template to make the google tag manager work? if there isnt could you post a video showing us your procedure¨? thanks id really appreciatte it

    Regards from Colombia.

  4. #4
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Unfortunately the current state of the English community forum serverely limits the posts you can make here. You can look at the post that I wanted to make here: https://pastebin.com/jMPksWGT

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •