Prerequisites
- A Google account or an email address you can receive mail at.
- Access to your site’s DNS, its HTML
<head>, or a way to upload a file to/.well-known/on your domain. - Access to the template your CMS uses to render articles.
Set up PolyEmbed
1
Sign in to the publisher dashboard
Go to polyembed.io/publisher-login and continue with Google or an email sign-in link. Your publisher account is created on first sign-in.See Publisher account.
2
Accept the publisher agreements
Open Agreements in the dashboard and accept the Publisher Terms, the trading risk disclosure and the payout terms. The Publisher Terms are required before you can verify a domain.
3
Verify your domain
Open Domains, add the site where your articles live, and choose a verification method:
- DNS TXT record: best for root domains.
- HTML meta tag: paste one tag into your homepage
<head>. - Static file: upload one text file to
/.well-known/polyframe-verification.txt.
example.com also covers news.example.com and every other subdomain.See Verify your domain.4
Create a widget
Open Widgets, click New widget, and pick your verified domain. One widget serves every article on that domain.See Create a widget.
5
Paste the snippet into your article template
Copy the embed code from the widget page and paste it once into the template that renders articles. Replace Copy the full snippet from the dashboard rather than this example: it includes the script that resizes the frame and collapses it when no market matches. On WordPress, use the shortcode instead.
{ARTICLE_TITLE} and {ARTICLE_KEYWORDS} (shown URL-encoded as %7BARTICLE_TITLE%7D and %7BARTICLE_KEYWORDS%7D) with your CMS variables, URL-encoded.Article template
6
Publish an article and check it
Open a live article on your verified domain. If a relevant market is live, the widget shows it. If not, the widget collapses and leaves no gap. Impressions appear in Analytics as soon as a widget renders.See Test your embed.
Your widget is live. Next, read How market matching works to get tighter matches from your keywords.