×
1 Choose EITC/EITCA Certificates
2 Learn and take online exams
3 Get your IT skills certified

Confirm your IT skills and competencies under the European IT Certification framework from anywhere in the world fully online.

EITCA Academy

Digital skills attestation standard by the European IT Certification Institute aiming to support Digital Society development

SIGN IN YOUR ACCOUNT TO HAVE ACCESS TO DIFFERENT FEATURES

CREATE AN ACCOUNT FORGOT YOUR PASSWORD?

FORGOT YOUR DETAILS?

AAH, WAIT, I REMEMBER NOW!

CREATE ACCOUNT

ALREADY HAVE AN ACCOUNT?
EUROPEAN INFORMATION TECHNOLOGIES CERTIFICATION ACADEMY - ATTESTING YOUR PROFESSIONAL DIGITAL SKILLS
  • SIGN UP
  • LOGIN
  • SUPPORT

EITCA Academy

EITCA Academy

The European Information Technologies Certification Institute - EITCI ASBL

Certification Provider

EITCI Institute ASBL

Brussels, European Union

Governing European IT Certification (EITC) framework in support of the IT professionalism and Digital Society

  • CERTIFICATES
    • EITCA ACADEMIES
      • EITCA ACADEMIES CATALOGUE<
      • EITCA/CG COMPUTER GRAPHICS
      • EITCA/IS INFORMATION SECURITY
      • EITCA/BI BUSINESS INFORMATION
      • EITCA/KC KEY COMPETENCIES
      • EITCA/EG E-GOVERNMENT
      • EITCA/WD WEB DEVELOPMENT
      • EITCA/AI ARTIFICIAL INTELLIGENCE
    • EITC CERTIFICATES
      • EITC CERTIFICATES CATALOGUE<
      • COMPUTER GRAPHICS CERTIFICATES
      • WEB DESIGN CERTIFICATES
      • 3D DESIGN CERTIFICATES
      • OFFICE IT CERTIFICATES
      • BITCOIN BLOCKCHAIN CERTIFICATE
      • WORDPRESS CERTIFICATE
      • CLOUD PLATFORM CERTIFICATENEW
    • EITC CERTIFICATES
      • INTERNET CERTIFICATES
      • CRYPTOGRAPHY CERTIFICATES
      • BUSINESS IT CERTIFICATES
      • TELEWORK CERTIFICATES
      • PROGRAMMING CERTIFICATES
      • DIGITAL PORTRAIT CERTIFICATE
      • WEB DEVELOPMENT CERTIFICATES
      • DEEP LEARNING CERTIFICATESNEW
    • CERTIFICATES FOR
      • EU PUBLIC ADMINISTRATION
      • TEACHERS AND EDUCATORS
      • IT SECURITY PROFESSIONALS
      • GRAPHICS DESIGNERS & ARTISTS
      • BUSINESSMEN AND MANAGERS
      • BLOCKCHAIN DEVELOPERS
      • WEB DEVELOPERS
      • CLOUD AI EXPERTSNEW
  • FEATURED
  • SUBSIDY
  • HOW IT WORKS
  •   IT ID
  • ABOUT
  • CONTACT
  • MY ORDER
    Your current order is empty.
EITCIINSTITUTE
CERTIFIED

How can developers initiate a phone call using the Tap to Call component, and what specific settings need to be configured in the Properties panel?

by EITCA Academy / Wednesday, 21 August 2024 / Published in Web Development, EITC/WD/GWD Google Web Designer, Advancing in GWD, Components overview, Examination review

Initiating a phone call using the Tap to Call component in Google Web Designer (GWD) involves a series of steps that developers must carefully follow to ensure the component functions correctly. This process is pivotal for creating interactive and user-friendly web pages, particularly for businesses that want to enhance customer engagement by allowing users to easily contact them via phone.

Google Web Designer is a powerful tool for creating interactive HTML5-based designs and motion graphics that can run on any device. One of its features, the Tap to Call component, is designed to allow users to initiate phone calls directly from a web page. This can be particularly useful for mobile websites where users are more likely to use their phone's calling capabilities.

