Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: access TIWForm body for google tag manager


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Mar 27, 2017 9:12 AM Last Post By: Buzu Dan
Buzu Dan

Posts: 8
Registered: 5/17/09
access TIWForm body for google tag manager  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 27, 2017 2:32 AM
How I can add something to TIWForm body ?
I add to preheader, I add to extraheader....but how I can add something to body ?
Thanks!

PS: I need to add Google tag manager. They said to add:
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXX');</script>
<!-- End Google Tag Manager -->

to head of the page; i did thru PreHeader.

but I need to add:
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->


in the begin of the body and I do not find how to do that ?!

I already start to use templates in rebuilding my website....but will take time. So I need to add this codes to existing one that use standard intraweb mode.

Edited by: Buzu Dan on Mar 27, 2017 2:32 AM

Intraweb 14 ultimate, serial 201632129 expire on 09.2017
Daniel Fields

Posts: 622
Registered: 11/29/04
Re: access TIWForm body for google tag manager  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 27, 2017 8:32 AM   in response to: Buzu Dan in response to: Buzu Dan
Use an IWLabel. Set RawText to true. Put that code in the Caption.
Buzu Dan

Posts: 8
Registered: 5/17/09
Re: access TIWForm body for google tag manager  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 27, 2017 9:12 AM   in response to: Daniel Fields in response to: Daniel Fields
Daniel Fields wrote:
Use an IWLabel. Set RawText to true. Put that code in the Caption.

Thank you! I will try tomorow morning and post the result.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02