If you want to add multiple tracking codes or track traffic using more advanced Google Analytics features, a Tag Manager solution such as Google Tag Manager (GTM) is an excellent way to move forward.
The Sharetribe Team doesn't provide GTM support, and Go doesn't officially support it, so you may have to fix a few things along the way. For example, the default "events" sent to Google Analytics won't be recorded correctly, and you'll have to redo them yourself in your own GTM account. If you prefer to keep things simple, relying on Google Analytics is a good first step.
Note that Sharetribe uses Google Tag Manager for its own Analytics: this may create conflicts when setting up your own containers. However, this only applies to logged-in admin accounts, so this won't impact tracking your members and visitors.
How to add the GTM tracking code to your Sharetribe website
You need to have a Google Tag Manager account working with a GTM Container already defined.
Let's get your GTM tracking code:
Log in to your GTM account at https://tagmanager.google.com/
Select your Container
Click "Admin" from the top bar
Click "Install Google Tag Manager"
You should see the tracking codes to add to your marketplace.
Next, let's add them to your Sharetribe marketplace
Log in to your Sharetribe Admin panel
Go to the "Advanced / Custom script" section
From the "Install Google Tag Manager" page, copy the <head> tracking code and paste it in the "Custom head code" field
From the "Install Google Tag Manager" page, copy the <body> tracking code and paste it in the "Custom body code" field
Save
That's it! All good!
Disable the default Google Analytics integration
If you decide to link your Google Analytics account to your Google Tag Manager account and track it from there, don't forget to remove the Google Analytics ID from the Analytics section of your Sharetribe Admin panel, to avoid double tracking.