Step by step guide

1

Authorize the bot

Click on the card below to authorize Google Analytics bot on your Discord server.

Authorize Google Analytics bot

Click here to authorize the bot on your Discord server.

Admin permission is required for now. As you complete the authorization flow, you should see the bot appear on your Discord server among the Members list at the right of the screen. You can search for it or click on the user-group icon.

Google Analytics bot appearing on your server

2

Go to settings

Type /settingsin the message writing input from any channel. You’ll see 2 settings command. One to set Google Analytics, the other to set your onboarding channel.

Select /settings google analytics

If you can’t find the Google Analytics bot commands, refresh your all page.

3

Add your Google Analytics

The command will prompt 2 parameters:tag-id and api-secret

get your measurement-id

If you don’t have Google Analytics already, create a new one, it’s free.

Go to your Google Analytics website to copy your measurement-id.

Paste it in the /settings google analytics command

Can’t find your measurment-id ?
Follow this step by step video to get this page

  • Go to the Administration dashboard
  • Look for the Data stream page.
  • Click on your Data stream to open the configuration page

get your api-secret

On the same Google Analytics website page where you found your measurement-id, look below for the API secrets for measurement protocole page.

Create and copy a new api-secret for the Google Analytics bot.

Paste it in the /settings google analytics command

Can’t find your api-secret ?
Follow this step by step video to create a new api-secret

  • Click to open the API secrets for measurement protocole page.
  • Click the top right button to read and accept the terms (option).
  • Click on Create.
  • Type a name for your api-secret (exemple: ‘Discord-bot’)
  • Confirm to close the drawer
  • Copy your new api-secret

send the command

Hit Enterto send the command and wait for the confirmatio message ✅

4

Set your onboarding channel

Finally, type /settings in the message writing input from any channel again.

Select the /settings onboarding channelcommand this time.

Select your server’s onboarding channel.

Hit Enterto send the command and wait for the confirmatio message ✅