When you use Google Analytics for your Webstore, it provides you with insights on how users land on your Webstore, check the services listed on your Webstore, and book an appointment.

Using this information, you can gain insights on data such as the time of visit, pages visited, and time spent on each of the webpages, referring site details (such as the web address of this site), online campaigns that bring in the most traffic and conversions, the success rate of a campaign, and the situations which led to a guest from dropping the action before an appointment was booked.

However, if you do not set up Google Analytics correctly, it will result in data inaccuracies in the in the following areas:

To understand these issues better and to understand the solutions, you must first understand the meaning of the following terms:

Terminology

  • Client - ID: The Client ID (cid) is a unique identifier for a browser–device pair that helps Google Analytics link user actions on a site. By default, Google Analytics determines unique users using this parameter.

  • Conversion: An action taken by the user, online or offline, that contributes to the success of your business, (such as Sign Up, booking, and purchase of membership).

  • Direct Source: Website visits that arrived on your site either by typing your website URL into a browser or through browser bookmarks. In addition, if Google Analytics can't recognize the traffic source of a visit, it will also be categorized as Direct in your Analytics report.

  • Linker Tag: Conversion linker tags are tags deployed on any page that a user lands on when they click an ad or a promotion. These tags are used to measure data related to clicks so that conversions are measured effectively.

  • Medium: How a user reached your website (such as banner, organic traffic, referral, or social media).

  • Source: Where your website’s traffic originates (such as a search engine or a domain).

  • Tracking Parameters (UTM Parameters): Tracking parameters are specific text strings that you can append to URLs to track user behavior. This tracking helps you understand the effectiveness of your online marketing campaigns across traffic sources and publishing media. The following are the UTM parameters used by Google Analytics.

Parameter

Description

Example

utm_source

Identifies the site (such as the search engine, site, publication, social media page, or other referrals) that sent the traffic to your website.

This is a required parameter.

utm_source=google

utm_source=newsletter4

utm_medium

Identifies the type of link the user clicked to reach your Webstore, such as an ad banner, cost per click (cpc) ad, or email newsletter.

This is a required parameter.

utm_medium=cpc

utm_medium=banner

utm_campaign

Identifies a product promotion (such as a sale or a giveaway) or a strategic campaign (such as introduction of a new feature, launch of a new service, product launch or partnership).

This is a required parameter.

utm_campaign=spring_sale

utm_term

Identifies search terms or paid search keywords. If you're manually tagging paid keyword campaigns, you should also use utm_term to specify the keyword.

utm_term=specialty+manicure

utm_content

Identifies what specifically was clicked to bring the user to the site, such as a banner ad or a text link. It is often used to track which call-to-action links are more effective.

utm_content=bannerlink or utm_content=textlink

Troubleshoot common issues in setting up Google Analytics for your Webstore

Why are the traffic sources to my website not getting tracked accurately?

When a user clicks your ad from a social media page, and the source of traffic does not get captured, you will lose valuable information on metrics such as campaign success.

To avoid this, you must:

  1. Ensure that the following three UTM parameters are part of the URL that you use in the promotional channels you want to be associated with this custom campaign:

    • Campaign source (utm_source)

    • Campaign medium (utm_medium)

    • Campaign name (utm_campaign)

    To create a campaign URL that contains these parameters, you can use Google’s free Campaign URL Builder tool. You can also create your URLs by yourself by adding values for the utm_source, utm_medium, and utm_campaign parameters.

    The following is a sample URL with all the parameters:

    https://spabliss.com?utm_source=Google&utm_medium=Banner&utm_campaign=Online_Sale&utm_id=123

  2. Ensure that the parameters information is passed from your website to your Webstore.

    You can use the custom scripts provided here to update the URLs in your website (such as your Webstore, Products, or Services) to include the three tracking parameters from your website URL. The custom script works in two steps:

    1. Saves the tracking parameters from the Website.

    2. Dynamically appends the parameters to the Webstore URL.

How can I ensure that conversion events are recorded correctly?

Conversion tracking in Google Ads lets you identify how well your ad campaign is generating sign ups, purchases, appointment bookings, and other key actions for your business. To ensure that conversion tracking works smoothly, you must:

Step 1: Create a conversion action in Google Ads

  1. Sign in to your Google Ads account.

  2. In the upper right corner, click the Tools icon, and under Measurement, click Conversions.

  3. Click the Add button .

  4. Click Website.

    The New conversion action page opens.

  5. From the Category drop-down list, select the type of action you’d like to track. There are categories available to classify actions for Sales, such as Purchase and Subscribe; Leads, such as Sign up and Book Appointments, and other activities.

  6. In the Conversion name box, enter the name of the conversion you are tracking, such as “gold membership purchase” or “manicure booking.”

  7. In the Value field select how you wish to track the value of each conversion.

  8. In the Count section, select how to count these conversions.

  9. Click Create and continue.

    Your conversion action is created.

