Add click to call button for Next.Js

ST

3 Oct

by Sanskar Tiwari

In this blog we will see how to create a click to call button for Next.Js with click2contact.app .
đź’ˇ
What is click to call button? When the visitor clicks on the click to call button it will automatically show the call option natively.
This will be divided into two steps:
 

Create click to call button

  1. visit click2contact.app and enter your phone number
  1. Click “Generate Widget”
notion image
  1. Enter your phone number
notion image
  1. Now if you like update the call label
notion image
  1. If you like you can add more modes of contact just by entering the value for it like to add click to WhatsApp button i am going to add my WhatsApp number and it will look like this
notion image
if not continue…
  1. Now there are other options you can update, Alignment, labels can add profile image messages, designation, and support person names.
  1. Scroll down and (i) Give the widget a name so you can later manage it from click2contact.app/my-account and (ii) enter your license key then (iii) click “Generate & Send Code”
notion image
  1. You will receive the code in your email, just copy the highlighted code we will use this to add the click to call (click2contact widget)
notion image
 

Add Click to call widget to NextJs

 
for Next.Js we can use the next/head to just add the script