SendGrid Account Settings

The deltaDNA platform can be used to deliver emails through SendGrid as part of a campaign. Before full integration can be achieved there are a number of steps that you must first complete including: creating a new credential/teammate; adjusting mail and subscription settings; and integrating with the deltaDNA platform.

Account Configuration

After logging into your SendGrid account, navigate to Settings > Teammates and press Add Teammate. The teammate can be added with admin, developer or custom access. The easiest option is to invite as an admin, however, if you require more granularity you can invite with custom access – just be sure to provide them with access to API Keys, Email Activity, Mail, Mail Settings and Tracking.

After setting up the profile for the new teammate you should be presented with two accounts: the main administrator account and the account that will be used to interact with the deltaDNA platform.

Avoid using passwords that contain a colon, “:”, as this will not work with SendGrid’s authentication methods

The next step is to enable and configure Event Notifications – this will allow SendGrid to post back to deltaDNA, in turn generating sendgridEmail events in the platform. Navigate to Settings > Mail Settings and click the Event Notification section. Enter ‘http://sendgrid.deltadna.net’ as the HTTP POST URL, ensure that all the actions are checked and then switch the toggle on the left side to activate the changes.

Enabling Event Notifications

After enabling Event Notifications, the next step is to enable Subscription Tracking, allowing your users to unsubscribe from your email campaigns. Navigate to Settings > Tracking and click the Subscription Tracking section. Follow the instructions to configure your unsubscribe content, ensuring you include a <% %> tag to place the unsubscribe link. After configuring, switch the toggle on the left hand side to activate Subscription Tracking.

Enabling Subscription Tracking

Email Management

deltaDNA do not provide any email address or management features and it is the responsibility of the publisher/developer to ensure any email collection and usage complies with the terms of any stores the game is available on and the privacy and COPA legislation of any territories the game is available in. The email parameter will already exist on the game’s newPlayer event but it can be added to any other event using the Event Manager tool. This will allow the developer to send or update the email address from the game client or from a server using a GHOST event.

The publisher/developer will also be responsible for ensuring that any email addresses used in campaigns are verified.

Most email platforms will block or suspend accounts sending emails if the bounce rate exceeds acceptable levels. There are a number of services you can use to verify your email addresses and clean your email lists. A few of these services are listed below:

Further Steps

SendGrid will auto suspend your account if your bounce rate is too high, they recommend keeping it below 2% to be safe