In the next step, you must install the tag to your website code. Even though you can add the tag manually, Zenoti suggests that you use Google Tag Manager to install the tag.

Step 2: Set up the conversion tracking tag using Google Tag Manager

To set up website conversion tracking for the first time, you'll need to add two code snippets to your website: the global site tag and the event snippet. You can use Google Tag Manager to add these two code snippets to your website.

  1. In the Tag setup box, under Select how you want to install your tag, click Use Google Tag Manager.

  2. Copy the Conversion ID and Conversion Label listed in this tab.

  3. Switch to the Google Tag Manager and create a tag of type Google Ads Conversion Tracking.

  4. In the Conversion ID and the Conversion Label fields, paste the Conversion ID and Conversion Label values obtained from step 2.

  5. In the Triggering section, create a suitable trigger or select an existing one to determine when the conversion should be triggered. For example, you can add Thank You Page Discount Sale as a trigger so that when a user clicks the discount banner in your Thank You page, it is considered as a conversion.

  6. Click Next.

  7. Click Done to complete your tag setup.

  8. Tags created in Google Tag Manager are not immediately active. To publish the changes you have made, on the Tag Manager Overview page, click Submit.
    Click Preview to test your changes without publishing them to everyone.

Google Tag Manager will now install the code snippets to your website.

Why is one user getting tracked as two different users in Google Analytics?

To count the number of sessions, Google Analytics collects a Client-ID value every time a user accesses a page. Google Analytics then stores the Client-ID values in cookies per domain. Websites on one domain cannot access cookies set for another domain.

When you measure sessions across multiple domains, the Client-ID value must be transferred from one domain to the other. When your Webstore domain is different from your website domain, you must link the Client ID of your website with your Webstore. Otherwise, when a user navigates from your website to your Webstore, Google Analytics tracks this single user as two people.

For example, consider this scenario.

  1. You own a business, SpaBliss, with the domain spabliss.com. Your Zenoti Webstore that is integrated with your website is spabliss.zenoti.com/webstoreNew.

  2. A user clicked the link to your website from Facebook and reached your domain spabliss.com. The system that the user uses stores the following cookie which contains the client ID: GA1.1.905952901.1657093747

  3. The user looks at the services that you offer and decides to book an appointment with you.

  4. The user clicks the Book Now button on your home page.

  5. They reach spabliss.zenoti.com/webstoreNew. As the domain for the Webstore is Zenoti.com and the domain for your website is spabliss.com, a new client ID is generated for the same user: GA1.1.806732432.2786095629

  6. As the two client IDs do not match, Google Analytics tracks this user as two different users.

There are two methods that you can use to avoid this problem:

  • Method 1: Customize your URL so that the Webstore URL is in the same domain as your Website.

    For example, if your website domain is spabliss.com and your Webstore URL is spabliss.zenoti.com/webstoreNew, you can customize your Webstore URL to booking.spabliss.com. As booking.spabliss.com is a subdomain of spabliss.com, tracking will not be affected at all.

  • Method 2: Use the “Linking” feature of Analytics code that allows the domain of your website to place the Client-ID in the URL parameters of a link, where the domain of your Webstore can access it.

    For method 2, you must edit the global site tag (gtag) to be able to send event data to Google Analytics.

    To link two domains using Method 2:

    1. Copy the gtag given in every page of your website, immediately after the <head> tag. The following is a sample of a gtag with tracking ID UA-000000-2.

      <!-- Global site tag (gtag.js) - Google Analytics -->
      <script async src="https://www.googletagmanager.com/gtag/js?id=UA-000000-2"></script>
      <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){window.dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', UA-000000-2');
      </script>
    2. Edit the Google Analytics tracking function for the domain of your website and add the linker code (that links the domain of your website to zenoti.com) to it.

      For example, if your domain is spabliss.com and your Webstore domain is spabliss.zenoti.com, then add the linker tag (that links the domain of your website to zenoti.com) to the Google Analytics tracking code snippet as given below:

      gtag('config', 'UA-000000-2', {  'linker': {    'domains': ['spabliss.com', 'zenoti.com']  }});
    3. Edit the Google Analytics tracking function for the domain of your Webstore and add the linker code (that links the domain of your website to zenoti.com) to it.

      For example, if your domain is spabliss.com and your Webstore domain is spabliss.zenoti.com, then add the linker tag to the Google Analytics tracking code snippet as given below:

      gtag('config', 'UA-000000-2', {  'linker': {    'domains': ['spabliss.com', 'zenoti.com']  }});

      Note:

      • If the Webstore URL is contained in a button, then you must use a custom function to decorate the URL (decorating is a method of adding extra information to the URL).

      • You must use the same Google Analytics account in your website that you use for the Webstore.

Learn more

Did this answer your question?