Implementing Product Schema Markup & Structured Data SEO For Ecommerce Product Pages

Standard

Implementing Product Schema Markup For Ecommerce Product Pages using Google Tag Manager

Recently once client ask me to implement schema on e-commerce website and other local website using Google Tag Manager, once I look his website I said it’s possible to implement schema using Google Tag Manager with with JSON-LD. For Tracking product page schema need to apply some custom javascript or Data layer to Getting like Product price and Stock in or Stock out.

First you need to generate Product schema code using schema.org some other website to generate product schema with JSON-LD.

<div itemscope itemtype=”http://schema.org/Product”>
    <h1 itemprop=”name”>Prodcut Name</h1>
    <img src=”-product.png” alt=”Prodcut Alt Tag” itemprop=”image” />
    <p itemprop=”description”>
        This is a really amazing product. In fact, we think you will be amazed.
        <span itemprop=”sku”>123456789</span>
    </p>
    <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
        <span itemprop=”ratingValue”>4</span> stars, based on 
        <span itemprop=”reviewCount”>1,987</span> reviews.
    </div>
    <div itemprop=”offers” itemscope itemtype=”http://schema.org/Offer”>
        <meta itemprop=”priceCurrency” content=”USD” />
        $<span itemprop=”price”>For Product Price need to write custom javascript</span> |
        <span itemprop=”availability”>In-stock</span>
    </div>
</div>

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *