This method is used for substituting the dynamic variable in js.
Substitution of the dynamic variable in the dynamic creative template is implemented in the js initialization process. The customized tag which calls the variable method must be placed before the initialization method (load method).
<script async src="@TAG_URL"></script>
<script>
window._cq = window._cq || [];
function _cc(){_cq.push(arguments);}
_cc('variable', 'inventory', '99'); // Added before the ‘load’ method
_cc('load', '@ACCOUNT_ID', '@SITE_ID');
</script>
// When substituting remaining product stock count on the page
_cc('variable', 'inventory', '99');
_cc('variable', 'phoneNumber', '03-1234-5678');