Webhook

The plugin can send a webhook to Discord when your WP Discord Invite Link is clicked.

The webhook will contain the WP Discord Invite Link its equivalent Discord Invite Link the total number of clicks to the link.

You have two ways to configure webhook for the plugin:

  1. Login with Discord Automatically

  2. Create Webhook manually

Login with Discord Automatically

  1. Go to wp-admin -> WP Discord Invite -> Click Count

  2. Click on Login with Discord Button

  3. This will open Discord

  4. Select the server in which you want the alerts to be sent

  5. Select the channel and authorize it

  6. This will automatically create a Webhook URL and save it to the plugin.

  7. Now the plugin will send a message when someone clicks the WP Discord Invite Link.

Create Webhook Manually

  1. You need to create a webhook in Discord for the channel to which you want the webhook to be sent.

Creating webhook URL in Discord:
1. Open your Server Settings and head into the Integrations tab:
2. Click the "Create Webhook" button to create a new webhook!
3. No need to edit the avatar and name as those will be overridden by the plugin. 
4. Select the channel in which you want the plugin to post the messages.
5. Click the `Copy Webhook URL` button.

2. With the webhook URL copied go to wp-admin → WP Discord Invite → Click Count

3. In the webhook section click the check box next to Enable Webhook to enable the webhook paste the Discord Webhook URL copied in the previous step in the text box next to the text saying Discord Webhook URL

4. Click Save Changes . Now the plugin will send a message when someone clicks the WP Discord Invite Link.

Last updated