Address Bar Sharing - inconsistent/unexpected URL fragment addition

freight.global Jul 23, 2012 12:29PM EDT

I have been doing some testing ahead of implemting AddThis, #
based on the current understanding that functionality is browser restricted
i.e. should only work for FF 4+, Chrome 14+ Safari 5+
On testing:
- Chrome v19&20 didn't add tags on PC or Mac at all
- Opera v12 added tags on PC
Both contradict behavioural expectation.
Can you advise why, please?
Also, why is Chrome showing in my analytics whe it appears not to be working?

We created 4 test pages that you can look at.
http://www.dhl.com.af/en/logistics/customer_resource_area/logistics_news/index_addthis12.html
http://www.dhl.com.af/en/logistics/customer_resource_area/logistics_news/new_virus.html
http://www.dhl.ch/fr/logistique/espace_client/actualites_logistiques/nouveau_virus111.html
http://www.dhl.fr/fr/logistique/espace_client/actualites_logistiques/nouveau_virus111.html

Please advise - thanks!

3 Community Answers

Paul Jul 24, 2012 12:49PM EDT

It looks like you're overriding the address bar configuration. In this screenshot - http://i.imgur.com/uCE3p.png - you first set the addthis_config variable to enable address bar sharing and then override it to set the language to French, which disables address bar sharing.

View in conversation


Up 0 Rated Down
Paul (AddThis Happiness Specialist) Best Answer Jul 24, 2012 12:49PM EDT
It looks like you're overriding the address bar configuration. In this screenshot - http://i.imgur.com/uCE3p.png - you first set the addthis_config variable to enable address bar sharing and then override it to set the language to French, which disables address bar sharing.
Up 0 Rated Down
bruce Aug 01, 2012 08:51AM EDT
2 follow-up questions:
1) Regarding overriding the address bar config in http://i.imgur.com/uCE3p.png
Is there a way of setting French language while keeping address bar sharing?
2) How does this explain Opera adding tags when tags should not work for Opera?
Up 0 Rated Down
Paul (AddThis Happiness Specialist) Aug 01, 2012 11:03AM EDT
Our config file is set up like a JSON object, so you can set multiple configuration properties just like setting multiple properties in a JSON object. For instance:

<script type="text/javascript">
var addthis_config = addthis_config||{};
addthis_config.data_track_addressbar = true;
addthis_config.ui_language = 'fr';
</script>

Opera has added the History API to their browser, so that's why it's working now. I've updated our documentation.

This question is closed to new answers.

Still need help?


General Topics

 

Developers