本文へスキップ

Square Online 向け glot

EC · ユニバーサルタグ

Square Online では、すべてのページに追加する 1 つのスクリプトタグで glot が動きます。訪問者のブラウザでページを翻訳し、言語メニューを追加します。

プラットフォーム側の手順は、Square Online の画面のメニュー名に合わせて英語で記載しています。

glot タグを追加する

  1. glot でプロジェクトを作成し、言語を追加します。
  2. glot Edge → サイト用タグを開き、サイトのアドレスを入力します。glot がサイトを翻訳してプレビューを表示します。タグを貼り付けたら、同じ画面でインストールを確認し、タグをオンにします。
  3. そのタブからタグをコピーします。プロジェクトと公開キー(data-key)はすでに入っています。下のタグはその形式の例です。
glot タグ
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>
  1. In Square Dashboard, go to Channels → Square Online.
  2. Select Settings, then Tracking Tools.
  3. Select Add new code.
  4. Enter a name, paste the glot tag into the code field, and choose head.
  5. Select Save, then publish your site from the site editor.
サイト用タグのガイド

必要なプラン

Tracking Tools are available on Free, Plus and Premium plans. A custom domain requires Plus or Premium.

glot の各プランの内容は料金ページをご覧ください。glot Edge(翻訳済み URL)は Growth プランに含まれ、Pro では限定トライアルを利用できます。

検索エンジン向けの翻訳済み URL

JavaScript を実行せずに検索エンジンがインデックスできる翻訳ページにするには、2 つの DNS レコードで glot Edge をドメインのサブドメイン(es.example.com)に置きます。

DNS レコード(TXT トークンは glot Edge → セットアップに表示されます)
es.example.com.        CNAME  edge.glotlang.com.
_glot.es.example.com.  TXT    "<token shown in the dashboard>"

Requires Plus or Premium with a custom domain. For a domain bought through Square: Channels → Domains → Manage → Manage domain → Add DNS record. Otherwise add the records at your registrar. Not possible on a square.site address.

glot Edge の仕組み

よくある質問

glot は Square Online のパートナーですか?
いいえ。glot は独立しており、Square Online との提携や Square Online による推奨はありません。このガイドは Square Online の標準機能だけを使っています。
glot は Square Online のコンテンツを変更しますか?
いいえ。タグは訪問者のブラウザでページを翻訳するだけで、Square Online のコンテンツはそのままです。タグを外せば、サイトは元の言語に戻ります。
翻訳は検索エンジンにインデックスされますか?
タグだけではほとんどされません。ブラウザで翻訳するため、検索エンジンが主にインデックスするのは元の言語です。言語ごとの URL を持つ翻訳ページには、glot Edge か、言語ごとに URL を公開するプラットフォームが必要です。
Does it work on the free plan?
The tag yes. Subdomain SEO mode no, because the free plan only has a square.site address.

Square Online の公式ドキュメント

Square Online のサイトを翻訳する

プロジェクトを作成して言語を選び、上の手順に従ってください。

Square Online は各所有者の商標です。glot は Square Online と提携していません。