Articles on: Setup & Manage

How to add Google Analytics to your Clone?

Track visitor behavior on your translated Clone by connecting it to Google Analytics. This article explains how to set up a separate Google Analytics property for your clone and how to replace the tracking ID using Substitution rules.


What is Google Analytics?

Google Analytics is a free tool by Google that shows you detailed data about your website visitors. It tells you how many people visit your site, where they come from, which pages they read, and how long they stay. If you already use Google Analytics on your original website, you will want the same insights for your clone.


Step 1: Create a separate property for your clone

Your clone is a separate website with its own URL. To track it correctly, it needs its own Google Analytics property.

  1. Go to Google Analytics and sign in
  2. Click Admin in the bottom-left corner
  3. Under the Account column, select the account you want to use
  4. Click + Create Property
  5. Follow the setup steps and enter the details for your clone (name, URL, time zone, currency)
  6. Copy the Measurement ID (it looks like G-XXXXXXXXXX) that Google assigns to your new property

If you do not have a Google Analytics account yet, you can create one for free at analytics.google.com using any Google account.


Step 2: Replace the tracking ID on your Clone using Substitution rules

Your original website already has a Google Analytics tracking tag embedded in its code. By default, your Clone inherits that same tag, which means visitor data from your Clone would be recorded under your original property. That is not what you want.

To fix this, use Substitution rules in Clonable to swap out the original measurement ID for the new one you just created.

How to set up the Substitution rule:

  1. Open the Clonable control panel
  2. Select your Clone
  3. Go to Advanced settings > Substitution rules
  4. In the Original field, enter the original Measurement ID from your source website (for example: G-AAAAAAAAA)
  5. In the Replacement field, enter the new Measurement ID for your Clone (for example: G-XXXXXXXXXX)
  6. Save the rule

From that point on, every time the Clone serves a page, the original tracking ID is automatically replaced with the clone's tracking ID. Visitor data is sent to the correct property.

Substitution rules work on the raw HTML of your clone's pages. This means any script tag containing the original ID will be updated automatically, including tags injected by Google Tag Manager or hardcoded in your theme.


What you can track in Google Analytics

Once your clone is connected to its own property, you have access to all standard Google Analytics reports.

Realtime

See exactly who is on your clone right now. Realtime shows the number of active users, their locations, which pages they are viewing, and where they came from.

Audience

Review visitor data for any time period you choose. Audience reports show total sessions, unique users, and the bounce rate. A bounce rate above 50% often means the wrong audience is landing on your pages.

Acquisition

Find out how visitors reach your clone. Traffic is grouped into six channels: organic search, paid search, referral, direct, social media, and email. You can also link Google Ads and Google Search Console to enrich this data.

Behavior

See which pages get the most visits, how long visitors stay on each page, and where they exit. Exit pages in particular show you where to focus optimisation efforts.


Frequently asked questions

Do I need a separate Google Analytics account for my clone?

No, a separate account is not needed. You only need a new property inside your existing account. One account can hold multiple properties, so you can keep your original website and your clone under the same account and compare them side by side.

Why should I not use the same property for my original site and my clone?

Using the same property mixes data from two different websites. You will not be able to tell which traffic came from your original site and which came from your clone. Separate properties give you clean, comparable data for each.

What if my site uses Google Tag Manager instead of a hardcoded Analytics tag?

Substitution rules still works the same for Google tag manager, replace the ID of the original site with the ID of the Clone.

Yes. Once your clone's property is set up in Google Analytics, you can link it to a Search Console property for the clone's domain.

Updated on: 11/05/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!