{"id":418,"date":"2010-05-24T19:00:39","date_gmt":"2010-05-24T23:00:39","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=418"},"modified":"2014-03-01T22:36:06","modified_gmt":"2014-03-02T06:36:06","slug":"merge-tags-for-email","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/merge-tags-for-email\/","title":{"rendered":"Merge Tags For Email"},"content":{"rendered":"<p>Here are the merge-tags that you can use in outgoing autoresponder and broadcast emails sent through DAP.<\/p>\n<p><strong>%%FIRST_NAME%%<\/strong><\/p>\n<p>This will be replaced by the first-name of the user.<\/p>\n<p><strong>%%LAST_NAME%%<\/strong><\/p>\n<p>This will be replaced by the first-name of the user.<\/p>\n<p><strong>%%EMAIL_ID%%<\/strong><\/p>\n<p>This will be replaced by the email id of the user.<\/p>\n<p><strong>%%PASSWORD%%<\/strong><\/p>\n<p>This will be replaced by the password of the user.<\/p>\n<p><strong>%%SITE_NAME%%<\/strong><\/p>\n<p>This will be replaced by whatever text you have entered in &#8220;<strong>Setup &gt; Config &gt; Basic &gt; Site Name<\/strong>&#8221; in your DAP Dashboard.<\/p>\n<p><strong>%%ADMIN_NAME%%<\/strong><\/p>\n<p>This will be replaced by whatever text you have entered in &#8220;<strong>Setup &gt; Config &gt; Basic &gt; Admin Name<\/strong>&#8221; in your DAP Dashboard.<\/p>\n<p><strong>%%ADMIN_EMAIL%%<\/strong><\/p>\n<p>This will be replaced by whatever text you have entered in &#8220;<strong>Setup &gt; Config &gt; Basic &gt; Admin Email<\/strong>&#8221; in your DAP Dashboard.<\/p>\n<p><strong>%%AFF_LINK%%<\/strong><\/p>\n<p>This will be replaced by the actual affiliate link of the member (Eg., http:\/\/yoursite.com\/dap\/a\/?a=1234)<\/p>\n<p><strong>%%SITE_URL_DAP%%<\/strong><\/p>\n<p>Replaced by your actual web site url (Eg., http:\/\/yoursite.com)<\/p>\n<p><strong>%%UNSUB_LINK%%<\/strong><\/p>\n<p>This is replaced by a 1-click Unsubscribe link that you can add to the bottom of your outgoing broadcast and autoresponder emails.<\/p>\n<h3>Using <strong>Custom Fields In DAP Emails<\/strong><span style=\"text-decoration: underline;\"><strong><br \/>\n<\/strong><\/span><\/h3>\n<p>You can send custom field values in the DAP emails by using merge tags like this\u00a0 &#8211;\u00a0 <strong>%%custom_tax_id%%<\/strong><\/p>\n<p>Add \u2018custom_\u2019 in front of the custom field\u2019s database field name.<\/p>\n<p>So if you have defined a custom field called tax_id in your database, to include this field in the autoresponder\/broadcast email, just add this \u2013 %%custom_tax_id%% to the body of your email.<\/p>\n<p>That\u2019s it. When the user receives the email, dap will automatically replace the merge tag with the user\u2019s tax id value.<\/p>\n<p>So if your email message body contains the following text:<\/p>\n<p><strong>Your Tax Id: %%custom_tax_id%%<\/strong><\/p>\n<p>When the user receives the message, it will look like this (in this example, the user\u2019s taxId = 9999):<\/p>\n<p><strong>Your Tax Id: 9999<\/strong><\/p>\n<h3>Related Links:<\/h3>\n<p><a href=\"http:\/\/DigitalAccessPass.com\/doc\/custom-fields\/\">Click here for full documentation about Custom Fields<\/a><\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/merge-tags-in-wordpress-posts\/\">Click here for merge tags you can use in WordPress posts\/pages<\/a><\/p>\n<p>&nbsp;<\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 183px; width: 1px; height: 1px; overflow: hidden;\">\n<p>This will be replaced by whatever text you have entered in &#8220;<strong>Setup &gt; Config &gt; Basic &gt; Admin Email<\/strong>&#8221; in your DAP Dashboard.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here are the merge-tags that you can use in outgoing autoresponder and broadcast emails sent through DAP. %%FIRST_NAME%% This will be replaced by the first-name of the user. %%LAST_NAME%% This will be replaced by the first-name of the user. %%EMAIL_ID%% This will be replaced by the email id of the user. %%PASSWORD%% This will be [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,16,27,10,14,39,26],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/418"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=418"}],"version-history":[{"count":10,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/418\/revisions"}],"predecessor-version":[{"id":4321,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/418\/revisions\/4321"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=418"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}