over 3 years ago by Rob Faraj
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.