AddtoAny Share page plugin displaying the URL twice

319 Views Asked by At

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 -->
1

There are 1 best solutions below

1
On BEST ANSWER

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