New Javascript Functions

Today we launched two new Javascript functions that can be used on your published sites. Normally these functions are used in custom widget code to determine certain behavior.

The first is getCurrentDeviceType. This will return which device the user is currently using. This can be helpful when rendering certain device type specific content. Learn more here.

The second is getSitePlanID. This will return the numerical value for the Duda plan id of the current site. This can be used to determine if a site has access to a specific feature or capability. Learn more here.

Changelog