Track your traffic in your Sharetribe marketplace with Google Analytics. You'll be able to browse and analyze lots of data: number of visitors, pages viewed, time spent on your marketplace, traffic sources, etc.
 
 To track traffic, you'll need to create a Google Analytics account and insert the Tracking ID in your marketplace settings. Google Analytics is free to use.

Create a Google Analytics account

  1. Go to https://www.google.com/analytics/web/.
  2. Log in with a Google account or create a new one.
  3. Go to "Admin" from the bottom left corner and select "+ Create Account".
  4. Input an account name and review the data sharing settings. Then click "Next".
  5. Name your property and review the details. Be careful! Make sure to click "Show advanced options".
  6. In the advanced options, toggle "Create a Universal Analytics property" then add your marketplace address and click "Create a Universal Analytics property only".
  7. Make sure you are creating a "Universal property only", as Go doesn't support "Google Analytics 4" yet. Then click "Next".
  8. If you want to, give some business information. Then click "Create".
  9. Accept the terms and conditions.
  10. From the top of the page, copy or note the "Tracking ID". It should look like "UA-12345-12". If the tracking ID you see is in the format "G-123456", go back to step 5.

Your Google Analytics account is now created and you have your tracking ID. Next up, configure it in your marketplace to track traffic.

Configure your Google Analytics Tracking ID in your marketplace

You'll have to copy some information about your Google Analytics account to use it within your marketplace. If you haven't created a Google Analytics account yet, please follow the instructions above.

  1. Get the "Tracking ID" of your Google Analytics account related to your marketplace (see the instructions above). It should look like "UA-12345-12". If your tracking ID is in the format "G-123456", go back to step 5 of the instructions above.
  2. Log in to your Sharetribe marketplace. You must be logged in as an administrator.
  3. Open your Admin panel.
  4. Select "Analytics / Google Analytics" from the left hand menu.
  5. Add your"Tracking ID" to the "Google Analytics tracking ID" field.
  6. Click on "Save settings".

That's it! Google Analytics is now active and set!
Traffic from your marketplace will start to appear within 24 hours in your Google Analytics account and you should already be able to view some from the Real time section in your Google Analytics account.

How to use Google Analytics

Google Analytics is easy to use but can also be quite an overwhelming tool. You can learn more about Google Analytics from the official Help and Support channels at Google, or with the how to use Google Analytics guide. Google's Digital Analytics Fundamentals is also a great resource.

How to add Google Analytics events

Right now it isn't possible to add new events as this would require access to the back-end and code, which isn't available in the hosted version. Possibly you could use your own Google Tag Manager setup for an easier management of your own events! If you do, you might want to disable Sharetribe's analytics to avoid any conflicts.

Some events are already tracked in your marketplace, as soon as you've configured Google Analytics. You can view events in your Google Analytics account, in the Behavior / Events section.

Here is a list of the events tracked by default (format: description ; event category ; event action ; event label):

  • User signs up with email: user ; signed up ; normal form
  • User signs up with Facebook Connect: user ; signed up ; facebook
  • User deletes their account: user ; deleted ; by user
  • User creates a new listing: listing ; created  ; null 
  • User comments on a listing: listing ; commented ; null
  • User posts a new message in a conversation or transaction thread: message  ; sent ; null
  • Admin exports user list to CSV file: admin  ; export  ; users 
  • User go through the paid transaction flow (preauthorize, accepts, rejects, redirect to PayPal...)
  • Admin go through some onboarding steps and activities (view list)

What to do next?

You can filter spam bots in Google Analytics and track searches in your marketplace. You can also set up you Google Tag Manager and handle some more analytics and events through there.
 

Did this answer your question?