The Big Spring Sale! Up to 50% off!

Adding Google Tag

ionut.ady97
4 Posts
ionut.ady97 posted this 27 September 2021
Ask a Question

Hello! I would like to add Google Tag to configure Facebook Messenger on my website . How can I do that?
What I did until now.
I added Google tag code to the site settings > Google tab
I Inserted a html code with codes from google tag on the main page

I still didn't succed in adding messenger. Do you have any tips for me?
Thank you!

Hello! I would like to add Google Tag to configure Facebook Messenger on my website . How can I do that? What I did until now. I added Google tag code to the site settings > Google tab I Inserted a html code with codes from google tag on the main page I still didn't succed in adding messenger. Do you have any tips for me? Thank you!
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 30 September 2021

Hi Sorin,

If the instructions say that the code is required to be added to the page HEAD, then it can be added in SIte Settings >> Additional HEAD HTML. If the code is required to be added to the page BODY, then it needs to be added to the HTML element. In conclusion, if you need both GA and GTM, for example, you’ll have to add one of the codes in Site Settings >> Google tab, and the other in Additional HEAD HTML.

Also, you can check the instructions here: https://www.facebook.com/business/goals/add-live-chat-to-website-with-messenger
...................................................
Sincerely,
Lilioneta
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Sorin, If the instructions say that the code is required to be added to the page HEAD, then it can be added in SIte Settings >> Additional HEAD HTML. If the code is required to be added to the page BODY, then it needs to be added to the HTML element. In conclusion, if you need both GA and GTM, for example, you’ll have to add one of the codes in Site Settings >> Google tab, and the other in Additional HEAD HTML. Also, you can check the instructions here: https://www.facebook.com/business/goals/add-live-chat-to-website-with-messenger ................................................... Sincerely, Lilioneta Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
ionut.ady97
4 Posts
ionut.ady97 posted this 29 September 2021

ok, so the steps are like this:
Copy the code below and paste it into every page on your site.
Insert this code as high as possible into the section of the page:

(function(w,d,s,l,i){w=w||[];w.push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s),
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-5T8ZJ9Z');

In addition, insert this code immediately after the eady label:

I did the first part in an element> HTML.

Where should I put the second part ? Should I put it in the same HTML element?

ok, so the steps are like this: Copy the code below and paste it into every page on your site. Insert this code as high as possible into the section of the page: (function(w,d,s,l,i){w=w||[];w.push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s), 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-5T8ZJ9Z'); In addition, insert this code immediately after the eady label: I did the first part in an element> HTML. Where should I put the second part ? Should I put it in the same HTML element?
Support Team
Support Team posted this 27 September 2021

Hello Sorin,
Thank you for being our customer!

Try adding the code in the HTML element in Nicepage. Simply click Element >> scroll down to HTML.

...................................................
Sincerely,
Lilioneta
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Sorin, Thank you for being our customer! Try adding the code in the HTML element in Nicepage. Simply click Element >> scroll down to HTML. ................................................... Sincerely, Lilioneta Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments