Giles Thomas, Author at Acquire Convert - Page 34 of 41
Categories
Analytics

How to Install Google Analytics 4 on Shopify


Don’t double up with Google Analytics!

Google Analytics 4

It’s important before you start to make sure that you don’t already have Google Analytics installed in your Shopify store. If it’s installed twice, you’ll get inaccurate data — and that’s pretty useless.

Google Analytics 4 Reports

To check whether Google Analytics is installed in your store , follow these steps:

    1. From your Shopify admin, click Settings > Apps and sales channels.
    2. From the Apps and sales channels page, click Online store.
    3. Click Open sales channel.
    4. Click Preferences.
    5. In the Google Analytics section, the box should say only Paste your code from Google here. If you see this, continue to the next step. If, instead you see a code beginning with UA, you have Google Analytics enabled already. 
  • Click Themes.
  1. Click Actions > Edit code.
  2. In the Layout section, click {/} theme.liquid.
  3. In the theme.liquid file, look for any of the following Google Analytics tracking tags: ga.js, dc.js, gtag.js, or analytics.js. If you see any of these tags, you have Google Analytics enabled already.

Let’s assume you don’t have Google Analytics installed already and are starting from scratch…


If you don’t have Google Analytics set up already…

Step 1: Create a Google Account

To use Google Analytics, the first step is to create a Google account 

If you use Gmail or Google Ads, you have a Google account already and can run  Google Analytics from the same account. This will apply to most readers so just skip to Step 2 if that applies to you.

Otherwise, you can create a Google account here. Don’t worry if you never intend to use the Gmail account that comes with it. Just use it to sign in and out of Google Analytics.

Then you need to set up a  Google Analytics account and continue to Step 2.


Step 2: Enable Google Analytics

To enable Google Analytics, you’ll need to create a Universal Analytics property in Google and add it to your Shopify store.

To do that, follow these steps:

  • Sign in to Google Analytics from any web browser
  • Click Admin.
  • In the Account column, select the correct account.
  • In the Property column, click Create Property.
  • Enter a name for the property.
  • Select Create a Universal Analytics property only.

Google automatically creates Google Analytics 4 properties that are incompatible with Shopify. Make sure that you create a Universal Analytics property as follows:

  • Click Next.
  • Select the appropriate settings.
  • Click Create.
  • Copy the Universal Analytics property to your clipboard by highlighting it and pressing ctrl+C on PC or command+C on Mac.

GA4 is not automatically created by Google all the time. It is available for a new account but for old accounts, we need to create it manually.

  • In Admin, look at the Account column to make sure that you’ve selected the right account. Then, in the Property column, click Create Property.
  • Select the appropriate settings.
  • Click Create.
  • Copy the Universal Analytics property to your clipboard by highlighting it and pressing ctrl+C on PC or command+C on Mac.

Google Analytics Code Copy

  • In a new browser tab, open your Shopify admin.
  • Go to Online store > Preferences.
  • In the Google Analytics section, paste your Universal Analytics property in the Google Analytics account field.

Google Analytics Code Paste


Step 3: Turn on ecommerce tracking

Google Analytics 4’s ecommerce tracking works on two levels:

  1. Basic ecommerce tracking: for transaction and revenue data only
  2. Enhanced ecommerce tracking: for additional data on visitor behavior 

You’ll need enhanced ecommerce tracking enabled and, to do that, follow these steps:

  1. From your Shopify admin, click Settings > Apps and sales channels.
  2. From the Apps and sales channels page, click Online store.
  3. Click Open sales channel.
  4. Click Preferences.
  5. In the Google Analytics section, check Use Enhanced Ecommerce. Users with a previous version of GA might need to click Upgrade to the latest version before this option appears.
  6. Click Save to enable Shopify to track and send your website data to Google Analytics.
  7. In your Google Analytics account, click Admin.
  8. In the View column, click Ecommerce Settings.
  9. Click the Enable Enhanced Ecommerce Reporting toggle to turn it from OFF to ON.
  10. Click Save.

You can customize your Google Analytics 4 setup by adding Javascript code to the Additional Google Analytics Javascript section. 

    1. From your Shopify Settings, click Checkout
    2. From the Checkout page, click Additional script
  • Add the cusromized code as per the Information you are looking for

If you already have a Google Analytics set up…

The following steps apply for installing Google Analytics 4 on Shopify if you already have a Google Analytics account.


Step 1: Create your tracking ID 

To create your tracking ID in Google Analytics, follow these steps:

  1. Log into your Google Analytics account.
  2. Click on the Admin section of the left-hand menu.
  3. From the Property section, select Data Streams.
  4. Click on Add Stream to create a new stream for your Shopify store.
  5. Select either iOS app, Android app or Web from the dropdown menu.
  6. For Web, provide the URL of your Shopify store and click Create stream.
  7. The stream detail will appear.
  8. Under Tagging Instructions, select Add new on-page tag.
  9. Click on the Global site tag option and copy the code that appears.

Step 2: Implement tracking in your store 

  1. Log into your Shopify account.
  2. Click on Online store from the left-hand menu.
  3. Select Themes from the available options.
  4. Click on Actions on the right-hand side.
  5. Select Edit code from the dropdown options.
  6. Paste the code that you retrieved in Step 1 above in the <head> section of the code box.
  7. Click on Save and preview your Shopify store.

How to validate data in Google Analytics real-time reports

With Google Analytics 4 set up, you can generate many useful reports that help you to analyze performance in your Shopify store.

Google Analytics 4 Realtime Reports

To validate data in Google Analytics 4 real-time reports, follow these steps:

  1. Login to your Google Analytics account and click on Reports below the Home button.
  2. Click on Realtime.
  3. You can view the number of real-time users and what type of devices they’re using.
  4. You can also view the user data by events, page title and audiences.

Other advanced reports available in Google Analytics 4 include acquisition reports, engagement reports, ecommerce purchases reports, attribution reports, and more.


Important update on Google Analytics from Google

Google recently posted this important update:

“On July 1, 2023, standard Universal Analytics properties will no longer process data. You’ll be able to see your Universal Analytics reports for a period of time after July 1, 2023. However, new data will only flow into Google Analytics 4 properties…”

So, it’s more important than ever to install and start using Google Analytics 4.


Go forth and analyze…

Whether you already have a Google Analytics account or not for your Shopify store, you’re now all set to start using the latest version of this irreplaceable analytics tool and gather important insights on how your store is performing.

You don’t need to be a data analytics expert to identify how you can increase sales and revenue in your Shopify store. By analyzing the detailed data reports, you can make the improvements that help your store grow.

Categories
SEO

8 Shopify SEO Tips to Master Traffic Growth [Fast]

We’ve done that for you. Below are a handful of the best Shopify SEO tips. These are the ‘80%’ ones that few businesses can do without; the other 20% of SEO can be extremely difficult and takes considerable time to master, but the 80 percenters everyone needs – and they will improve your rank and your traffic.

Most likely, you are already following a few of them – so you can start applying to your store any that you haven’t taken seriously enough yet. They will bring better results – we’ve seen them work time and time again on our clients’ and students stores.

Shopify SEO Tips: Mastering the art of growing organic traffic

eu8hLLohNBdZkOAHHPBJVmhHpCFIwW8lUD3q70P6D7nLCCiQvrtkOAlPGRz6ZSFL5 wzJAs2048

Included in this post are all the areas that you should be focusing on with your Shopify SEO: a range of tips that help you sort out what to keep and what to throw away with what you know about SEO currently.

If you have been successfully running a store for many years, then you should know a great deal of this – but there may still be a few gems you can pick up. If you are just starting out with a Shopify store, then much of this may be applicable for you instantly.

The Shopify platform is very SEO-friendly and there are a variety of built-in SEO features that make it easy to get the basics right. Aim for best-practice SEO strategy; you may make a few mistakes along the way, but aim high and these mistakes will be absorbed by all the things you do right.

So which areas do you need to focus this SEO strategy on, in order to generate the traffic that you’re looking for?


1. Master Shopify Keyword Research

CLnbkThFGcdKAgyeeoAwMY AN3ldKoytx3u4FirsVfPPL 6E2HHGXXTIawSmVmqhbc CNQs2048

What exactly are your ideal shoppers searching for? Notice the word ‘exactly’ here – what are they typing into Google search?

Learn to be precise with this. Search your main keywords and then consider alternatives and longer tail keyword phrases and LSI keywords (terms that are related to the main ones). Then use these phrases strategically and liberally throughout the pages of your store to rank with the search engines.

This will not only bring more organic traffic- but better quality traffic to your store i.e. people who are actually interested in buying and not those who click through by mistake.

You can use SEO tips like these or these to improve your keyword-targeting skills.


2. Master Shopify On-page SEO

J0zAssgi96RTWhJh5SzxwByzNUW2Zqf2lZL3m10DvZR Ydie7uDoOYTWtjIzwAilph5GCgs2048

Once you’ve mastered keyword targeting, then it’s time to place those keywords into the copy on your store.

Basically, you need to show Google that you deserve to be in the rankings for a particular keyword phrase that shoppers are searching for, because it’s highly relevant to what’s on your site. So you need to optimize the individual content pages.

This includes not only your text, but also the video and images that you use. It’s all important content that can increase your visibility in the SERPS.

Use this excellent on-page SEO resource to help with optimizing all of your Shopify store pages – including tips on using Shopify product tags for titles and meta descriptions.


3. Master your Shopify sitemap & architecture

X5VCdmzSXHJmBoq E3r5Pd1eVfkT2efXYFajZK EMTDiLj2ibHg2tZpBps45He7d6O3yvAs2048

Site architecture is critical to Google and the other search engines AND to your users. Like with all worthwhile SEO, do not sacrifice the user experience. Make them work together as one.

Consider Google another customer who wants a clear, uncomplicated, uncluttered way of navigating your site and understanding its content. Google won’t be buying anything but they will deliver you rankings if you get the organization and structure of your site right.

If your site architecture is not optimized, your customers won’t be able to find what they need efficiently – which will impact sales and will certainly affect your traffic. It’s all connected.

This resource on site architecture tells you more.


