Notification

ہم نے حال ہی میں پبلیکیشن کے صفحات پر ایک اپ ڈیٹ کا اعلان کیا ہے۔ مزید معلومات کے لیے براہ کرم یہاں پڑھیں۔

آپ نے جس صفحے کی درخواست کی ہے وہ فی الحال آپ کی زبان میں دستیاب نہیں ہے۔ آپ صفحے کے نچلے حصے میں دوسری زبان منتخب یا Google Chrome کے پہلے سے شامل ترجمے کی خصوصیت کا استعمال کر کے اپنی پسند کی زبان میں کسی بھی ویب صفحے کا فوری ترجمہ کر سکتے ہیں۔

Add a Call-To-Action button on articles

Get started

If you have implemented a revenue model (either a paywall or a contributions request) with Reader Revenue Manager, you can also add a Call-To-Action (CTA) button on your pages. This button, which asks readers to either subscribe or contribute with Google, is another way to prompt readers to engage with your content. To add a CTA button, you can insert HTML into the page after you’ve already added the Reader Revenue Manager code snippet from Publisher Center.

  • Include a CTA button in the <body> tag of a page that has your CMS Sync snippet.
    • Make sure that the CTA button has the swg-standard-button attribute set to “subscription” or “contribution.”
  • When the swg-basic.js library loads, it finds all swg-standard-button-labeled elements to style and turns them on automatically.

In Publisher Center, you can find the code to include the CTA button under Menu and then CMS Sync.

Example usage for the Contributions button


JavaScript

<html>

<body>

<article>

... <button swg-standard-button="contribution"></button>

</article>

</body>

</html>

Example usage for the Subscriptions button


JavaScript

<html>

<body>

<article>

...

<button swg-standard-button="subscription"></button>

</article>

</body>

</html>

Search
Clear search
Close search
Main menu
13752791675765800683
true
امدادی مرکز تلاش کریں
true
true
true
true
true
100499
false
false