Medstar Team

Calendly Icon and Phone Button

Assigned to
Ivonne Ackerman, Medstar Ivonne A. Selena Vujatov, Medstar Selena V.
Notes
Selena Vujatov, Medstar Selena - we would like to setup something up like growth99.com

They have a calendly link floater at the bottom and then a mobile call button. Can we set something up like this on all the pages minus the 3 new pages you set up that have different calendars. The phone icon can remain the same on all pages. 

Comments & Events

Selena Vujatov, Medstar
Chris Zelig, Medstar Chris Ivonne Ackerman, Medstar Ivonne
Sure, we can do that.
The code you sent for the pop-up button for Linkedin, Lasik and CS pages is actually the one that creates that floating button in the right corner, so just send me a calendar link and I will add it to all pages except those three you listed.

This one:
<!-- Calendly badge widget begin -->
<link href="
https://assets.calendly.com/assets/external/widget.css" rel="stylesheet">
<script src="
https://assets.calendly.com/assets/external/widget.js" type="text/javascript" async></script>
<script type="text/javascript">window.onload = function() { Calendly.initBadgeWidget({ url: '
https://calendly.com/medstar/csl', text: 'Schedule time with me', color: '#00a7ff', textColor: '#ffffff', branding: true }); }</script>
<!-- Calendly badge widget end -->

Chris Zelig, Medstar
Here is the link to the cal. https://calendly.com/medstar/dmss/

Can you also put a phone number icon on mobile on the left side. 
Selena Vujatov, Medstar
Chris Zelig, Medstar Chris I added a floating button on the entire website except for three landing pages.

Isaac Klausnser, Medstar Isaac Can you add this HTML to functions.php?
I already added CSS style in "Additional CSS" box.

HTML Code:
<a href="tel:+1 (801) 877-1744" id="callnowbutton" onclick="return gtag_report_conversion('tel:+1 (801) 877-1744');" "=""><i class="fa fa-phone-alt" aria-hidden="true"></i></a> 

I tested the code on the draft page and it looks good the same as the button on growth99.com
Isaac Klausnser, Medstar
Hi Selena Vujatov, Medstar Selena - Simply adding this code to the functions.php file wouldn't do anything unless we declare in the PHP code "WHERE" and "WHEN" on the website we want this code to run.

Let me know where you are trying to add this phone number on the website.
Selena Vujatov, Medstar
Isaac Klausnser, Medstar Isaac  forgot to mention it, add action to footer
Isaac Klausnser, Medstar
Selena Vujatov, Medstar Selena - Thank you. I have now added the code.
Selena Vujatov, Medstar
Isaac Klausnser, Medstar Isaac  thank you!
Ivonne Ackerman, Medstar
Hi Selena Vujatov, Medstar Selena , can the calendly button be a different color? can we change the position so that it is moved a little from the corner inwards & upwards and that it is a little bigger?
Selena Vujatov, Medstar
Ivonne Ackerman, Medstar Ivonne  Yes, I can make those changes, but what color you had in mind? Black or something completely different?
Ivonne Ackerman, Medstar
Selena Vujatov, Medstar Selena  let's keep the blue color for now. Can we please change the text to say "BOOK FREE STRATEGY SESSION"?
Selena Vujatov, Medstar
Ivonne Ackerman, Medstar Ivonne  Sure, I changed it.
Ivonne Ackerman, Medstar Thank you!
Chris Zelig, Medstar
Selena Vujatov, Medstar Selena

On medstar home page, can you have the schedule a consult button in the header make the calendly link popup instead of going to the contact form at bottom



Also, on this page medstarmedia.com/cs can you insert this calendar here: https://calendly.com/medstar/em 

Also, insert the calendar icon at the bottom floating on right. 


 
Selena Vujatov, Medstar
Chris Zelig, Medstar Chris I changed homepage button and calendar link on CS campaign page.

Isaac Klausnser, Medstar Isaac I will need your help with the Calendly floating button on this page: medstarmedia.com/cs
A month ago I added Calendly code for the floating buttons to the entire website except for three campaign pages. And here's how I did that. I added Calendly code to the footer which affected the entire website: https://jmp.sh/rUaji5v
Then I added additional CSS in order to hide the Calendly floating button on those three pages: https://jmp.sh/VAMmb6V
We now need Calendly floating button on this campaign page: medstarmedia.com/cs (page-id-950) but not with the same Calendly link we have preivously added in the footer. 
Calendly link in the footer is this: https://calendly.com/medstar/dmss/
Calendly link we need only on this page is this: https://calendly.com/medstar/em
The problem is that the Calendly widget has default class="calendly-badge-widget" so I don't know how to display one Calendly button and hide another on the same page. We wouldn't have this problem if Calendly code generated ID as well, but unfortunately, there's only a class.

Do you have an idea how to solve this? Thank you!
Isaac Klausnser, Medstar
Selena Vujatov, Medstar Selena

Using CSS is not a good approach to get around this as you will still have an unnecessary script running on those three pages in the DOM.

I will write a custom PHP code for this.
Selena Vujatov, Medstar
Isaac Klausnser, Medstar Isaac  I see… thank you so much!
Isaac Klausnser, Medstar
Selena Vujatov, Medstar Selena - Added the code.
Selena Vujatov, Medstar
Isaac Klausnser, Medstar Isaac  thank you
Chris Zelig, Medstar
Chris Zelig completed this to-do.