Prerender for Magento 2 and Adobe Commerce

Does Prerender work with Magento 2 and Adobe Commerce?

Prerender can work with Magento 2 and Adobe Commerce. The integration depends on your storefront's architecture and access to configuration. PWA Studio sites that use the Magento 2 UPWARD connector have a documented admin-based route; other storefronts require an appropriate server or CDN connection. Prerender addresses JavaScript rendering gaps while you retain your commerce backend and storefront.

Magento 2, Adobe Commerce, and Prerender compatibility at a glance

| Your setup | Prerender compatibility |
| --- | ------ |
| PWA Studio with the Magento 2 UPWARD connector | Documented admin-based connection through the connector’s Prerender settings. |
| Magento 2 or Adobe Commerce storefront with configurable server or CDN routing | Select the supported integration for the component handling storefront requests. Confirm access and compatibility with existing rules. |
| Storefront without access to its request-routing layer | Your hosting provider or implementation team must confirm whether crawler requests can be routed to Prerender. |

How Prerender supports ‘machine experience’

Your Magento 2 or Adobe Commerce storefront may use JavaScript rendering to load product descriptions, category links, or metadata. If this content is missing from the initial HTML, a crawler that does not execute JavaScript can receive an incomplete page. This JavaScript SEO gap affects machine experience: what machines receive when they request your content.

Prerender executes the storefront’s JavaScript and caches the resulting HTML. Depending on your setup, your server, CDN, or Magento 2 UPWARD connector routes eligible crawler requests to Prerender and returns the rendered HTML. Crawlers can read the content without executing JavaScript themselves, while shoppers continue using your existing storefront. Learn how Prerender renders and caches pages.

How to connect Prerender to Magento 2 and Adobe Commerce

1. Choose the connection for your storefront

Identify which component handles public storefront requests and whether you can configure crawler routing there. Use the Magento 2 UPWARD connector settings only if your storefront uses that connector. For other architectures, select a documented server or CDN integration and check its prerequisites. Explore how Prerender connects to servers and CDNs.

2. Configure your chosen connection

For PWA Studio storefronts using the Magento 2 UPWARD connector, you need permission to edit store configuration. Open Stores → Configuration → General → Web → UPWARD PWA Configuration and apply the following settings. See how to connect the Magento 2 UPWARD connector to Prerender.

| Setting | What to configure |
| --- | ------ |
| Enable Prerender For Search Bots | Enable for the intended store view. |
| Prerender URL | https://service.prerender.io/ |
| Prerender token | Enter your token. |
| Crawler User Agents | Add the crawler matches you want to serve. |
| Blocked List | Exclude static resources and unsuitable routes. |


For stores routing through Fastly, use Prerender’s Fastly integration guide to configure the backend, crawler routing, and separate bot and shopper cache handling, then activate the service version. Adobe Commerce on cloud infrastructure has its own Fastly configuration: have your implementation team review the Prerender rules alongside existing Commerce VCL before deployment. Follow how to connect Prerender through Fastly and Adobe’s guidance on custom VCL snippets.

Your crawler list determines which machines receive rendered HTML. Check whether Googlebot, GPTBot, ClaudeBot, and PerplexityBot match your active routing rules. Coverage can vary by connection method and version. Review the user-agent list in the server, CDN, or connector where your store routes crawler requests.

For the UPWARD connector, review Crawler User Agents and add missing keywords on separate lines, retaining the entries you still need. For server or CDN routes, update the bot-matching rules in that integration. Follow how to check and extend your crawler user-agent list, then save or deploy the change using the instructions for your connection.

After saving, test a public storefront URL with each intended crawler’s user agent and confirm it receives rendered HTML. Testing Googlebot alone does not confirm that GPTBot, ClaudeBot, or PerplexityBot is also routed through Prerender.

How to verify what crawlers receive

Request a public product or category URL with a user agent included in your configuration:

curl -i -A "Googlebot" "https://www.example.com/category/product"

Replace the example with your storefront URL. This command retrieves headers and HTML using a simulated Googlebot request.

Check that:

  • The response includes x-prerender-request-id.
  • The HTML contains the expected product or category content.
  • The page’s title, links, and other essential elements are present.
  • The request appears in Prerender’s CDN Analytics.

The command simulates a Googlebot request to your storefront. Check the Prerender response headers, then inspect the HTML for the product or category content machines need. Repeat the test for the other crawler user agents in your routing rules. See how to verify your Prerender integration.

Requirements and limitations

  • Confirm the actual storefront architecture. Magento 2 or Adobe Commerce alone does not determine the connection. The UPWARD admin settings apply to the supported PWA Studio connector; other storefronts need a compatible server or CDN route.
  • Allow machine access. Firewall, CDN, or access restrictions can prevent crawler requests or block Prerender from fetching the storefront. Rendering requires access to the page and its dependencies. See Prerender’s troubleshooting guide.
  • Check content completeness and freshness. A successful response alone does not establish that every required element rendered. Inspect representative pages and refresh cached HTML when product content changes.
  • Assess whether a rendering gap exists. If your storefront already supplies essential content in its HTML response, first establish what additional rendering would address.

Get help with your Prerender and Magento 2 setup

Need help confirming Prerender and Magento 2 compatibility or choosing a connection? Contact Prerender support. The team can assess the proposed connection, identify any required setup, and help verify what crawlers receive.

FAQs about Prerender and Magento 2 setup

You can use Prerender without rebuilding your Magento 2 or Adobe Commerce storefront when its request-routing layer supports a compatible connection. Keep your existing frontend and configure eligible crawler requests at the server, CDN, or supported connector. The connection method depends on your hosting and storefront architecture. See how to choose a Prerender integration.

You do not always need a separate Magento extension to use Prerender. PWA Studio storefronts using the supported Magento 2 UPWARD connector already have Prerender configuration fields. Other storefronts can connect through a supported server or CDN route, subject to access and setup requirements. Confirm the route before installing an extension.

A headless Magento 2 or Adobe Commerce storefront may work with Prerender through the server or CDN serving its public frontend. The commerce backend does not have to host the storefront, but you need control of a compatible routing layer. The UPWARD admin method applies only to deployments using that connector. Explore Prerender’s server and CDN connection options.

Prerender handles the crawler requests routed through your configuration. Shoppers continue to receive your existing storefront through the normal request flow. This means you can address machine access to JavaScript-generated content while retaining the frontend shoppers use. Learn how Prerender routes crawler traffic.

Your Magento 2 or Adobe Commerce store may not need additional rendering if its HTML responses already contain the product descriptions, category links, metadata, and other essential content crawlers need. Test representative URLs from your actual storefront. Use prerendering to address an identified content gap; the platform name alone does not establish that a gap exists.

Get in contact with our expert team