Step 2. Get your conversion tag

  1. Under Install your tag, choose to count conversions on Page load.

  2. As an option, you can add the Google Site Stats notification to the conversion page.

    The notification appears in the lower corner with a link to Google’s security standards and cookie usage.

  3. To choose how you want to manage your AdWords tag, do one of the following:

    • If you plan to add the script to your store yourself, choose Save instructions and tag.
    • If you plan to have someone else add the script to your store, choose Email instructions and tag.
  4. When complete, click Done.

Step 3. Configure your store

NOTE
Starting with the 2.4.5 release, the Google services integration is updated to support use of the GTag APIs. GTag is a unified mechanism for integration with Google functionality for web pages and supports the newest capabilities and opportunities for tracking and managing content through Google Services. For more information, see the Google Analytics developer documentation.
  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. If configuring Google AdWords for a specific store view, do the following:

    • In the upper-left corner, choose the Store View that is to be configured.

    • When prompted to confirm scope switching, click OK.

  3. In the left panel, expand Sales and choose Google API.

  4. Expand Expansion selector the Google AdWords section and do the following:

    • Set Enable to Yes.

    • Enter the Conversion ID from your Google AdWords script.

    Sales configuration - Google Ads API

  5. To format the Google Sites Stat notification, do the following:

    • Set Conversion Language to the language that is identified in your Google AdWords script.

    • Enter the Conversion Format to be used for the Google Sites Stat notification on the conversion page.

      • 1 - Displays a one-line notification with a link to more information about Google tracking.
      • 2 - Displays a two-line notification with a link to more information about Google tracking.
      • 3 - Displays no customer notification.
    • Enter the hexadecimal code for the Conversion Color that you want to use for the Google Site Stats notification label.

    • Enter the encrypted text for the Conversion Label that appears on the Google Sites Stat notification.

      For example: MlEYCOKBnGoQz6CZoAM

      Sample Google AdWords Tag Code

      <!-- Google Code for Back to School Sale Conversion Page -->
      <script type="text/javascript">
      /* <![CDATA[ */
      var google_conversion_id = 999999999;
      var google_conversion_language = "en";
      var google_conversion_format = "3";
      var google_conversion_color = "ffffff";
      var google_conversion_label = "MlEYCOKBnGoQz6CZoAM";
      var google_remarketing_only = false;
      /* ]]> */
      </script>
      
      <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
      </script>
      <noscript>
      <div style="display:inline;">
      <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/872829007/?label=MlEYCOKBnGoQz6CZoAM&amp;guid=ON&amp;script=0"/>
      
      </noscript>
      
  6. Set Conversion Value Type to one of the following:

    • Dynamic - Determines that a conversion has occurred based on the dynamic Order Amount value.
    • Constant - Determines that a conversion has occurred based on a specific value entered.

    For a Constant conversion value type, enter a specific Value for the Order Amount to qualify as a conversion.

  7. When complete, click Save Config.

Step 4. Verify the configuration

Within a few hours, the tracking status in your Google AdWords dashboard changes from Unverified to No recent conversions or Recording conversions. When someone clicks your ad and makes a purchase, the conversion appears on the Conversion Actions page of your dashboard and campaign report.

Commerce