Skip to content
OnCharge.io
View as Markdown
Developer docs

Partner Network

The OnCharge Partner Network writes original articles for your store's own blog and connects you with related stores in the network ($99 per month). Join from Marketing → SEO / GEO → Partner Network in the merchant portal. This page covers what the network does on your site and what your site needs.

What you get#

  • Up to four articles a month, written for your customers about what you sell, linking to your own products and categories.
  • Mentions of your store in other members' articles, where they genuinely help their readers. Visits arrive tagged utm_source=<their site>, utm_medium=partner, utm_campaign=partner-network.
  • Checks on every article before you see it: no health, dosing or clinical claims, no invented facts or reviews, no copied text.
  • A daily check that published partner mentions are still in place.

Publishing#

WordPress (and WooCommerce) sites publish in one click. In WordPress, open Users → Profile → Application Passwords, create one named "Partner Network" for an Administrator, Editor or Author, and paste it into the portal with the username. OnCharge only creates, updates and unpublishes the articles it writes, and you can revoke the password in WordPress at any time. The site's REST API and application passwords must be switched on (some security plugins and code snippets switch them off; if so, the portal tells you when you connect). Enter your site's address as your browser shows it, with or without www.

Use Connect with WordPress to approve OnCharge on WordPress's own authorisation screen (no password to copy), or enter an application password yourself.

Your own platform (webhook): for headless, custom and other platforms that can receive a request. Prove you control the domain (below), give an https endpoint, and OnCharge POSTs each approved article to it:

Code
POST <your endpoint>
X-OnCharge-Event: article.publish | article.unpublish | ping
X-OnCharge-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with your signing secret>

{ "type": "article.publish", "created": 1794787200,
  "data": { "id", "title", "slug", "html", "excerpt", "meta_description", "topics", "word_count" } }

Publish the html as given and answer 200/201 with {"url": "https://<your site>/<post>", "id": "<your id>"}. article.unpublish (data: { id, url, ref }) asks you to take a post down; ping (sent by Send a test) only needs a 2xx. Reject requests whose signature does not match or whose t is more than five minutes old. Answers of 429 or 5xx are retried; redirects are not followed.

Any other site, by hand: approve an article, copy its HTML into a new post in your site's HTML editor without changing it, publish it, and paste the post's address into the portal. OnCharge opens the page to confirm the article, its partner links and the notice are there.

Proving you control a site (webhook and by hand; not needed for your OnCharge store's own domain): the portal shows a code. Add it as a DNS TXT record on _oncharge.<your domain> (value oncharge-site-verification=<code>), or put <meta name="oncharge-site-verification" content="<code>"> in your home page's <head>.

Partners#

Articles mention stores that complement yours: a lab-testing service in a research store's article, a grinder shop in a coffee roaster's. A store whose main line is something you sell is never mentioned in your articles, and you can name stores never to be paired with (neither side mentions the other). Articles build on facts from your own pages, such as specifications, formats and testing details, and never invent others.

Sample article#

Before joining, enter your site's address under See a sample article to get a real article for it, written and checked as members' are. Nothing is charged or published. You can see three a day; a site's sample is kept for a day.

Stores that list controlled substances#

A store whose catalogue lists a controlled substance (anything on the DEA's schedules I–V, under its own name or a brand name) cannot be in the Partner Network. That is the network's only product rule; your ad platforms' own rules still apply to ads. A listing counts by its name and address, not by words in its description. OnCharge reads your product and category listings (WooCommerce and Shopify product feeds, the product and category addresses in your sitemap, and product links on your home page):

  • when you enter your site to join, and again right before the first charge: a store with such listings cannot join and is not charged;
  • when you connect a site, and before each sample article;
  • every day while you are a member, and when you choose Check again.

If listings are found, the portal lists each one and why. Until they are removed, your store gets no new articles, approved articles wait, and other members do not mention it. Articles that mention a store held out this way are withdrawn: OnCharge unpublishes them where it publishes for the member (WordPress back to draft, or article.unpublish to the member's platform) and otherwise asks the member to unpublish them; each publisher gets a replacement article sooner. Remove the listings, then choose Check again: the block lifts on the first check that reads your whole catalogue and finds none. Your membership and its fee continue meanwhile, and you can cancel at any time.

An article or blog post that names a controlled substance does not keep your store out, but it is never linked from any article, and articles never name one.

Results#

The portal shows, for the last 30 days, the visits and paid orders that partner mentions brought you, by partner, and the visits your articles sent to partners. Orders paid through OnCharge checkout are counted automatically from their referral tags. To count visits, add one line to your site's pages; it sets no cookies and sends nothing about your visitors:

HTML
<script async src="https://app.oncharge.io/partner.js"></script>

WordPress members can also choose the blog category articles are filed under; by default they go where the site files most of its posts.

You read every article before it goes live unless you turn on Publish automatically. You can unpublish any article from the portal; its partner mentions end with it.

Keeping mentions in place#

While an article is on your site, keep its partner links, their rel="sponsored" attribute and the partner content notice. If a mention is missing or changed on three daily checks, the portal tells you; if it is still missing 14 days later, your store receives no partner mentions for 60 days.

Research-use-only stores#

Stores in the RUO program can be members. Their articles, and any article that mentions them, describe RUO products only as materials for laboratory research and carry a not-for-human-or-veterinary-use notice. Other members see mentions of RUO stores only if they allow them in their Partner Network settings.

Terms#

The Partner Network Terms cover fees, cancellation and the rules above.