Skip to content

Commit ff3b612

Browse files
author
lman-odoo
committed
[IMP] website/gsc: HTML tag
task-4806648 closes #14380 Signed-off-by: Audrey Vandromme (auva) <[email protected]>
1 parent 78a3bd7 commit ff3b612

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

content/applications/websites/website/configuration/google_search_console.rst

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ Five methods are available to do this:
6363
.. note::
6464
The best method for you depends on your comfort level and technical expertise. For beginners,
6565
using a file upload or HTML tag might be easiest. Those options are convenient if you already use
66-
Google Analytics or Tag Manager. You need to access your domain registrar's settings for domain
66+
:ref:`Google Analytics <analytics/google-analytics>` or :ref:`Google Tag Manager
67+
<analytics/google-tag-manager>`. You need to access your domain registrar's settings for domain
6768
verification.
6869

6970
.. _GSC-HTML-file-upload:
@@ -95,5 +96,29 @@ have to put in your Odoo's Website Settings. Google verifies ownership by checki
9596
#. In Google Search Console, click :guilabel:`Verify`. If you perform the steps above correctly,
9697
verification should be done immediately.
9798

99+
.. _website/google_search_console/HTML-tag:
100+
101+
HTML tag
102+
--------
103+
104+
This method involves copying a meta tag provided by Google and pasting it into your Odoo website.
105+
To verify your site ownership using an HTML tag, follow these instructions:
106+
107+
#. Expand the HTML tag section.
108+
109+
.. image:: google_search_console/gsc-html-tag.png
110+
:alt: Open HTML tag section.
111+
112+
#. :guilabel:`Copy` the HTML tag to clipboard.
113+
#. On your Odoo website, click :guilabel:`Edit` in the upper-right corner, go to
114+
the :guilabel:`Theme` tab, scroll down to the :guilabel:`Advanced` section, then
115+
click :guilabel:`<head> and </body>` next to :guilabel:`Code Injection`.
116+
Paste the copied tag into the first field (:guilabel:`<head>`), and click :guilabel:`Save`.
117+
118+
.. image:: google_search_console/gsc-paste-tag.png
119+
:alt: Paste tag in head field.
120+
121+
#. Return to :abbr:`GSC (Google Search Console)` and click :guilabel:`Verify`.
122+
98123
.. seealso::
99124
:doc:`domain_names`
15.1 KB
Loading
8.55 KB
Loading

0 commit comments

Comments
 (0)