Get Embed Codes for Google Tools
Google site verification
Verify ownership of your website and gain access to Google Search Console tools, like indexing.
Google verification lets you verify ownership of a website domain and serves as a key part of search engine optimization (SEO). When your domain is verified, you’ll be able to use the Google Search Console tools, which give you access to Google search data and allow you to submit your sitemap so your site is indexed in Google search results.
Although you can verify your domain ownership in a number of ways, the method in this article is the most straightforward way to verify your Wegic site.
How to add your site to the Google Search Console
To add your website to the Google Search Console:
Go to the Google Search Console and log into your Google account
Type your domain with the https:// protocol (e.g., https://www.domain.com) in the “URL prefix” property type
Click Continue
Choose “HTML tag” under Other verification methods
Copy the Verification ID within the meta tag (string of numbers and letters in between the quotations that appear after “content=”) and don’t close the window!
You'll need a Google Account to add your website to the Google Search Console.
How to paste your ID in Wegic Site settings
In another browser tab:
Log in and go to your Wegic Workspace
Find the site you want to verify and click ⚙️ to open the Site Settings.
Scroll down to the bottom of the page > Custom Head Code
Paste the Verification ID in the Header Code field
Click [Save] the changes
Go back to the edit page and [Publish] your site
How to verify your site
Return to your browser tab with the Google Search Console and click Verify in the “HTML tag” verification method section.
If you accidentally closed the property verification window, re-type your domain with the https:// protocol (e.g., https://www.domain.com) in the “URL prefix” property type, click Continue, choose “HTML tag” under Other verification methods, and click Verify.
You only need to verify your domain ownership once. Although you can verify a site multiple times, you won’t need to use the steps above to verify it again if your domain is already verified using another method.
You can have multiple users verify ownership of your domain. If you want multiple users to verify ownership of your domain so they can access the Google Search Console, make sure that none of them overwrites any verification tokens of any other owners. Google recommends that they use another method to verify their ownership. Read Google's guide to learn about other methods to verify your site ownership.
Google Tag manager
Embedding Google Tag Manager lets you manage tracking codes without editing your site’s code. It helps with analytics, ad tracking, and user behavior insights while keeping your site efficient and flexible.
How to get the embed code for Google Tag Manager
Before you begin
You must be able to access the code for your website.
Sign in to your Google Account. Learn how to create a Google Account.
Open the Tag Manager container you want to edit. Find your way around Tag Manager.
In the Workspace tab, select your container ID (which starts with 'GTM').
In the Install Google Tag Manager dialog, copy the first block of code.
Example Code In the following sample HTML code, you would paste your first Google Tag Manager code snippet after the opening <head> HTML tag. Note that the following example uses 'GTM-ABCDEFGH,' but you must replace the ID with your container ID.
<!DOCTYPE html> <html lang="en"> <head> <!-- 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-ABCDEFGH');</script> <!-- End Google Tag Manager --> <title>Example Webpage</title> </head> <body> <!-- Content of your website --> <h1>Welcome to My Website</h1> <p>This is a sample paragraph on my webpage.</p> </body> </html>
How to Add Custom Code in Wegic Site Settings
Then open another browser tab, and complete the following steps in Wegic:
Log in and go to your Wegic Workspace
Find the site you want to verify and click ⚙️ to open the Site Settings.
Scroll down to the bottom of the page > Custom Head Code
Paste the embed code in the Head Code field
Click [Save] the changes
Go back to the edit page and [Publish] your site
Test your website in GTM workspace
Now, let's go back to Google Tag Manager Workspace:
Test your website by entering your website's link and then clicking Test.
Click OK.
Last updated
Was this helpful?