AnroAgents

Home / Docs / WordPress plugin and Shopify app

AnroAgents on WordPress and Shopify

Installing an AnroAgents agent on WordPress or Shopify without touching code.

AnroAgents ships a WordPress plugin and a Shopify app so that customers on those platforms never have to edit a theme file by hand. Both do the same job as the embed snippet, and both are driven by the same agent configuration in the AnroAgents dashboard.

The AnroAgents WordPress plugin

The AnroAgents WordPress plugin adds the chat widget to a WordPress site from the WordPress admin. Install it, open its settings page, paste the Agent ID and API Key from the agent's detail screen in the AnroAgents dashboard, and save. The widget then appears on the front end of the site.

The AnroAgents WordPress plugin exposes the same options as the snippet — widget position, accent colour, and whether the widget appears on every page or only on selected ones — as normal WordPress settings fields.

Because the AnroAgents WordPress plugin loads the same widget.js as the manual snippet, everything else behaves identically: proactive triggers, greeting, language handling and live handoff are all managed in the AnroAgents dashboard, not in WordPress.

If a WordPress site uses a caching or optimisation plugin, exclude the AnroAgents script from JavaScript minification and combination. Aggressive optimisers sometimes rewrite the script tag's data attributes, and the widget then loads without its agent ID.

The AnroAgents Shopify app

The AnroAgents Shopify app installs the chat widget into a Shopify storefront as a theme app extension, which means the widget is added through Shopify's own theme editor rather than by editing Liquid templates.

Installing the AnroAgents Shopify app runs a standard Shopify OAuth flow, after which you connect the store to one of your AnroAgents agents. The connection is made from the app, and only the person who is signed in to both accounts can make it.

The AnroAgents Shopify app synchronises the store's products into the connected agent, so the agent can answer questions about items, prices and availability without you uploading a catalogue by hand. The agent's detail screen in the AnroAgents dashboard shows the connected store, the number of products synchronised and the time of the last synchronisation.

Product synchronisation in the AnroAgents Shopify app is one-way: Shopify is the source of truth and the agent follows it. Editing a product in Shopify updates what the agent knows at the next synchronisation; the agent never writes back into the store.

Which one to choose

Use the AnroAgents Shopify app if you sell on Shopify — it is the only route that keeps the product catalogue up to date automatically. Use the AnroAgents WordPress plugin if your site runs on WordPress and you do not want to touch theme files. Use the plain script snippet for everything else, including custom sites and site builders that allow custom HTML.