Tagged: call button
-
AuthorPosts
-
November 8, 2018 at 9:27 pm #1031385
Hi guys!
I really cannot figure out where I am going wrong here. Google Tag Manager is able to track the 800 number clicks, same tracking for the other local numbers do not work.
I discovered why. The link is invalid in the eyes of the browsers. (It calls, it is just untrackable)
So I added a button, exactly the same code than the red button and the click behavior is really different. Clicking on the red button on Chrome, tracks and that’s it. On the local button, it open a new invalid page.
The phone numbers are on the Footer section. You can see my local number button for Brentwood and the big red button that does work too.
Do you need admin access? I’ll be more than happy to provide it. (This is the staging environment but the same thing happens to the live one)
Thank you in advance for all your help!!
Warmly,
Havi
November 9, 2018 at 2:06 am #1031475Hi guys,
I hope this helps. I tested one more option. To show the local number and just change the TEL:URL from the local to the 800 number and the error goes away. Of course, I cannot use this as a workaround because if people want to call the local number, they should and they will see it on their phones.
But the code should not behave differently upon the number. Is there a conflict with having more than one number on the page? I don’t know where else to look.
Thank you!!
Havi
November 9, 2018 at 8:58 pm #1031814Hi Havi,
You might want to hire someone to help you with this issue as this is way beyond the scope of our support to figure out why Google is not tracking certain numbers.
We are happy to help you with all the theme-related issues anytime.
Best regards,
VictoriaNovember 9, 2018 at 9:06 pm #1031819Hi Victoria,
This is theme related. Why does the button open in a new page when the number is local? Or is it because Enfold does not allow two phone numbers on the same page with the same exact behavior?
I’ll take care of the tracking when the behavior of the button gets to be the same for all the Click to Call buttons.
Thank you.
Havi
November 10, 2018 at 3:49 am #1031896Hi Victoria,
I found this ticket: https://kriesi.at/support/topic/buttons-make-click-to-call/ my website’s phone numbers are not setup with a +1 Do you think that’s the reason they are not working properly?
Actually there was another topic that indicated to add them without +1
Thank you for your prompt response,
Havi
November 11, 2018 at 9:33 pm #1032346Hi Havi,
What do you mean the theme does not allow? You can add another link with another phone.
Best regards,
VictoriaNovember 11, 2018 at 11:19 pm #1032373Hi Victoria!!
You can add it but it does not behave in the same way.
Would you like me to give you access to this staging site? I can develop a page with just buttons or plain Tel:links and add some notes for you on the text so you can see for yourself.
It is quite strange.
The first number works like a charm and the second one opens on a new page.
When I switch back to the first phone number on the second link and update the page, the button/link behaves properly. It doesn’t seem to like the second number (or third, or fourth) and I think it’s Tel:URL related. Placed outside of a button it doesn’t work the same way either.
Best regards,
Havi
November 13, 2018 at 9:18 pm #1033173Hi guys,
I was able to adjust my tracking on GTM to capture all clicking behavior but the second button does take the person off the website on a desktop (if clicked)
Of course, it works perfectly well on Mobile.
Let me know if you want access to the staging site!
Warmly,
Havi
November 16, 2018 at 12:37 am #1034187Hi,
OK, which part still left that you need help with?
Best regards,
BasilisNovember 16, 2018 at 1:39 am #1034216Hi Basilis!
The part where you click on the Tel url and they leave the page to a blank page. This happens only on desktop. Mobile does dial the number.
Thank you so much!!
Warmly,
Havi
November 19, 2018 at 6:00 pm #1035227Hi,
Yes that is because your desktop browser has no module to do that call – or u have no software like skype installed.
Best regards,
BasilisNovember 19, 2018 at 6:26 pm #1035247Hi Basilis,
I do have Skype and all Apple computers have calling capabilities via FaceTime (including mine). Shouldn’t one of those apps open to make the call?
If I click on the tel:800number it does open FaceTime. If I click on the button it doesn’t and if I click on the phone links on the page it takes me off the website into a blank page on the same window.
What I do notice is that all of these urls are constructed differently (I see that when I hover over them on Safari)
The one that works is tel:9999999999 and the button is https://tel:9999999999. Only Chrome takes me off to a blank page. Am I entering something incorrectly?
Best regards,
Havi
November 23, 2018 at 5:33 pm #1037021Hi,
Thanks for the info.
You can try this script in the functions.php file:
function tel_fix(){ ?> <script> (function() { const buttons = document.querySelectorAll('.avia-button'); buttons.forEach( button => { const link = button.getAttribute("href"); if( link.includes('tel') ) { button.setAttribute('href', link.replace("https://", "")); } }); })(); </script> <?php } add_action('wp_footer', 'tel_fix');
It will just remove the https protocol.
Best regards,
IsmaelDecember 18, 2018 at 6:45 pm #1046974Hi Ismael!
I’ll keep your solution handy. I found a fix. I’m sharing:The format (even though http gets added when inserting a shortcode) for the Tel url should always be:
tel:9999999999
9 being a numeric character. Not http or https prefix should be entered. no backslahes, nothing. So far, it has the same clicking behavior on all buttons.
I am sure it will be reflected on the Conversion Tags I implemented via GTM as well (as they all have the same identical value and we know computers roll like that – identical lol)
If I don’t see it working, I’ll try your fix. Give me 3 to 4 weeks to be able to measure and I’ll give your my final feedback.
Warmly,
Havi
December 19, 2018 at 10:00 pm #1047434Hi Havi,
Glad you got it working for you and thank you for sharing! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.