If you want to add multiple tracking codes or track traffic using more advanced Google Analytics features, using a Tag Manager solution such as Google Tag Manager (GTM) is a good 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.

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.

First, let's get your Sharetribe marketplace ready:

  • Log in to your marketplace and go to your Admin panel

  • Go to the "Analytics" section

  • Uncheck the "Allow Sharetribe to track members activity to improve Sharetribe's services" box

  • Save

Because Sharetribe uses Google Tag Manager for its own Analytics, it has to be disabled to avoid conflicts. On the contrary, this won't impact your tracking. You can learn more here.

Now let's get your GTM tracking code:

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.

Did this answer your question?