How to add script to body like analytics, tracking, etc

Marco
171 Posts
Marco posted this 09 September 2015

I need to add tracking code into my theme.
Cant find any option for that.
CSS: yes, head: yes, body: NO!

In todays time adding tracking codes, etc is absolutely neccessary.
How to do?!

P.S. Using Joomla theme

I need to add tracking code into my theme. Cant find any option for that. CSS: yes, head: yes, body: NO! In todays time adding tracking codes, etc is absolutely neccessary. How to do?! P.S. Using Joomla theme
Vote to pay developers attention to this features or issue.
30 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 10 September 2015

Hi,

As far as I know, you can insert the code in the <head> section and it will be working just the same as in the <body> tag. Please try that. If it does not work, please use the HTML or CMS Code controls, position them under the Footer and insert the code there.

Sincerely,
Hella
BillionDigital Team

Hi, As far as I know, you can insert the code in the `<head>` section and it will be working just the same as in the `<body>` tag. Please try that. If it does not work, please use the HTML or CMS Code controls, position them under the Footer and insert the code there. Sincerely, Hella BillionDigital Team
dpodesta
78 Posts
dpodesta posted this 02 November 2015

Hi

I've been told to add google analytics tag script straight after the opening body tag on every page.

Can you please advise how I can do that best?

David

Hi I've been told to add google analytics tag script straight after the opening body tag on every page. Can you please advise how I can do that best? David
Support Team
Support Team posted this 02 November 2015

Hi,

There is no possibility to add the code right after the <body> tag. You can use the CMS Code control and add it on the top of the page and the code will appear in the first lines after the <body> tag.
But inserting the code in the Additional HTML section under the Settings tab or adding it in the Footer will have the same effect.

Sincerely,
Hella

Hi, There is no possibility to add the code right after the `<body>` tag. You can use the CMS Code control and add it on the top of the page and the code will appear in the first lines after the `<body>` tag. But inserting the code in the Additional HTML section under the Settings tab or adding it in the Footer will have the same effect. Sincerely, Hella
andrew34
42 Posts
andrew34 posted this 27 October 2017

I've dropped an HTML "widget" into the header before everything else. It's for Google tag manager and is basically noscript tags with an iframe embedded in, but Themler keeps changing the iframe tag to <iframe rendering it useless.

I've dropped an HTML "widget" into the header before everything else. It's for Google tag manager and is basically noscript tags with an iframe embedded in, but Themler keeps changing the iframe tag to &lt;iframe rendering it useless.
Support Team
Support Team posted this 28 October 2017

Hi,

Make sure that you have added the code under the Edit Source HTML pop-up window and not directly in the control within the content. If that does not help, provide more details and some screen shots.

Sincerely,
Hella

Hi, Make sure that you have added the code under the Edit Source HTML pop-up window and not directly in the control within the content. If that does not help, provide more details and some screen shots. Sincerely, Hella
cbrock
2 Posts
cbrock posted this 16 June 2019

I know this is an old thread, but I felt it needed a clear resolution.

In order to add Google Tag Manager snippets to a Themler template, you can do the following:

  1. Add the head code to the Additional Head HTML section of Themler (native)
  2. Add the post-body code by inserting a CMS Code element to the VERY TOP of your theme and drop it into Header (All Templates).
  3. Paste your tag code into the "Edit CMS Code" box.
  4. On your CMS Code element, set the Display property to "None" so it remains hidden when editing your theme. You can access the CMS Code element using the left side sections area of Themler.

Hope this helps someone running into this same problem. The post-body Google tag now appears directly below the HEAD tag in the source code.

I know this is an old thread, but I felt it needed a clear resolution. In order to add Google Tag Manager snippets to a Themler template, you can do the following: 1. Add the head code to the Additional Head HTML section of Themler (native) 2. Add the post-body code by inserting a CMS Code element to the VERY TOP of your theme and drop it into Header (All Templates). 3. Paste your tag code into the "Edit CMS Code" box. 4. On your CMS Code element, set the Display property to "None" so it remains hidden when editing your theme. You can access the CMS Code element using the left side sections area of Themler. Hope this helps someone running into this same problem. The post-body Google tag now appears directly below the HEAD tag in the source code.
eleanor
374 Posts
eleanor posted this 10 March 2022

Brilliant!
Thank you so much for posting the steps to achieve this.

Brilliant! Thank you so much for posting the steps to achieve this.
beckyricee
12 Posts
beckyricee posted this 31 December 2024

To add scripts like analytics or tracking codes to the body of your website, simply insert the script tag right before the closing tag. This ensures that the script runs after the page content loads, minimizing any performance issues. For example, if you're implementing lbc tracking philippines you can place the tracking code snippet provided by LBC inside the script tag in the body section to monitor user interactions effectively.

To add scripts like analytics or tracking codes to the body of your website, simply insert the script tag right before the closing tag. This ensures that the script runs after the page content loads, minimizing any performance issues. For example, if you're implementing [lbc tracking philippines][1] you can place the tracking code snippet provided by LBC inside the script tag in the body section to monitor user interactions effectively. [1]: https://lbctracking.org/

Last edited 31 December 2024 by beckyricee

goharclients03
20 Posts
goharclients03 posted this 08 October 2025

If your CMS strips scripts, use its Custom HTML/Analytics settings or a tag manager (e.g., Google Tag Manager). Keep one copy only to avoid duplicates—similar diligence you’d use when configuring tools like https://delttaexecutor.com.br/.

If your CMS strips scripts, use its Custom HTML/Analytics settings or a tag manager (e.g., Google Tag Manager). Keep one copy only to avoid duplicates—similar diligence you’d use when configuring tools like https://delttaexecutor.com.br/.

