{"id":3659,"date":"2013-10-20T00:07:34","date_gmt":"2013-10-20T07:07:34","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=3659"},"modified":"2014-03-29T16:32:28","modified_gmt":"2014-03-29T23:32:28","slug":"sendreach-integration","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/sendreach-integration\/","title":{"rendered":"Sendreach Integration"},"content":{"rendered":"<h2>DAP fully integrates with <a href=\"http:\/\/sendreach.com\/\">SendReach <\/a>email platform.<\/h2>\n<p>You can integrate DAP and SendReach in 2 different ways.<\/p>\n<h3><strong>1) SendReach opt-in form =&gt; DAP FREE product<\/strong><\/h3>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2013\/10\/Sendreach_redirect_setting.png\"><img loading=\"lazy\" class=\"alignleft  wp-image-4531\" alt=\"Sendreach_redirect_setting\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2013\/10\/Sendreach_redirect_setting.png\" width=\"484\" height=\"233\" \/><\/a><\/p>\n<p>You can set the redirect URL in SendReach list settings to :<\/p>\n<p>http:\/\/www.yourwebsite.com\/dap\/signup_submit.php?productId=1&#038;redirect=\/thankyou<\/p>\n<p>NOTE:<br \/>\ni) Set the <strong>productId<\/strong> in the URL above to the product ID of the DAP product you want to integrate the SR form with.<\/p>\n<p>ii) Set the <strong>redirect<\/strong> tag to the URL of the page you want the users to be redirected to upon signup.<br \/>\nFor e.g. If you want the users to land on thankyou page (http:\/\/YOURSITE.com\/thankyou) after signup, then you can just set the redirect tag to \/thankyou.<\/p>\n<p>iii) If you want the users to be<strong> auto-logged-in<\/strong> to DAP upon signup, then make the DAP product a single-opt-in product (and not a double-optin product).<\/p>\n<p>This way after the users sign-up via SR opt-in form, DAP will automatically create a membership account, give user access to the content under the free product, and also auto-login users to their membership.<\/p>\n<h3><strong>2) DAP Product (FREE or PAID) =&gt; SendReach List<br \/>\n<\/strong><\/h3>\n<p>You can integrate both DAP free and paid products with your SR list using these steps.<\/p>\n<p><strong>i) Login to SendReach to get API info.<\/strong><\/p>\n<p>Create an APP called &#8220;DAP&#8221; under Sendreach Account Settings \/ My App<\/p>\n<p>Then get the API Key and Secret for the DAP App in SendReach.<\/p>\n<p>Get the List Id(s) for the list(s) you want to integrate with DAP.<\/p>\n<p><strong>ii) Login to DAP admin panel to integrate DAP and Sendreach<\/strong><\/p>\n<p>Select the DAP product that you want to integrate with SendReach.<\/p>\n<p>Click on Notifications tab.<\/p>\n<p>Say your App Id=1421, Secret Key=DSXI, UserId=10 and ListId=188275<\/p>\n<p>The format for entering in DAP is:<\/p>\n<p><strong>sendreach:app-id:secretkey:userid:listid<\/strong><\/p>\n<p>So add the following line of text to the &#8220;DAP Product &gt; Notifications tab &gt; Plugin Notification upon User Add&#8221; field.<\/p>\n<p><strong>sendreach:1421:DSXI:10:188275<\/strong><\/p>\n<p>Now when a user gets added to DAP (via free dap signup or via payment), if the product is integrated with SendReach, then DAP will automatically add the user to the right SendReach list.<\/p>\n<p>That&#8217;s it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DAP fully integrates with SendReach email platform. You can integrate DAP and SendReach in 2 different ways. 1) SendReach opt-in form =&gt; DAP FREE product You can set the redirect URL in SendReach list settings to : http:\/\/www.yourwebsite.com\/dap\/signup_submit.php?productId=1&#038;redirect=\/thankyou NOTE: i) Set the productId in the URL above to the product ID of the DAP product [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/3659"}],"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=3659"}],"version-history":[{"count":17,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/3659\/revisions"}],"predecessor-version":[{"id":4535,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/3659\/revisions\/4535"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=3659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=3659"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=3659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}