______________________________________________________________________________________________________________________________

CAPTCHA

Hi Brandon,

One thing I forgot to mention is that everytime you create a landing page with the new system, 
in order to have the recaptcha work for the site is to add the domain in the white list of the 
recaptcha key.  This is done by logging in to the recaptcha admin and add the domain in the 
“Domains” list.   Login for the recaptcha admin is 

appearancemarketing.dev1@gmail.com / Appearancemarketing1234.

Let me know if you have any questions.

Thanks,
vivi





CHOWN
user:group  file
sudo chown centos:centos landingpage2.php




LIVE
https://orders.appearancemarketing.com
http://landingpages.appearancemarketing.com/?site=s3zxbzgFsDaXCD9


DEV
http://am-sites-new.egroup-dev.com/?site=xx
http://am-sites-new.egroup-dev.com/am-sites2/?site=xx

http://orders-appearance-marketing.egroup-dev.com/
http://appearance-sites.egroup-dev.com/?site=x1ecu21sbAkYSUT


http://appearance-sites.egroup-dev.com/?site=x1ecu21sbAkYSUT


Dashboard: http://orders-appearance-marketing.egroup-dev.com/
AM Sites: http://appearance-sites.egroup-dev.com/?site=x1ecu21sbAkYSUT




3256

appearancemarketing.dev1@gmail.com





_________________________________________________________________________________________________________________
TAPCLICKS

https://appearance.tapclicks.com/client/analytics/dist/#/login
https://appearance.tapclicks.com
username: jreyes@egmail.com
password: tapCLICKS54
 







_________________________________________________________________________________________________________________
DEVELOPEMENT



Dashboard: http://orders-appearance-marketing.egroup-dev.com/
AM Sites: http://appearance-sites.egroup-dev.com/?site=x1ecu21sbAkYSUT



Prod: https://orders.appearancemarketing.com
Logins:
Marketing team : sales/sales01
CS team: coolsculpt/coolsculpt01

 
/home/sites/am-dashboard:
Requests: https://airtable.com/tblqtZDy6QvFNOth3/viwhxc2F2ScdZ38qk
Login ???



Campaign performance, Google AdWords
username: foreverslender
password: qMIweSmsRUchyBd
am-dashboard



envisiongroup.cluster-cg165tr1c5oy.us-west-1.rds.amazonaws.com
"9Ldd2v3Kla6OUfKH"



_________________________________________________________________________________________________________________
LANDING PAGES
Dev: /home/sites/appearance-sites
Prod: /home/sites/am-sites

 


NEW CLIENTS
https://orders.appearancemarketing.com
username:sales
password:sales01



ASSETS
http://csnextcloud.egroup-dev.com
https://nextcloud.egroup-dev.com
u: csuser
p: TEST4simone



DEVELOPMENT SITES
am-sites
appearance-sites

Development for client landing pages, by site=client directory
http://appearance-sites.egroup-dev.com/?site=x1ecu21sbAkYSUT






_________________________________________________________________________________________________________________
SERVERS

49		LIVE 						    Live landing pages 
149 	AM Dev 						  Development

189		Wordpress						Development
47		Wordpress						Live landing pages


login 		centos
password	Welcome310


DATABASES
http://yarddog.egroup-dev.com/phpmyadmin

DEV
username: root
password: amazingladdercollab
db instance: localhost

LIVE
username: envisiongroup
password: amazingladdercollab
db instance: envisiongroup.cluster


orders: am-orders
landing pages: am-sites
dashboard: am-dashboard
/home/sites/orders-appearance-marketing





______________________________________________________________________________________________________________________________
TAPCLICKS




SELECT * FROM `tapclicks_campaign_log` group by tapclicks_client_id ORDER BY `tapclicks_campaign_log`.`tapclicks_client_id` ASC 
http://dashboard-staging.appearancemarketing.com




______________________________________________________________________________________________________________________________
ADWORDS
adwords.google.com
username: your email
select client name > campaign name >
https://ads.google.com/aw/overview?campaignId=1433803390&ocid=273406459&__c=9605436596&authuser=0&__u=7785974068






