Square Online: Google-Tag einrichten

You can measure behavioral data about your site with Google Ads and Google Analytics. Follow the steps in this article to set up a tag for your Google Ads or Google Analytics account. Learn more about Installing your tag with a website builder or CMS.

Before you begin

Sie benötigen Ihre Google-Tag-ID.
 
The instructions for setting up the Google tag are different for tag IDs starting with "AW-" (usually, Google Ads accounts) and tag IDs starting with "G-" (usually, Google Analytics properties). Follow the instructions below that correspond with your tag.

If you have a tag starting with "AW-"

An animation showing how to add new code using Square Online.
  1. Melden Sie sich in Ihrem Square-Konto an.
  2. Klicken Sie im Menü auf der linken Seite auf Online und wählen Sie dann im Pop-up-Menü Online aus.
  3. Klicken Sie auf der Seite „Online“ auf Settings (Einstellungen) und wählen Sie im Drop-down-Menü die Option Tracking Tools aus.
  4. Klicken Sie in der Zeile „Add custom header code“ (Benutzerdefinierten Header-Code hinzufügen) auf Add new code (Neuen Code hinzufügen).
  5. Geben Sie im Pop-up-Fenster „Add custom header code“ einen Namen für den benutzerdefinierten Code ein und fügen Sie das Google-Tag in das Feld „Custom code“ (Benutzerdefinierter Code) ein.

    <!-- Google tag (gtag.js) -->

    <script async src="https://www.googletagmanager.com/gtag/js?id=TAG_ID"></script>

    <script>

     window.dataLayer = window.dataLayer || [];

     function gtag(){dataLayer.push(arguments);}

     gtag('js', new Date());

     gtag('config', 'TAG_ID');

    </script>

  6. Sorgen Sie unter „Where would you like to place this code?“ (Wo möchten Sie den Code platzieren?) dafür, dass sich der Code im <head>-Abschnitt befindet.
    An illustration showing how to add custom header code using Square Online.
  7. Klicke auf Speichern.

If you have a tag starting with "G-"

An animation showing how to add new code using Square Online.
  1. Melden Sie sich in Ihrem Square-Konto an.
  2. Klicken Sie im Menü auf der linken Seite auf Online und wählen Sie dann im Pop-up-Menü Online aus.
  3. Klicken Sie auf der Seite „Online“ auf Settings (Einstellungen) und wählen Sie im Drop-down-Menü die Option Tracking Tools (Tracking-Tools) aus.
  4. Geben Sie unter „Google Analytics“ Ihre Tag-ID ein. Ihre Änderungen werden automatisch gespeichert.
    A screenshot showing the tracking tools in Square Online.

War das hilfreich?

Wie können wir die Seite verbessern?
Suche
Suche löschen
Suche schließen
Hauptmenü
3348500140936829486
true
Suchen in der Hilfe
true
true
true
true
true
73067
false
false
false