ERPNext Website Meta tag

Hey, Everyone!

I need some help with adding meta tags in my erpnext website to confirm it with google webmaster
How can I add meta tags to my website ?

Thanks in advance :slight_smile:

1 Like

Hey,

Did you find a solution ?

You wish to add a Google tag to an ERPNext website ‘index’ home page?

To do that I went here Setup > Website Settings

and in this field HTML HEADER & Robots

‘Added HTML in the section of the web page, primarily used for website verification and SEO’

I pasted the code below provided by Google:

<!-- 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 -->

I suggest refer to say this https://developers.google.com/tag-manager/ to confirm and test that this above is what you need to do…

3 Likes

Thank you for the reply, I did it easier using CNAME verification directly between the subdomain DNS entries and Google :slight_smile: