Skip to main content

Connect Google Analytics

Google Analytics is a free Google service that shows how many people visit your store, how they found it (for example, from Google search or another website) and what they do there. To connect it, you create a Google Analytics account and paste its tracking code into your store's header.

Before you start

  • You need a Google account.

Get your tracking code

  1. Go to Google Analytics and sign in with your Google account.
  2. Create an account for your store. Google asks for details such as your account name, website name, website address (YOUR-STORE.com), industry, country and time zone.
  3. Choose your data sharing settings and accept the Google Analytics terms.
  4. Copy the tracking code (a short piece of HTML) that Google gives you.

Google's screens change often. If they look different, follow Google's own guide: Set up Analytics for a website.

Add the tracking code to your store

  1. Go to Store Manager → Setup → Pages.
  2. Click header in the Name column. This is a CODE page whose code is added to every page of your store.
  3. If the header already has an older Google Analytics code, remove it.
  4. Paste the new tracking code into the header.
  5. Click Save.

Header page in Store Manager with the Google Analytics code pasted in

Only remove the old Google Analytics code. Other code in the header, such as a live chat widget, must stay.

What happens next

Google Analytics starts collecting data about visits to your store. You see the reports in your Google Analytics account.

Need more help? Email support@shopnix.io or call +91 8880788813.