0

I am using the AddToAny plugin on my website. I am getting one issue. When I click on the icon then I am getting the twice URL.

The below is the screenshot of Whatsapp.

Note: URL is a dummy.

enter image description here

I am using the below code on my page.

<!-- AddToAny BEGIN -->
<div class="a2a_kit a2a_kit_size_32 a2a_default_style">
<a class="a2a_button_facebook"></a>
<a class="a2a_button_twitter"></a>
<a class="a2a_button_linkedin"></a>
<a class="a2a_button_whatsapp"></a>
</div>
<script async src="https://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
user9437856
  • 2,360
  • 2
  • 33
  • 92
  • Maybe the plugin firstly displays a title of your page, then the URL? So what is the title (`` tag) of your page. Due to on my demo https://codepen.io/vyspiansky/pen/rNyBzgW I've seen 1 URL: `CodePen Demo https://cdpn.io/cp/internal/boomboom/index.html?key=index.html-8310489b-6ba8-f580-6106-914ffc991065` – Ihor Vyspiansky May 04 '21 at 16:00
  • @IhorVyspiansky, You are right. my title was empty that's the reason i was getting this issue. After adding the title my issue got resolved. – user9437856 May 04 '21 at 16:49
  • @IhorVyspiansky, I request you please add the answer. I will accept this. – user9437856 May 04 '21 at 16:50

1 Answers1

0

The plugin firstly displays a title of your page, then the URL. So check the title (<title> tag) of your page. I have just one URL after the page title on my demo: CodePen Demo https://cdpn.io/cp/internal/boomboom/index.html?key=index.html-8310489b-6ba8-f580-6106-914ffc991065 - https://codepen.io/vyspiansky/pen/rNyBzgW

Ihor Vyspiansky
  • 918
  • 1
  • 6
  • 11