Sign in

Welcome.
How can we help?

How can I add class names for the script to look at when replacing numbers?

Topic: , Updated:

The script will by default look for numbers to replace in elements with the class fs-dynamic-number. In some cases, especially when the phone numbers are already tagged with another class, it's rather handy to tell the script to look for the existing class name. In order to do that, call addElementClass with the class name as parameter. See example below.

__fs_conf.push(['setAdv',{'id': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'}]);
__fs_conf.push(['addElementClass', 'my-tagged-phone-numbers']);
Was this article helpful?
0 out of 0 found this helpful

Comments


Not the answer to your question?

Powered by Zendesk