______________________________________________________________________________________________________________________________
APACHE | UNIX


NO SLASHES


Apache configuration for landing page site 

1. Edit apache config on production server
    - $ sudo vi /etc/htttpd/conf.d/virtual.conf
    - add these:
      <VirtualHost *:80>
              ServerName <landing page url>
              DocumentRoot /home/sites/am-sites
              DirectoryIndex  index.php index.html
              ErrorLog logs/am-sites-error_log
              CustomLog logs/am-sites-access_log common
      </VirtualHost>
    - exit edit :wq


**** ALWAYS BEFORE RESTART ****
sudo httpd -t


2. Restart apache
    $ sudo service httpd restart
3. Check if the landing page url is pointing to our production server
    - $ ping <landing page url>
    - you should see this message
        PING coolsculpting.alohakino.com (50.18.211.150) 56(84) bytes of data.

4. set up ssl certificate
    - $ sudo certbot --apache
    - put the number of the site 


REDIRECTS
Add 
Take out re-direct in virtual.conf and virtual-le-ssl.conf







_________________________________________________________________________________________________________________
UNIX

grep -r 'string' *        Search string from current directory
find * -name 'wordpress.txt'  Search for file name

stat -c %y filename       File created date
ls -1             List files vertically
ls -r               List in reverse order

mysql -root -p


VI
i     edit mode
esc   enter command mode
:w    write file
:q    quit VI
      search






_________________________________________________________________________________________________________________
WORDPRESS

Boyd 
boyd-det.coolsculp-uat.com 			Development
boyddetroit.com 					LIVE
home/sites/boyd-det

u: bpiper							p: Welcome310
u: iharriot							p: ian01


Transformations		
transform-med.com 					LIVE
transformations.egroup-dev.com 		Development
u: transadmin
p: Transmed20!8




290402108







_____________________________________________________________________________________




Live development server



_____________________________________________________________________________________



CUSTOM CONTENT

<div id="content5" class="block split-block slow" data-edit="false" data-av-animation="slideInRight">

 	<div class="sblock sblock-left text-center"><img src="/sites/z64Liu2Q5zgEHMe/img_woman.jpg" style="width:100%; max-width:445px"/></div>

 	<div class="sblock sblock-right padx-50 align-center auto-invert">

 		<div id="left-container">
 	 		<h2 class="font-reg-mb fg-text-blue lts-sm line-g">How does miraDry stop underarm sweat?</h2>
 	 		<p class="fg-text">The miraDry process is straightforward. Treatment targets sweat and odor 
                glands at a depth of 2mm to 5mm below the skin's surface. When these glands absorb efficient 
                miraWave<sup>TM</sup> energy, they heat up in a controlled manner. This incites thermolysis, 
                or deterioration by heat. Both sweat and odor glands respond similarly to the gentle energy 
                delivered during treatment, facilitating immediate and lasting improvement. Underarm sweat 
                ends for good because the glands that decompose by thermolysis do not return and no new 
                glands grow back to replace them.</p>	
 		</div>

 	<div class="full-div"></div></div>  
</div>


<!-- custom_content4_fullblock -->
<div id="content6">
	<div id="content6-header">
		<h2 class="font-reg-mb lts-sm line-g">miraDry Patient Testimonials*</h2>
	</div>
	<iframe src="https://www.youtube.com/embed/FRxc0RA6y3E" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
	<iframe src="https://www.youtube.com/embed/LXVisx0dmXI" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> <p>*Results and patient experience may vary</p>
</div>


