NATS4 Affiliate Signup Email

From TMM Wiki
Jump to navigationJump to search
NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
Skins and Templates Admin
The Skins and Templates Admin
Skins
Templates
Site Templates
Language Skins
Language Files
custom_errors.php
Join Page Variables
Skipping NATS Join Form
Post URL Variables
Member Usernames & Passwords
Form Validation
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Random Usernames and Passwords
Smarty
Smarty print array
Smarty Plugins
Available Smarty Functions
Affiliate Support Template
Adding a Verification Image
Custom Program and Campaign Selection Pages
Output An Affiliate's Last Paid Date
Affiliate Signup Email
Affiliate Join Page Linkcodes
Approval/Upgrade/Denial Variables
Approval/Upgrade/Denial Template Variables
CSS Theme Builder
NATS Configuration Admin
The Configuration Admin
Log Admin Activity
IP Address Filtering
MEMBER_EXPIRE_PAD
SKIP COUNTRIES
Fraud Configuration
Email Configuration
Affiliate Signup Email
Affiliate Postback
Affiliate Postback NEW
Affiliate Analytics
Throttling
NATS4 Terms of Service feature
GeoIP2

NATS provides the option to send an email to affiliates when they sign up for your program. To set this up, go to the Configuration Admin and select "Emails" from the Current Section drop-down menu. On the Emails Configuration page, you will have to fill in the following fields:

  • EMAIL_FROM_OWNER - This sets the default "From:" address for emails sent by the program owner.

Default From Address for E-mails Sent by the Owner

  • EMAIL_AFFILIATE_SIGNUP - This sets the subject of the email sent to the affiliate when they signup for your program.

Default Subject for E-mails Sent to Affiliates

You can change what message is sent to affiliates upon signup by editing the mail_affiliate_on_signup template. This template is accessible by going to the Skins & Templates Admin and clicking the "Special Templates" tab at the top of the page.

Geo-Targeting Signup Emails

It is possible to limit which emails are sent to which affiliates by geographical (country) location. This can be done by Geo-Targeting the mail_affiliate_on_signup template.

To do this, put an if statement around the affiliate activation link found in the default template. For example, you can use the following code if you only want to send signup emails to U.S. affiliates:

{if $affiliate.country == 'US'}
<a href="http://linkdomain/signup_verify.php?lid={$loginid}&verify={$verify}">Activate</a>
{/if}

Simply replace the variable "linkdomain" with your linkdomain.

Test Emails

If you send a test email to yourself, it is likely that some parts of it may be missing or may not display properly. This is because a test email will not have all of the necessary Smarty affiliate variables have been assigned.

For example, you will not have a Trial Setting, Site ID, Site Name, Site URL, or any Rebills defined in the test email. However, these fields will be defined when you send out real affiliate emails, and will be properly displayed then.