# How can I add content into the body of the storefront?

The content for body pipeline can be used to inject content into the `<body>` element of the page, such as stylesheets, meta tags, scripts, or other body elements:

```php
// Globally
\Aero\Store\Pipelines\ContentForBody::extend(function (string $content, \Closure $next) {
    return $next($content . view('acme::script'))
});

// Product Page Only
\Aero\Store\Http\Responses\ProductPage::extend(function (\Aero\Store\Http\Responses\ProductPage $page, \Closure $next) {
    \Aero\Store\Pipelines\ContentForBody::extend(function (string $content, \Closure $next) {
        return $next($content . view('acme::script'))
    });
});
```

---

### Parameters

<table border="1" id="bkmrk-parameter-type-descr" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col></colgroup><tbody><tr><td>**Parameter**</td><td>**Type**</td><td>**Description**</td></tr><tr><td>`$content`</td><td>`string`</td><td>The content to be injected into the body.</td></tr><tr><td>`$next`</td><td>`\Closure`</td><td>The next step in the query pipeline.</td></tr></tbody></table>