<!-- content1_left -->
<div id="content1-left" class="sblock sblock-left text-center pady-50 padx-30">
	<div id="left-container">
		<h2 class="font-reg-mb fg-text-blue lts-sm line-g">What is miraDry</h2>
		<ul>
			<li><span>miraDry is a revolutionary, non-surgical treatment, that is FDA-cleared to permanently reduce underarm sweat, odor and hair.</span></li>
			<li><span>It is currently in use in over 50 countries around the world. This revolutionary treatment safely and effectively targets the glands that produce underarm sweat.</span></li>
			<li><span>No toxins. No injections. Lasting Results</span></li>
		</ul>
		<h2 class="font-reg-mb fg-text-blue lts-sm line-g">Results after miraDry treatment</h2>
		<ul>
			<li><span>Sweat and odor glands are destroyed and do not regenerate.</span></li>
			<li><span>82%* reduction in underarm sweat <br/> (citation: Hong et al. Dermatol Surg. 2012)</span></li>
		</ul>*Percentage results may vary.
	</div>
	<div class="full-div"></div>
</div>






<VirtualHost *:80>
        ServerName neemmedicalspa.freeze-the-fat-away.com
        DocumentRoot /home/sites/am-sites
        DirectoryIndex index.php index.html
        ErrorLog logs/am-sites-error_log
        CustomLog logs/am-sites-access_log common
RewriteEngine on
RewriteCond %{SERVER_NAME} =neemmedicalspa.freeze-the-fat-away.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

<VirtualHost *:80>
        ServerName rnestheticsandlaser.freeze-the-fat-away.com
        DocumentRoot /home/sites/am-sites
        DirectoryIndex index.php index.html
        ErrorLog logs/am-sites-error_log
        CustomLog logs/am-sites-access_log common
RewriteEngine on
RewriteCond %{SERVER_NAME} =rnestheticsandlaser.freeze-the-fat-away.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

</VirtualHost>
<VirtualHost *:80>
        ServerName rnestheticsandlaser.freeze-the-fat-away.com
        Redirect 301 / https://coolsculpting.rnestheticsandlaser.com
RewriteEngine on
RewriteCond %{SERVER_NAME} =rnestheticsandlaser.freeze-the-fat-away.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

<VirtualHost *:80>
        ServerName drchowrejuvenation.freeze-the-fat-away.com
        DocumentRoot /home/sites/am-sites
        DirectoryIndex index.php index.html
        ErrorLog logs/am-sites-error_log
        CustomLog logs/am-sites-access_log common
RewriteEngine on
RewriteCond %{SERVER_NAME} =drchowrejuvenation.freeze-the-fat-away.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]




____________________________________________________________________________________________________-


REDIRECT

</VirtualHost>
<VirtualHost *:80>
        ServerName rnestheticsandlaser.freeze-the-fat-away.com
        Redirect 301 / https://coolsculpting.rnestheticsandlaser.com
RewriteEngine on
RewriteCond %{SERVER_NAME} =rnestheticsandlaser.freeze-the-fat-away.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>









_________________________________________________________________________________________________________________
DASHBOARD


TAPCLICKS
/home/am-dashboard/tapclicks

Run script retrieving JSON object from tapclicks API and update MYSQL database for display 
on internal am-dashboard chart

tapclick_campaign_data
tapclick_campaign-log
import_tapclicks.php



UPDATE TAPCLICKS
php import_tapclicks.php > log_10052018



GOOGLE ANALYTICS



DASHBOARD
Set up account for google AdWords
New dashboard account is registration to for tracking clicks with tapclicks



HUBSPOT
Campaign tracking for marketing team to coordinate marketing campaign

OurId/ ... /CompanyID

codesculpt




_________________________________________________________________________________________________________________
RESPONSIBILITIES

Dashboard, landing pages, new campaigns, PHP scripts


UPDATES

1	Client sends requests for content changes to graphics/design team.
2	Graphics and design team forwards requests to you.
3	DEV changes first, ask for approval from design
4	Live upload after approved
5	Ask if live changes ok

Upload new images and content by FTP FileZilla
Update HTML in PHPMyAdmin column
Copy/paste CSS styles site.css

Naming conventions much match assets
id, name, city, 




NEW CAMPAIGNS
orders-appearance-marketing

Marketing inputs new campaign

"New Campaign" internal site for when client request new landing page.
Need to change Apache config file when creating new landing page.

