Jump to content

Launching Intercom messenger when the "Contact" button is pressed

Recommended Posts

  • Replies 3
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Can you add Intercom again? It shows nothing to me

When you've added it, you can add this code to Settings > Developer Tools > Code Injection > Footer

<script>

  document.querySelector('header#header a[href*="mailto"]').addEventListener("click", ()=>{

  Intercom("show")

})

</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

@tuanphan - Thanks for your reply! I never removed Intercom - you should still be able to see it down in the bottom right corner. (Screenshot below). I did enter that code and it worked - thank you! It did open both email and show intercom. Is it possible to ONLY have the intercom messenger window open? And not launch an email? I really appreciate your help!
-Melissa

Screenshot 2023-09-25 at 9.34.22 AM.png

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.