Pre-populate Share Fields

Make the share widget capable of pulling in metadata such as things like "Page Title", "Meta Description", etc. I've added some sample seo data that can be pulled in. I have built custom share buttons before but elfsight is more convient and saves time.

EXAMPLE SEO DATA

------------------------------------------------

<!-- Twitter Card data -->

<meta name="twitter:card" content="summary">

<meta name="twitter:site" content="https://elfsight.com">

<meta name="twitter:title" content="Elfsight Share Button Widget">

<meta name="twitter:description" content="Reach more of your target audience with Responsive Easy-to-use Coding-free Social Share Buttons widget for websites.">

<meta name="twitter:creator" content="@elfsight">

<meta name="twitter:image" content="https://ogimage.elfsight.com/img/smsharewidget/">

<!-- Open Graph data -->

<meta property="og:title" content="Elfsight Share Button Widget" />

<meta property="og:type" content="article" />

<meta property="og:url" content="https://elfsight.com" />

<meta property="og:image" content="https://ogimage.elfsight.com/img/smsharewidget/" />

<meta property="og:description" content="Reach more of your target audience with Responsive Easy-to-use Coding-free Social Share Buttons widget for websites." />

  • Andr√© Givenchy
  • Apr 8 2020
  • Attach files