How to Add Schema Markup Code with Google Tag Manager?

0
106
views

Are you looking for a solution to add schema markup code on your website with Google Tag Manager? Then you are just a few minutes away from learning it. The importance of schema markup in SEO is not a secret now! Here you will learn to add schema markup with Google Tag manager through simple steps.

What is Google Tag Manager?

Google Tag Manager is a completely free tool provided by Google to add or upgrade the tag with no manual programming skills. You need to put up the Google Tag Manager onto your website, so you’ll be able to begin adding scripts, even structured data markups on your webpage without any changes in website code.

What is Schema markup?

Schema markup is the code that is placed on websites to help search engines get the extremely informative results for their users. Schema markup can be known as the language of search engines to understand the content present on any webpage.

Types of Schema Markup Codes

There are three types of Schema markup code.

  • JSON-LD
  • Microdata
  • RDFa

Google recommends using the JSON-LD schema markup code whenever possible. You don’t have to be a programmer to write the schema markup code. There are many tools available to create schema markup automatically.

Adding Schema Markup Code with Google Tag Manager

Here are some easy steps you need to follow to add the schema markup code in your website with Google Tag Manager.

1Create appropriate schema markup

First, you need to create a proper schema markup code for your website. For generating the schema markup code, you can use online tools such as Schema Markup Generator, Schema App, Microdata Generator</a, etc..

2Test the Schema Markup Code

After creating the script, you must have to check it into the structured data testing tool to verify if it is working correctly or not. You need to paste the code into the “Code Snippet” section and run the test.

3Creating Tag

In this step, you need to go to your google tag manager account and create a custom HTML tag to add your schema markup code. You can name this tag such as Schema Markup Tag, Structured data tag, etc.

4Paste the Schema Code

After setting up the tag, you need to paste the code in the HTML text box and save it by the “Save” button in the top right corner.

5Trigger Setup

Here comes the most important step of setting up the schema markup code with Google Tag Manager.

Now you need to create a trigger for your tag to fire on specific conditions. You can add a trigger by clicking on the Triggers button and choose the trigger type as the Page view.

Here you can select all page views to fire the markup tag or you can go with “Some Page Views” option make the schema markup code visible on the specific pages.

6Make Connection

Now all you need to connect the Trigger to the schema markup tag by clicking on the “Choose a trigger to make this tag fire option.”

7The Final touch

The last step of adding schema markup with Google Tag Manager is to make the changes submitted and published by clicking on the “Publish” button top right corner.

Testing the Schema Markup Code

Finally, you can now check the schema markup code on your website with the help of the ‘structured data testing tool’. Just paste any URL of your site which you have chosen while triggering the tag and run the test.

Schema markups are the significant facet of search engine optimization techniques. We suggest that you deploy the markups which are appropriate for your business. It can offer a competitive advantage also it’s a useful technique to improve your search engine results.

Recommended Blogs

7 most important WordPress plugins to install on fresh blog website
Programming languages you must learn to become a Web Developer


LEAVE A REPLY

Please enter your comment!
Please enter your name here