24/7 Support: 800.608.6482

Reference Guide

General Information

Client Dimensions

Client Dimensions is a module that gives developers access to the screen size of the device the customer is using. These dimensions are available both in JavaScript (as cookies) and in the Miva Template Language (SMT).

Client Dimension adds JavaScript in a page's head tag to detect the client's screen size. The data is saved in a cookie and the page is refreshed on the first page load. All of this happens very quickly and should be completely transparent to the customer.

For more information about using Client Dimensions, please see:

http://docs.miva.com/docs/client-dimensions

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Copyright © 1997 – 2026 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.