| 开发者 | giladch1 |
|---|---|
| 更新时间 | 2026年11月19日 17:39 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
_yoast_wpseo_title, _yoast_wpseo_metadesc) that its own REST API only reads. This plugin registers exactly those two fields for the REST API, for pages and posts, and nothing else.
<meta name="description"> tag.<head> and its <noscript> part right after <body>. Only the container id (GTM-XXXX) is stored, in one option; no other code can be set. Until an id is set, nothing is printed and nothing is loaded.
Site keys (optional, 1.3.0). Two small values a search engine asks a site owner to put on the site, written through GET|POST|DELETE /wp-json/roas-seo-fields/v1/site-keys by a user who may edit other users' pages (an Editor or an Administrator): the IndexNow key — the plugin answers /<key>.txt at the site root with the key, as the IndexNow protocol asks (https://www.indexnow.org/documentation), only when WordPress answers the root of its host — and Bing's site verification — the plugin prints <meta name="msvalidate.01" content="<code>" /> on the front page. Each value is checked against its pattern before it is stored; DELETE ?key=indexnow or ?key=bing takes exactly that one off. Until a value is written, nothing is served or printed.
Form submissions (optional, 1.4.0, off by default). When the site owner turns it on in ROAS Master, a submission of a form made with Elementor Pro, Contact Form 7, WPForms, Gravity Forms, Fluent Forms, Ninja Forms or Jetpack Forms is also sent to the site owner's ROAS Master lead desk, so a lead from the site is handled with the leads from the ads. See «Form submissions (external service)» below. Until it is turned on, the plugin adds no form hook, sends nothing and sets no cookie.
What it does not do:
edit_post). An empty value brings back the default title.GET /wp-json/roas-seo-fields/v1/status (users who can edit posts), with its version and mode, so a connected service can see that it is active. The container id is read and set at /wp-json/roas-seo-fields/v1/tracking, only by a user who may add scripts to the site (unfiltered_html).
The plugin works on its own: any REST client with a WordPress user that may edit the page can read and write the two fields. It does not require a ROAS Master account.
About ROAS Master
ROAS Master (https://roas-master.boostmedia.co.il/) is the service this plugin was written for. The plugin itself never contacts it. When a site owner connects a site to ROAS Master, the service calls the site's REST API with the WordPress user and application password the owner gave it. Its terms: https://roas-master.boostmedia.co.il/terms . Its privacy policy: https://roas-master.boostmedia.co.il/privacy .
Google Tag Manager (external service)
Only when a container id was set, every page tells the visitor's browser to load that container from Google Tag Manager (https://www.googletagmanager.com/), as with any Google Tag Manager installation; what the container then loads is configured by the site owner in Google Tag Manager. Without an id nothing is loaded. Google's terms: https://marketingplatform.google.com/about/analytics/tag-manager/use-policy/ . Google's privacy policy: https://policies.google.com/privacy .
Form submissions (external service)
Off by default. It is turned on only by an administrator (manage_options) through POST /wp-json/roas-seo-fields/v1/leads with the address of the site owner's ROAS Master lead desk (https://roas-master.boostmedia.co.il/) and a key, and turned off with DELETE on the same route; GET /wp-json/roas-seo-fields/v1/status says leads: on or off (never the key).
gclid, gbraid, wbraid, utm_*). No IP address and no browser identification are sent.roas_msf_click (90 days) holding those click ids and campaign tags, so that a form sent later in the visit carries them.DELETE /wp-json/roas-seo-fields/v1/leads, or deactivate the plugin. Deleting the plugin removes the setting./robots.txt itself when the site root holds no robots.txt file. The route /wp-json/roas-seo-fields/v1/robots (administrators only, manage_options) reads what WordPress serves, and stores a new robots.txt only when the request names exactly what is served now (so a change prepared earlier never overwrites a newer one), no robots.txt file wins over WordPress, and the site is public. The stored text is printed through the documented robots_txt filter. Sending null removes it, and WordPress serves its own file again. Deactivating the plugin also brings back WordPress's own file.
POST /wp-json/wp/v2/plugins with the slug roas-master-seo-fields). ROAS Master does that only after the site owner approves that step.No. With Yoast SEO the plugin opens Yoast's two fields; without any SEO plugin it prints the title and the description itself.
Only when a Google Tag Manager container id was set (by you, or by ROAS Master after you approved it). Then the visitor's browser loads that container from Google, as with any Google Tag Manager installation. Without an id nothing is loaded.
Only a logged-in WordPress user (for example through an application password) who may edit that page or post. Values are stored as plain text (sanitize_text_field).
No. Until a value is written to a page, the page prints exactly what it printed before.
The REST API stops accepting the two fields. The values that were written stay where they are; nothing is deleted.
No. It is made by Boost Media and is not affiliated with Yoast. It uses the same two field names so that Yoast SEO, when it is active, prints what was written.
roas-seo-fields/v1/leads.roas-seo-fields/v1/site-keys.roas-seo-fields/v1/tracking.roas-seo-fields/v1/status).