Make sure contact email correct for new campaign.





DAILY REPORT Ian, Michelle, Ryan, Christina
- Landing pages completed, what was not completed


- Ian works 430-7PM Contractor, working on separate project
  Ask some questions but mainly Vivi, and Jose
- Send Debbie in HR local address
- Ryan has developer background







________________________________________________________________________________________________________________________________________________________________
CLIPBOARD



Private Key


PuTTY-User-Key-File-2: ssh-rsa
Encryption: aes256-cbc
Comment: rsa-key-20181004
Public-Lines: 6
AAAAB3NzaC1yc2EAAAABJQAAAQEA2RE7j5LM/Pu6Y+qzwANu2hzr1tCfgKG4gRwo
ZejoiZdvhnA0f7TZujhHiem7u6IJqyzoIXsaj01iS37wWKNB1WqcJ+OZ15hBpSpV
iiOgN3n2GmE8Um1Hw6KwNMDtS+OMbw1+K8p7QAdRvCJQjmn0qyQNwwXgQRD6umxt
0lI5IDzk1cRJxXsOSuowFcppRPmytVWbAYBWyk2U4XPTQIBCYPxN2w0RBD6y2lqD
hjbr9wKmugYIfmVYILV3838wYD72eWSorqjkvubQw+UfhvEsOtejH2jFpm8JyNwm
MUTJDKrCW+4MpgVK6e/Bs9vd3p1pquTIPruI9XOc0ygCd4htYw==
Private-Lines: 14
ho2fDSQX9BYIkXSPbwiceJ+BSNKFRhr828EjAbAxndyXc0kp+H4wmbOztw3X5XZS
FUzTFzDNvn8jfSLj60M5AVVwj67/bOzvpzcz9h21X2YkikLPBesHRWgjBXdoPZ25
wqv4fhYFgcE3PKR6Jl9HGAY+X7JLcZBQc2dJPuBhV9+1LZzBZRIJ42sNRQuvH3Ja
ZsMggAtnDeO5supcdlS6xNkGAmvWbvgEQX2cKY+VMYB7UzQ+fznYoB+MsavC9Dwx
MnPkyYoxh/NrQDoyhQKXc/8oP8vlTj08m/WLh7/Mb9NAHzJ5+LreFxT/YQv9vLE5
Q+2GTcNRd6ncQSk1gFEb70F4o/AXJUDOmzGaQF1BU97pZZaalkcI7cw1myaxRkma
CxZxB13/pOBWPEnbdPUEpfgtGM0UgiUQ0oaz+vNNRnypKujQETpxSTDyzpj0aO36
427ZW6SENt5jLLxPuzoSVEPjfCZPsJvZ5hyD4vWBjGfmBPOVOAbDjll2Weul6GjV
0bG661QnvCdLjs39z7HzV36PVpzwO1cd1A60RfPqQJV4E4JWHi6afawWD/FCY4AV
gxn5zPdbILfknA87YtGmpHykpHm8I5j/Nveujw2dGKgU53JPFnb0iEpEqN6wjlEQ
b0ySq/AaEznyQHzTx1L20W8PMsHI/WVpEby7GHe+V6JvHvPlA5ORp0KVrydpg8g7
Xa/OydkKmQ7RK5LWE4moQG0RhDZLEE8PcX69O7bLVDGAjP5wJQ2dbxrgvbfzebli
gl11M9TxpRYXJOYxrPHgGWW9qIGo562YvLMDncNJK/V7FZ0HXAqGyM2zxNNm+9Pr
jPgPijpEon0M2f1MIA3ONMDQVKldQmQVlAODfKm0lVJRNZayDrIGXa7xkS2Mn9q7
Private-MAC: f9231e25605838967b6b6dac2399d81afd091866

