As an SEO Keyword Suggestions provider, you can integrate with Wix to enable Wix users to optimize their SEO strategy.
The integration is done via an app in the Wix App Market and by implementing the SEO Keyword Suggestions service plugin. After the app is installed on a site, Wix triggers a call to your service when specific actions are taken on the site. Refer to each function's description for details about those actions.
Using the service plugin, you can design your app to:
Follow these steps to begin implementing your service plugin.
You can implement this service plugin with the following frameworks:
To configure and customize your plugin, you need to provide important information in the service plugin configuration file. You can configure your plugin in the Wix Dev Center. For details, see SEO Keyword Suggestions Extension Configuration.
Use seoKeywordSuggestions.provideHandlers()
to define the following handler functions that implement your custom business logic. Make sure you define all required functions.
Function | Required |
---|---|
getQuota() | Yes |
listSuggestedKeywords() | Yes |
Below is an example for implementing the SEO Keyword Suggestions service plugin in your code.
This is the basic code structure for implementing the SEO Keyword Suggestions service plugin with the Wix CLI:
This is the basic code structure for implementing a self-hosted SEO Keyword Suggestions service plugin:
To configure and customize your service plugin, you need to provide important details in the plugin.json
configuration file.
If you created your service plugin extension with the CLI, required fields are automatically populated for you.
Base URL of your SEO implementation. Wix sends API requests to endpoints implemented using this URL.
Your website's landing page.
Whether there is a quota limit in the service. When set to true, include the quota object in responses.
List of countries you support for SEO analysis. 2-letter country code in ISO-3166 alpha-2 format.
URL of the page where users can purchase a paid plan. Wix offers a link to this page when you respond with a value of false
in quota's paidPlan
property.