Last edited 09 October 2025 by goharclients03

aishamushtaq070
11 Posts
aishamushtaq070 posted this 21 November 2025

TrackingBrit.co.uk https://trackingbrit.co.uk/ seems like a real game-changer, bringing all courier services under one roof. I love how it eliminates the hassle of checking multiple websites and gives instant updates for Royal Mail, DPD, Yodel, ParcelForce, and many other couriers. Perfect for online shoppers, businesses, or anyone eagerly waiting for an important delivery. Definitely bookmarking this service for future use!

TrackingBrit.co.uk https://trackingbrit.co.uk/ seems like a real game-changer, bringing all courier services under one roof. I love how it eliminates the hassle of checking multiple websites and gives instant updates for Royal Mail, DPD, Yodel, ParcelForce, and many other couriers. Perfect for online shoppers, businesses, or anyone eagerly waiting for an important delivery. Definitely bookmarking this service for future use!
henrykarter50
3 Posts
henrykarter50 posted this 14 December 2025

777sx is a mobile gaming platform designed to provide an interactive, smooth, and enjoyable experience for Android users. It has become popular due to its intuitive interface, diverse game selection, and reliable

[777sx][1] is a mobile gaming platform designed to provide an interactive, smooth, and enjoyable experience for Android users. It has become popular due to its intuitive interface, diverse game selection, and reliable [1]: https://777sxgameapp.pk/
angrace789
7 Posts
angrace789 posted this 20 December 2025

Avatar World Mod APK makes the game much more enjoyable by unlocking extra features and removing limitations. With more freedom to customize characters, design homes, and explore different locations, the gameplay feels creative and engaging. It’s a fun way to experience everything Avatar World has to offer without restrictions.

[Avatar World Mod APK][1] makes the game much more enjoyable by unlocking extra features and removing limitations. With more freedom to customize characters, design homes, and explore different locations, the gameplay feels creative and engaging. It’s a fun way to experience everything Avatar World has to offer without restrictions. [1]: https://avatarworldmodii.com/
angrace789
7 Posts
angrace789 posted this 28 December 2025

F6 Game is a fun and engaging platform with smooth gameplay and exciting features, perfect for players looking for an enjoyable gaming experience.

[F6 Game][1] is a fun and engaging platform with smooth gameplay and exciting features, perfect for players looking for an enjoyable gaming experience. [1]: https://apkneat.com/f6-game/
angrace789
7 Posts
angrace789 posted this 05 January 2026

C99 game offers a smooth and enjoyable gaming experience with simple controls and engaging gameplay. It’s a good choice for players who like quick fun, easy play, and entertaining moments anytime.

[C99 game][1] offers a smooth and enjoyable gaming experience with simple controls and engaging gameplay. It’s a good choice for players who like quick fun, easy play, and entertaining moments anytime. [1]: https://gamespk.org/c99-game/
bellkarter5511
3 Posts
bellkarter5511 posted this 16 January 2026

CT999 are an important part of human culture and daily life. From ancient civilizations to the modern digital era, people have used games as a way to relax, learn, and connect with others.

[CT999][1] are an important part of human culture and daily life. From ancient civilizations to the modern digital era, people have used games as a way to relax, learn, and connect with others. [1]: https://apkboat.io/32red/
alexacarol2238
7 Posts
alexacarol2238 posted this 5 weeks ago

APKSHUB provides access to various Android apps and their latest vesrion available APK versions, offering flexibility for users who cannot rely on official app stores. However, due to the lack of official oversight, users should proceed with caution, prioritize device security, and understand the risks involved before installing any APK file.

APKSHUB provides access to various Android apps and their [latest vesrion][1] available APK versions, offering flexibility for users who cannot rely on official app stores. However, due to the lack of official oversight, users should proceed with caution, prioritize device security, and understand the risks involved before installing any APK file. [1]: https://apkshub.org/latest-version/
alexacarol2238
7 Posts
alexacarol2238 posted this 4 weeks ago

Jenny Mod minecraft is a popular unofficial modification for Minecraft, mainly known within the Java Edition modding community. The mod introduces a custom non-player character named Jenny, along with additional interactions and features that are not part of the standard Minecraft experience.

[Jenny Mod minecraft][1] is a popular unofficial modification for Minecraft, mainly known within the Java Edition modding community. The mod introduces a custom non-player character named Jenny, along with additional interactions and features that are not part of the standard Minecraft experience. [1]: https://the-jennymod.com/
alexacarol2238
7 Posts
alexacarol2238 posted this 4 weeks ago

The YouCine APK is an Android application package file that allows users to install the YouCine app on Android devices without going through official app stores like Google Play. An APK is simply the installation file format used by Android, and the YouCine APK distributes the YouCine streaming service directly to your device.

The [YouCine APK][1] is an Android application package file that allows users to install the YouCine app on Android devices without going through official app stores like Google Play. An APK is simply the installation file format used by Android, and the YouCine APK distributes the YouCine streaming service directly to your device. [1]: https://youcineebaixar.com/
angrace789
7 Posts
angrace789 posted this 4 weeks ago

Visit https://www.fusionextechconsulting.com to discover professional digital transformation and tech consulting services designed to boost business efficiency and deliver measurable results.

Visit [https://www.fusionextechconsulting.com][1] to discover professional digital transformation and tech consulting services designed to boost business efficiency and deliver measurable results. [1]: https://www.fusionextechconsulting.com
angrace789
7 Posts
angrace789 posted this 3 weeks ago

Stay updated with Fusionex Hub by following https://www.instagram.com/fusionexhub/

Stay updated with Fusionex Hub by following [https://www.instagram.com/fusionexhub/][1] [1]: https://www.instagram.com/fusionexhub/
You must log in or register to leave comments