---- BEGIN SSH2 PUBLIC KEY ----
Comment: "rsa-key-20181004"
AAAAB3NzaC1yc2EAAAABJQAAAQEA2RE7j5LM/Pu6Y+qzwANu2hzr1tCfgKG4gRwo
ZejoiZdvhnA0f7TZujhHiem7u6IJqyzoIXsaj01iS37wWKNB1WqcJ+OZ15hBpSpV
iiOgN3n2GmE8Um1Hw6KwNMDtS+OMbw1+K8p7QAdRvCJQjmn0qyQNwwXgQRD6umxt
0lI5IDzk1cRJxXsOSuowFcppRPmytVWbAYBWyk2U4XPTQIBCYPxN2w0RBD6y2lqD
hjbr9wKmugYIfmVYILV3838wYD72eWSorqjkvubQw+UfhvEsOtejH2jFpm8JyNwm
MUTJDKrCW+4MpgVK6e/Bs9vd3p1pquTIPruI9XOc0ygCd4htYw==
---- END SSH2 PUBLIC KEY ----










<a href="https://privacypolicies.com/privacy/view/0db7001f3c97ebb3703b8167e7dda704">
	Read our privacy policy</a>

<video width="320" height="240" controls>
  <source src="https://wdiv.screenlight.tv/shares/MAkMaWiyRCeT4ABFpkTrNKG6AjbFakMG" type="video/mp4">
</video> 

<video width="320" height="240" controls>
  <source src="https://wdiv.screenlight.tv/shares/MAkMaWiyRCeT4ABFpkTrNKG6AjbFakMG?_=1539100572957" type="video/mp4">
</video>

See Dr. Boyd join Tati Amare on ‘LIVE in the D’ to discuss breakthrough skincare in Detroit
<iframe width="560" height="315" src="https://wdiv.screenlight.tv/shares/MAkMaWiyRCeT4ABFpkTrNKG6AjbFakMG" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

BOYD DETROIT

Solution was uploading image to Wordpress backend and linking from entering raw video tag into first section of page.

DEV
[vc_row css=".vc_custom_1537312502550{padding-bottom: 40px !important;}"][vc_column width="1/4"][vc_single_image image="4323" img_size="full" alignment="center" style="vc_box_outline_circle" border_color="violet"][/vc_column][vc_column width="3/4"][vc_column_text]
<h2 style="font-size: 24px; line-height: 1.4; margin: 0 0 20px; padding: 0;">Theresa Piotrowski, MD - Medical Weight Loss Expert</h2>
Theresa Piotrowski, MD has more than 25 years treating weight-related issues in patients. Dr. Piotrowski, MD graduated from Georgetown University School of Medicine in Washington, DC. She completed her Residency in Family Medicine at Camp Pendleton Naval Hospital in Oceanside, CA and served on active duty as a Navy Physician for six years.

Dr. Piotrowski has successfully launched three medical weight loss centers in hospitals across the country and has been interviewed by ABC, quoted in several publications, and has presented in several national meetings. She has dedicated her career to the treatment of obesity and has followed patients from every corner of the world.

Theresa Piotrowski, MD is Board Certified in both Bariatric Medicine and Family Practice and is a Member of The American Society of Bariatric Physicians, The American Society of Metabolic and Bariatric Surgeons, The Obesity Society, and the Obesity Action Coalition.[/vc_column_text][/vc_column][/vc_row][vc_row css=".vc_custom_1537312510071{padding-bottom: 80px !important;}"][vc_column width="1/4"][vc_single_image image="4324" img_size="full" alignment="center" style="vc_box_outline_circle" border_color="violet"][/vc_column][vc_column width="3/4"][vc_column_text]
<h2 style="font-size: 24px; line-height: 1.4; margin: 0 0 20px; padding: 0;">Tiffany Rhodes MSN, ARPN, FNP-C​​ - Aesthetics Expert</h2>
Tiffany has been in medicine since 2006 working as a nurse. In 2014 she graduated with her Master’s degree in Family medicine, and became recognized as a nurse practitioner through board certification by the American Association of Nurse Practitioners. She currently practices internal medicine, family medicine, and aesthetics. Helping build confidence and promoting wellness has brought her great joy to her career. She is certified in neurotoxin injection and fillers and hopes to continue to help others achieve their beauty goals. She resides in New Hampshire with her husband and two children.[/vc_column_text][/vc_column][/vc_row][vc_row css=".vc_custom_1536775430160{margin-bottom: 0px !important;}"][vc_column css=".vc_custom_1536774412952{margin-bottom: 0px !important;}"][ct_fullwidth background_style="cover" container="1" background_image="4467" padding_top="100" padding_bottom="100"][vc_column_text css_animation="fadeInDown"]
<h2 style="text-align: center;"><span style="color: #ffffff;">Book Your CoolSculpting
Consultation Today</span></h2>
[/vc_column_text][ct_divider style="2" color="#ffffff" margin_bottom="25" width="45"][gravityform id="1" title="false" description="false" ajax="true"][/ct_fullwidth][/vc_column][/vc_row]