4. Master Shopify Technical SEO Optimization

9KoQnT11gNDBP7XhcONVZjBp2eD xx52zOYo2LfmjbnfnpoHm5iu1uhdUgJRoqC8Ndh7kws2048

You are probably aware that, when indexing your site, search engine web crawlers are on the lookout for certain features.

As well as good general organisation of content in the site architecture (as mentioned above) there are other features of your Shopify store that need to be up to scratch.

Such as?

Well, page load times for one – besides the web crawlers penalising your site, you won’t create many happy customers if your site is slow. Also ensure that your site is mobile-first in terms of usability and make sure that all content is unique and not replicated across multiple pages.

These are probably not elements of SEO that you can look after yourself; get your technical or website people to attend to this though, as it will affect rankings.

Don’t forget apps can help with this process.

If you need a little more information, Quicksprout has an excellent beginners guide to technical SEO.


5. Master Link Building For Shopify

CevsoNh 1CRf8U2jkm2UfsGtWsbHRf7GG7UnN7DKwBp8wux9B8cPPHJAJTR9lvlrl6qdiAs2048

How is your Shopify store’s link profile? In the ‘eyes’ of the search engines, the more quality sites that link to you, the more authoritative you are in your niche. This is an important ranking factor, so it’s worth understanding more about it and spending a little time to master it.

If you just sit back and expect links to come to you, it probably won’t work. You’re not Louis Vuitton or Estee Lauder!

But be wary of ‘black hat’ SEO practices for generating links too, as these can get your site penalized.

Nothing beats a co-ordinated, consistent link-building strategy based on high-quality content and relationship-building. This resource on link-building for SEO will tell you more about how you can improve the link profile of your Shopify store.


6. Master Content Marketing for Shopify

nn IxB1 SpDOV KO34vbIFud7UUjHWWmsKtpfdPJQ2m9EwAtaqyONOESt69SZwcZJd T9Qs2048

A Shopify store is no different to any other website in that content ultimately matters.

Original, informative, well-written, eye-catching content that is also SEO-friendly ticks the boxes for the search engines AND your customers. So there’s really no excuse for not having an awesome content strategy, if you want to be one of the leaders in your niche.

The problem that many Shopify store owners face (as is the case with many of these Shopify SEO tips) is that it can be time-consuming.

That’s what outsourcing is for! Hire content writers, video-makers, or podcast-specialists to help you generate regular compelling content and you’ll be pleasing just about everyone – including your bank manager, most likely!

More about this from the horse’s mouth: Shopify’s feature on 5 ways ecommerce sites are killing it with content marketing.


7. Master The Art Of Shopify Video SEO

UQodkcBjIh6p7iYwwtvnDBeSyT47IPWRMO8xgTI5HnZ86NXYgCiQUsqYgfWgWReMSbioxgs2048

OK…so you don’t need to become a great video-maker. You just need to know why you need it – then hire a freelancer to look after the videos, as required.

Visual content matters. As a content form, video is one of the best for Shopify stores. Depending on your target audience, it’s likely that they are avid consumers of video – so why not present content in the form they demand it?

In SEO terms, there’s a bonus – with Google owning YouTube, it tends to place a lot of stock in video. So make sure your video is optimized with tags, keywords, etc.


8. Master The Use Of Shopify SEO Time-Saving Apps & Tools

do7lp4hFMsJMcuPn3ObcWviLndskNE1 QMSK4BEyYzjf4DcLhNNt YLHubCtPFvaLBM6Qs2048

Saving the best to last! This is where you say ‘Thank the Lord for that!’

You’ve may have been wondering ‘all this is great- but how am I going to find the time … or money to hire all the freelancers I need to handle all this SEO?’.

Well, this last tip can save you bags of time because it refers to all the wonderful Shopify SEO apps and tools you can use to get your SEO in order.

Many of them are free, or have free options or trials.  Use them to optimize SEO for your Shopify store or to identify particular problems with your SEO that need fixing: whether its images, text, title, descriptions, page-load times, mobile-friendliness or any other aspect of SEO…. these Shopify apps will set you straight.

This post summarises all the best Shopify SEO apps and tools.


Which Shopify SEO tips will you implement?

Even the most established Shopify stores can’t get all the SEO right all the time. It’s an evolving process – not a static one that you just set and forget. It’s worth remembering this or you can find your store sliding down the rankings quite rapidly.

There are probably at least a few things that you are not doing for your SEO that you should be doing. If time is a major factor and you don’t have a ready pool of freelancers to step in and help you as required, you could use the services of a Shopify SEO marketing expert to get your site ranking.

Higher rankings really do translate directly into more traffic, so, as long as you have designed a great user experience in your Shopify store, then the returns from hiring an SEO expert will far outweigh the outlay.

But the key also lies in the strength of the user experience…there’s no point generating traffic if you are not ready to convert visitors.

Bear in mind with these Shopify SEO tips, then, that they need to balance search engine optimization with user experience optimization…or all that hard work may go to waste. All the best ecommerce stores understand this balance and work towards achieving it.

Plenty of Shopify apps and tools are available for you to make life easier. So what changes are you going to implement in your store tomorrow?