• Skip to primary navigation
  • Skip to main content

devQuickie

Tech Stuff for Digital Marketers

  • Home
  • Contact
  • Show Search
Hide Search

Email Login Details and Auto Member Registration in ClickFunnels

December 1, 2017 By Sahan H Leave a Comment

I stumbled upon this question on facebook group and thought of writing a script to tackle the issue. There are 2 problems with CF’s membership system in terms of member access.

1. Customers end up using 2 different emails to place the order and for member sign up.
2. No email is sent to the customer with login details to the members area.

To tackle the first issue quickly I came up with a nifty trick to pre-fill membership sign up page with order email and make it read only so the customer can’t edit it. You can find more about it from here.

To actually send an email to the user, we need to write up a server side script (where we need to host somewhere like Hostgator). We will host this script and get a URL and connect it with ClickFunnel webhook system. Upon each purchase ClickFunnels going to send the information to us. The script will simulate the actual customer sign up using the membership sign up page and finally fire an email to the customer.

The web hosting provider should have PHP 5.6 or above.

Checkout below video where I explain the entire installation process.

Download the PHP Script From Here

Once you download the zip file, extract it. Open up config.php

$member_access_url

Within the double quotes, you need to put in the members sign up url. To get this go to your Membership Area Page and Get Secret URL

Visit the Secret URL from a Chrome Incognito Window, and get the redirecting url

Get the final redirected url which looks like something like below

https://demo.devquickie.com/test2?page_id=16983243&page_key=c836p20dzhy8tige&page_hash=ea046e2c0fc&login_redirect=1

Final URL would look like below,

$member_access_url = "https://demo.devquickie.com/test2?page_id=16983243&page_key=c836p20dzhy8tige&page_hash=ea046e2c0fc&login_redirect=1"

$accessible_products

This config parameter looks like below,

$accessible_products = ["1132163"];

The script make sure that it’s only creating membership access to certain products, and you have to specify these products through it’s ids. To get product ids, go to products section of your order pages or OTO pages.

Final config parameter should look like below.

$accessible_products = ["1132163"];

you can add multiple products

$accessible_products = ["1132163", "1232323"];

just add a comma after the first product id, and within quotes put the other product id.

Email configuration

Next batch is for email configuration. You can use the same details that you used to configure SMTP in ClickFunnels.

$email_from_name = "Sahan H";

$email_from_email = "sahan@devquickie.com";

$email_subject = "Membership access to DevQuickie";

$email_smtp_host = "smtp.mailgun.org";

$email_smtp_port = 25;

$email_smtp_username = "cyrup@cyruplabs.com";

$email_smtp_password = "cyrupqaz";

 

Message

Email message portion looks like below, skip line that ends with <<<EOD and EOD; (first and last lines) you can edit the text within. The merge fields {name} {email} and {password} will merge in the correct values when sending the email.

$message = <<<EOD
Hello {name},

Please find your login details below

Link - http://demo.devquickie.com/test2neut1v31
Username - {email}
Password - {password}

EOD;

I hope the script is useful. Hit me up on comments if you run into any issues.

Cover photo images uses designs from Freepick</a

Also Recommended

Update ClickFunnels & Actionetics Contacts through Other Systems

Filed Under: ClickFunnels

Recommended

  • How to Setup Tracking Code
      Setting it up funnel wide If you require the […]
  • Retarget based on youtube embed video activity
    Visitors who end up watching your videos are more likely to buy. If you're embedding youtube videos on landing pages, funnel pages and drive traffic through facebook, it's important to track the viewing activity and target them separately to yield maximum out of ad spend. This guide helps you to implement facebook pixel tracking based on visitor activity on your embedded youtube videos. […]
  • Email Marketing Software Used by 6 Top Internet Marketers & Influencers
    How I found these? I subscribed to each of them and […]
  • ClickFunnels API Documentation
    At the time of writing this, I could not find any […]
  • ClickFunnels Evergreen Sales Copy with Dynamic Dates
    This script allows you to use dynamic dates inside […]

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Copyright © 2021

Contact us