To start with, developers need to add the Tap to Call component to their project. This component can be found in the Components panel of Google Web Designer. Here is a step-by-step guide on how to do this:

1. Open the Components Panel: In Google Web Designer, navigate to the Components panel. This panel lists all the available components that you can use in your project.

2. Select the Tap to Call Component: Locate the Tap to Call component within the panel. It is usually represented by an icon resembling a phone or call button.

3. Drag and Drop the Component: Drag the Tap to Call component from the Components panel and drop it onto the stage where you want it to appear in your design.

Once the component is placed on the stage, it is essential to configure its properties to ensure it functions as intended. This configuration is done through the Properties panel. The Properties panel allows developers to set various attributes for the Tap to Call component, including the phone number that will be dialed when the component is clicked.

Here are the specific settings that need to be configured in the Properties panel:

1. Phone Number: This is the most critical setting. In the Properties panel, you will see a field labeled "Phone Number." Enter the phone number that you want users to call when they click the component. Ensure that the phone number is entered in the correct format, including the country code if necessary. For example, a U.S. phone number might be entered as +1-555-555-5555.

2. Text: You can also set the text that appears on the Tap to Call button. This is done in the "Text" field in the Properties panel. For example, you might enter "Call Us Now" or "Contact Support."

3. Styling: The appearance of the Tap to Call button can be customized to fit the design of your website. This includes setting the font, color, size, and other styling attributes. These settings are also found in the Properties panel under the styling options.

4. Event Handling: You may want to add additional functionality when the Tap to Call button is clicked, such as tracking the number of clicks or triggering other actions. This can be done by adding event listeners in the Event panel. For example, you can add an event listener for the "click" event and define a JavaScript function to handle the event.

5. Accessibility: Ensuring that your website is accessible to all users, including those with disabilities, is important. In the Properties panel, you can set the "Aria Label" to provide a descriptive label for screen readers. This helps visually impaired users understand the purpose of the button.

Here is an example of how you might configure the Tap to Call component:

html
<!-- Tap to Call Component -->
<div class="tap-to-call" role="button" aria-label="Call Us Now">
  <a href="tel:+15555555555">Call Us Now</a>
</div>

In this example, the `href` attribute of the anchor tag (`<a>`) is set to `tel:+15555555555`, which is the phone number that will be dialed when the user clicks the button. The `role="button"` and `aria-label="Call Us Now"` attributes are used to improve accessibility.

Additionally, developers can use CSS to style the Tap to Call button to match the overall design of the website. For example:

css
.tap-to-call {
  background-color: #4CAF50; /* Green background */
  color: white; /* White text */
  padding: 15px 32px; /* Padding */
  text-align: center; /* Centered text */
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Inline-block display */
  font-size: 16px; /* Font size */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
}

.tap-to-call:hover {
  background-color: #45a049; /* Darker green on hover */
}

In this CSS example, the `.tap-to-call` class is styled with a green background, white text, padding, centered text, no underline, inline-block display, a specific font size, rounded corners, and a pointer cursor on hover. The `:hover` pseudo-class is used to change the background color when the user hovers over the button.

For developers who want to add more advanced functionality, JavaScript can be used to handle events and add interactivity. For instance, you might want to track how many times the Tap to Call button is clicked. This can be done using an event listener:

javascript
document.querySelector('.tap-to-call').addEventListener('click', function() {
  console.log('Tap to Call button clicked');
  // Additional code to track the click or perform other actions
});

In this JavaScript example, an event listener is added to the `.tap-to-call` element to log a message to the console whenever the button is clicked. This can be expanded to include more complex tracking or analytics code as needed.

To ensure that the Tap to Call component works correctly across different devices and browsers, it is essential to test the functionality thoroughly. This includes testing on various mobile devices, as the primary use case for the Tap to Call component is on mobile platforms. Additionally, it is important to check that the phone number is formatted correctly and that the call is initiated as expected when the button is clicked.

