Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Click-to-Call with Form submission

    I have a mobile website with a phone number and click to call configured as the link. Works perfectly. I even have Google analytic tracking working. I want to have a prefilled hidden form sent when the user presses the phone number. I just want a conformation email sent to me stating a user called from the mobile link on my website. A subject line and maybe a body text is all I need. The problem I'm running into is getting a Java Script added to my click to call code.



    Click-to-Call Code
    <!-- Header Code -->

    <style type="text/css">
    .C-1 { line-height:25.00px;font-family:"Verdana", sans-serif;font-style:normal;font-weight:700;color:#000000;background-color:transparent;text-decoration:none;font-variant:normal;font-size:21.3px;vertical-align:0; }
    a.C-1:link { color:#000000;text-decoration:none; }
    a.C-1:visited { color:#000000;text-decoration:none; }
    a.C-1:hover { color:#000000;text-decoration:none; }
    a.C-1:active { color:#000000;text-decoration:none; }
    </style>
    <!--Header code for Text Frame - 225-123-1234 txt_68 -->
    <!--Preamble for Text Frame - 225-123-1234 txt_68-->
    <div __AddCode="here" style="position:absolute;left:395px;top:128px;width:171px;height:36px;overflow:hidden;/*Add Style*/">
    <p class="Normal2"><a href="tel:2251231234&quot;%20onclick=&quot;_gaq.push(['_trackEvent','Click-to-Call','Nav','225-123-1234']);" class="C-1">225-<wbr>123-<wbr>1234</a></p>
    </div>
    <!--Postamble for Text Frame - 225-123-1234 txt_68-->



    I guess I need a java script to send the email from my server. I can do that now using PHP code. What do i need to add to my Click-to-Call Code?
    Any help would be so much appreciated.

  • #2
    New Coder
    Join Date
    Sep 2014
    Location
    Mumbai
    Posts
    22
    Thanks
    0
    Thanked 1 Time in 1 Post
    why do you want it to be hidden? All hidden seems not right.
    Lomey Decos manages PHP development projects at Web development company in Mumbai WebAxis. She also is gathering reviews for web designing company blog in Mumbai with direct users interaction.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •