9

I'm trying to enable inline installs, but continue to get the following error

Inline installs can only be initiated for Chrome Web Store items that have one or more verified sites

I've verified ownership of my test site via both a name tag and a .html file. Is it a problem that this test site is also owned by my other email (for analytics)? This is all being tested in Canary, where I'm signed in with a work email.

In the Developer Dashboard, I've changed my display name to be the site I verified (e.g. www.example.com). I've also enabled the checkbox for This item uses inline install.

It's not clear how I associate the site I own with the app I publish on the chrome web store.

It seems like I'd need to specify the site I own in the manifest file?

In my www.mydomain.com/testfile.html:

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>blu</title>
    <meta charset="UTF-8" />
    <link rel="shortcut icon" href="./img/favicon.png">

    <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/myAppIdNumber">
  </head>
  <body>
    <div style="width: 600px; margin: 40px auto;">
      <h1>
        Example Install Page
      </h1>

      <p>
        You can initiate app and extension installations "inline" from your site. These apps and extensions are still hosted in the <a href="https://chrome.google.com/webstore/category/apps">Chrome Web Store</a>, but users no longer have to leave your site to install them.
      </p>

      <button onclick="chrome.webstore.install(undefined, undefined, function(message) { console.log(message); });" id="install-button">
        Add to Chrome
      </button>

      <script>
        if (chrome.app.isInstalled) {
          document.getElementById('install-button').style.display = 'none';
        }
      </script>
    </div>
  </body>
</html>
tarabyte
  • 17,837
  • 15
  • 76
  • 117
  • When you say "verified ownership of my test site", did you do that in the way described on this page: https://support.google.com/webmasters/answer/34592?hl=en – Marc Rochkind Sep 18 '14 at 20:15

1 Answers1

12

It's not about your display name.

You need to:

  1. Go to the Webmaster Tools.
  2. Add the site to your sites.
  3. Obtain and embed a verification code into your site.
  4. Complete verification in Webmaster Tools.
  5. Go to your Developer Dashboard (must be under the same Google account) and edit your Web Store item.
  6. Select your site in "Verify that this is an official item for a website you own:"
Xan
  • 74,770
  • 16
  • 179
  • 206
  • 2
    Ah, I didn't see that I had to add a site by editing the app deployment configs through the Developer Dashboard. – tarabyte Sep 18 '14 at 21:23
  • I think this list is incomplete. I feel like I do step 1 through 5 and there is still an empty list in step 6. – Redsandro Jun 15 '15 at 10:05
  • @Redsandro Are you certain you completed verification? Visit Webmaster tools again. – Xan Jun 15 '15 at 10:08