How to Embed Google Analytics in a Canva Website

How to Embed Google Analytics in a Canva Website

If you’ve built your website using Canva Websites, you might be wondering how to track your visitors and see how your site is performing. That’s where Google Analytics comes in!

Although Canva doesn’t have a direct integration with Google Analytics like WordPress or Wix, there’s a manual way to add the tracking code and it’s not as hard as it sounds.

Let me walk you through the exact steps I used to embed Google Analytics into my own Canva website.


Step 1: Set Up Google Analytics

First, you need a Google Analytics account. If you already have one, great! If not, follow these steps:

  1. Go to https://analytics.google.com.
  2. Sign in with your Google account.
  3. Click “Start Measuring” and fill in your account name.
  4. Set up a property (this is your website).
    • Give it a name (like “My Canva Website”).
    • Choose your time zone and currency.
  5. Click Next, answer a few business-related questions, and click Create.

Step 2: Get Your Google Analytics Tracking Code

Now that your account is ready:

  1. After creating the property, you’ll see an option to set up a data stream.
  2. Choose Web as the platform.
  3. Enter your Canva website URL and a stream name.
  4. Click Create Stream.

Once the stream is created:

  1. You’ll see a “Measurement ID” like G-XXXXXXXXXX.
  2. Click on “View tag instructions” or “Install manually”.
  3. Copy the entire Global Site Tag (gtag.js) code.

It looks something like this:

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

gtag('config', 'G-XXXXXXXXXX');
</script>

Step 3: Embed the Code into Your Canva Website

Here comes the trickiest part, but don’t worry—it’s simple once you know how:

  1. Go to Canva.com and open your website design.
  2. Click “Website” from the top-right publish menu.
  3. Select “Publish as Website” and choose “Custom Domain” or “Free Domain” (whichever you are using).
  4. Before you publish, scroll down and click on “Advanced Settings.”
  5. In the section that says “Header code (for analytics, etc.)”, paste your Google Analytics code here.

Important: Make sure you paste the entire script you copied earlier.

  1. Click “Publish” to update your website.

That’s it Google Analytics is now embedded!


Step 4: Confirm It’s Working

To make sure everything is set up correctly:

  1. Go back to your Google Analytics account.
  2. Click on Reports > Realtime.
  3. Open your website in a new tab or on your phone.
  4. If the setup is correct, you’ll see at least 1 active user (that’s you!).

It might take a few minutes for the data to appear, so don’t worry if it’s not instant.


Bonus Tip: Use Google Tag Assistant (Optional)

If you want to double check your setup:

  • Install the Google Tag Assistant Chrome extension.
  • Visit your Canva website.
  • Click the extension icon to see if the Google Analytics tag is firing correctly.

Wrap Up

Even though Canva doesn’t yet support plugins or full backend control like other platforms, you can still use Google Analytics effectively. All it takes is a bit of manual work to insert the tracking code but once done, you’ll start getting valuable insights about your visitors.

I did this for my own site and now I can see which pages are getting the most views, how long people are staying, and what devices they’re using. It’s helped me improve my content a lot!

Leave a Comment

Your email address will not be published. Required fields are marked *