Initiating a phone call using the Tap to Call component in Google Web Designer involves adding the component to the stage, configuring its properties in the Properties panel, and ensuring that it is styled and functional according to the design and requirements of the website. By following these steps, developers can create an interactive and user-friendly experience that allows users to easily contact businesses via phone.

Other recent questions and answers regarding Advancing in GWD:

  • How does the search feature within the Studio Asset Library improve the efficiency of locating specific assets for use in Google Web Designer projects?
  • What is the process for previewing and incorporating an image from the Studio Asset Library into a Google Web Designer project?
  • How can users differentiate between the 'local' and 'studio' sections within the Asset Library panel in Google Web Designer?
  • What steps are involved in authenticating with DoubleClick Studio to access the Studio Asset Library within Google Web Designer?
  • How does the integration of DoubleClick Studio's Asset Library with Google Web Designer enhance the workflow for web developers and designers?
  • How can the organization of assets be optimized in the Asset Library, and what features are available to assist with this process?
  • What is the purpose of the Groups functionality in the Asset Library, and how can it be utilized within a project?
  • How does the Asset Library handle file name conflicts to prevent accidental overwriting of existing files?
  • What are the different methods for importing assets into a Google Web Designer project using the Asset Library?
  • How does the Asset Library in Google Web Designer enhance the overall workflow efficiency when managing assets within a project?

View more questions and answers in Advancing in GWD

More questions and answers:

  • Field: Web Development
  • Programme: EITC/WD/GWD Google Web Designer (go to the certification programme)
  • Lesson: Advancing in GWD (go to related lesson)
  • Topic: Components overview (go to related topic)
  • Examination review
Tagged under: Accessibility, CSS, HTML5, JavaScript, Mobile Development, Web Development
Home » Advancing in GWD / Components overview / EITC/WD/GWD Google Web Designer / Examination review / Web Development » How can developers initiate a phone call using the Tap to Call component, and what specific settings need to be configured in the Properties panel?

Certification Center

USER MENU

  • My Account

CERTIFICATE CATEGORY

  • EITC Certification (106)
  • EITCA Certification (9)

What are you looking for?

  • Introduction
  • How it works?
  • EITCA Academies
  • EITCI DSJC Subsidy
  • Full EITC catalogue
  • Your order
  • Featured
  •   IT ID
  • EITCA reviews (Reddit publ.)
  • About
  • Contact
  • Cookie Policy (EU)

EITCA Academy is a part of the European IT Certification framework

The European IT Certification framework has been established in 2008 as a Europe based and vendor independent standard in widely accessible online certification of digital skills and competencies in many areas of professional digital specializations. The EITC framework is governed by the European IT Certification Institute (EITCI), a non-profit certification authority supporting information society growth and bridging the digital skills gap in the EU.

    EITCA Academy Secretary Office

    European IT Certification Institute ASBL
    Brussels, Belgium, European Union

    EITC / EITCA Certification Framework Operator
    Governing European IT Certification Standard
    Access contact form or call +32 25887351

    Follow EITCI on Twitter
    Visit EITCA Academy on Facebook
    Engage with EITCA Academy on LinkedIn
    Check out EITCI and EITCA videos on YouTube

    Funded by the European Union

    Funded by the European Regional Development Fund (ERDF) and the European Social Fund (ESF), governed by the EITCI Institute since 2008

    Information Security Policy | DSRRM and GDPR Policy | Data Protection Policy | Record of Processing Activities | HSE Policy | Anti-Corruption Policy | Modern Slavery Policy

    Automatically translate to your language

    Terms and Conditions | Privacy Policy
    Follow @EITCI
    EITCA Academy

    Your browser doesn't support the HTML5 CANVAS tag.

    • Cloud Computing
    • Cybersecurity
    • Web Development
    • Artificial Intelligence
    • Quantum Information
    • GET SOCIAL
    EITCA Academy


    © 2008-2026  European IT Certification Institute
    Brussels, Belgium, European Union

    TOP
    CHAT WITH SUPPORT
    Do you have any questions?
    We will reply here and by email. Your conversation is tracked with a support token.