skyrockio

Diwali Sale is live now- Get upto 50% Off

SEO FAQ

बहुत बढ़िया — सीधे जवाब देता हूँ।
E-floating-buttons (जैसे floating CTA, chat button, floating nav buttons) के लिए सबसे अच्छा Schema क्या लगाना चाहिए, और कैसे — नीचे step-by-step + ready-to-use JSON-LD examples दिए हुए हैं।


संक्षेप सुझाव (quick recommendation)

  1. अगर वो button सिर्फ navigation links दिखाता/खोलता है (menu जैसा) → SiteNavigationElement या WebPageElement यूज़ करो। (Schema.org)
  2. अगर button किसी action को ट्रिगर करता है (search, book, chat, contact, reserve आदि) → उसको potentialAction के साथ उपयुक्त Action (जैसे SearchAction, ReserveAction, या generic Action + EntryPoint) बताओ। (Schema.org)
  3. अगर तुम केवल पेज के एक DOM element को semantic रूप में describe करना चाहते हो (CSS selector से) → WebPageElement इस्तेमाल करो और cssSelector property डालो। (Schema.org)

सामान्य तौर पर: floating UI control के लिए WebPageElement सबसे flexible और safe है; पर अगर वो navigation है तो SiteNavigationElement, और अगर action पर ले जाता है तो potentialAction जोड़ो। (Schema.org)


क्यों (short rationale + Google note)

1. SEO क्या है?

SEO (Search Engine Optimization) एक प्रक्रिया है जिससे किसी वेबसाइट को Google जैसे सर्च इंजनों में ऊँचे रैंक पर लाया जाता है ताकि उस पर ज़्यादा ट्रैफिक आए।

2. SEO के कितने प्रकार होते हैं?

मुख्य रूप से SEO के 3 प्रकार होते हैं:
On-Page SEO – वेबसाइट के अंदर किए जाने वाले सुधार।
Off-Page SEO – वेबसाइट के बाहर किए जाने वाले प्रमोशन (जैसे Backlinks)।
Technical SEO – वेबसाइट की तकनीकी संरचना को सर्च इंजन फ्रेंडली बनाना।

  • Schema.org में SiteNavigationElement और WebPageElement इन्हीं use-cases के लिए बने हैं — इसलिए इन्हें semantic meaning देने के लिए use करना logical है। (Schema.org)
  • पर ध्यान रहे: Google ने हर schema प्रकार के लिए special feature guarantee नहीं दिया — मतलब markup डालना अच्छा है पर इसका सीधा rich result देने की गारंटी नहीं होती। Google की official guidance भी structured data के use पर कहती है कि Search Central को follow करो। (Google for Developers)

Ready JSON-LD examples (copy-paste कर के इस्तेमाल करो)

1) अगर floating button site navigation (menu links) है

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "SiteNavigationElement",
  "name": "Floating menu",
  "cssSelector": ".floating-cta, #floating-menu",
  "about": "Quick access links"
}
</script>

(यह बताता है कि यह पेज का navigation element है) (Schema.org)


2) अगर floating button chat / contact खोलता है (action)

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "name": "Contact page with floating chat",
  "potentialAction": {
    "@type": "Action",
    "name": "Open chat",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "https://example.com/chat?open=true"
    }
  }
}
</script>

(यह बताता है कि पेज पर यह potential action उपलब्ध है; generic Action use किया गया है ताकि बुरा ना लगे अगर specific subtype न मिले)। (Schema.org)


3) अगर floating button search को trigger करता है

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://example.com/search?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}
</script>

(SearchAction को तब use करो जब button site search open/submit करता हो)। (Schema.org)


4) अगर तुम सिर्फ़ DOM element को tag करना चाहते हो (WebPageElement + selector)

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WebPageElement",
  "name": "Floating CTA button",
  "cssSelector": ".floating-cta",
  "description": "Persistent call-to-action shown on bottom-right to start signup"
}
</script>

(यह सबसे simple और safe तरीका है)। (Schema.org)


Implementation tips — practical

  • JSON-LD को <head> या <body> दोनों में रख सकते हो; JSON-LD generally head में safe है, पर कई लोग nav के पास body में भी रखते हैं। (दोनों ठीक हैं)। (Small Business Dad)
  • cssSelector या xpath डालो ताकि markup clear हो (WebPageElement supports these). (Schema.org)
  • अगर button कोई transaction/booking/reservation शुरू करता है → use ReserveAction/ScheduleAction/specific Action subtype. (Schema.org)
  • Google हर schema को UI feature के लिए इस्तेमाल नहीं करता — पर structured data देना best practice है (SEO/semantics और accessibility में मदद करता है)। (Google for Developers)

अगर तुम चाहो तो मैं:

  • तुम्हारे site का actual HTML selector (class/id) लेकर आपके लिए exact JSON-LD बना दूँ, या
  • तुम्हें head/body में लगाने के लिये पूरी file ready कर दूँ।

बस बताओ—या सीधे वो floating button का class/id और behavior बताओ (navigation / chat / search / reserve), मैं तुरंत final JSON-LD दे दूँ।

Leave a Comment

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

Scroll to Top