prerender-doc

Meteor.js Bot Traffic Handler Package

Easily serve prerendered content to search engines and social media bots in your Meteor.js app using the official Page Replica package. This improves SEO and sharing by ensuring bots see your site’s content, even if it’s JavaScript-heavy.


Prerequisites

  1. Sign up for a free Page Replica account and get your unique site ID.
  2. Register your website’s domain in the Page Replica dashboard.
  3. Request pre-rendering of your website’s pages from the dashboard.

Installation

Add the Page Replica package to your Meteor project:

meteor add pagereplica:prerender

Configuration

Check the Atmosphere package page for the latest version and options.

Add the following to your Meteor project’s settings.json file (replace values as needed):

{
  "page_replica": {
    "site_id": "YOUR_SITE_ID",
    "domain": "yourdomain.com",
    "bots": [
      "google",
      "bing",
      "yahoo",
      "baidu",
      "yandex",
      "duckduck",
      "sogou",
      "exabot",
      "facebot",
      "twitter",
      "linkedin",
      "pinterest",
      "telegram",
      "whatsapp",
      "archive.org",
      "ia_archiver",
      "semrush",
      "mj12bot",
      "ahrefs",
      "dotbot",
      "rogerbot",
      "linkdexbot",
      "ltx71",
      "uptimerobot",
      "seznambot",
      "qwant",
      "screaming frog",
      "uptime",
      "semalt",
      "barkrowler",
      "sitebulb",
      "zoominfobot",
      "linkfluence",
      "serpstatbot",
      "netcraftsurvey",
      "siteexplorer",
      "trendictionbot",
      "crawler",
      "python-requests",
      "curl",
      "adsbot-google",
      "mediapartners",
      "propellerads",
      "serpmetrics",
      "buysellads",
      "adsbot",
      "duckduckbot",
      "yisouspider",
      "mail.ru",
      "coccocbot",
      "panscient",
      "magpie-crawler",
      "telegrambot",
      "showyoubot",
      "visionutils",
      "applebot",
      "zyborg",
      "baiduspider",
      "pinterest",
      "httrack",
      "wget"
    ]
  }
}

Running Locally

Start your Meteor app with your settings file:

meteor --settings settings.json

Usage


Testing Your Implementation

To verify your setup, you can:


Contributing

Contributions are welcome! See the GitHub repository for details.