LIVE

<p>[vc_row css=".vc_custom_1539191161828{padding-bottom: 40px !important;}" el_class="hidden"][vc_column width="1/4"][vc_single_image image="4323" img_size="full" alignment="center" style="vc_box_outline_circle" border_color="violet"][/vc_column][vc_column width="3/4"][vc_column_text]</p>
<h2 style="font-size: 24px; line-height: 1.4; margin: 0 0 20px; padding: 0;">Theresa Piotrowski, MD - Medical Weight Loss Expert</h2>
<p>Theresa Piotrowski, MD has more than 25 years treating weight-related issues in patients. Dr. Piotrowski, MD graduated from Georgetown University School of Medicine in Washington, DC. She completed her Residency in Family Medicine at Camp Pendleton Naval Hospital in Oceanside, CA and served on active duty as a Navy Physician for six years.</p>
<p>Dr. Piotrowski has successfully launched three medical weight loss centers in hospitals across the country and has been interviewed by ABC, quoted in several publications, and has presented in several national meetings. She has dedicated her career to the treatment of obesity and has followed patients from every corner of the world.</p>
<p>Theresa Piotrowski, MD is Board Certified in both Bariatric Medicine and Family Practice and is a Member of The American Society of Bariatric Physicians, The American Society of Metabolic and Bariatric Surgeons, The Obesity Society, and the Obesity Action Coalition.[/vc_column_text][/vc_column][/vc_row][vc_row css=".vc_custom_1539191170337{padding-bottom: 80px !important;}" el_class="hidden"][vc_column width="1/4"][vc_single_image image="4324" img_size="full" alignment="center" style="vc_box_outline_circle" border_color="violet"][/vc_column][vc_column width="3/4"][vc_column_text]</p>
<h2 style="font-size: 24px; line-height: 1.4; margin: 0 0 20px; padding: 0;">Tiffany Rhodes MSN, ARPN, FNP-C​​ - Aesthetics Expert</h2>
<p>Tiffany has been in medicine since 2006 working as a nurse. In 2014 she graduated with her Master’s degree in Family medicine, and became recognized as a nurse practitioner through board certification by the American Association of Nurse Practitioners. She currently practices internal medicine, family medicine, and aesthetics. Helping build confidence and promoting wellness has brought her great joy to her career. She is certified in neurotoxin injection and fillers and hopes to continue to help others achieve their beauty goals. She resides in New Hampshire with her husband and two children.[/vc_column_text][/vc_column][/vc_row][vc_row css=".vc_custom_1536775430160{margin-bottom: 0px !important;}"][vc_column css=".vc_custom_1536774412952{margin-bottom: 0px !important;}"][ct_fullwidth background_style="cover" container="1" background_image="4467" padding_top="100" padding_bottom="100"][vc_column_text css_animation="fadeInDown"]</p>
<h2 style="text-align: center;"><span style="color: #ffffff;">Book Your CoolSculpting<br />
Consultation Today</span></h2>
<p>[/vc_column_text][ct_divider style="2" color="#ffffff" margin_bottom="25" width="45"][gravityform id="1" title="false" description="false" ajax="true"][/ct_fullwidth][/vc_column][/vc_row]</p>