Yes, you can, by pushing a variable of the same name as an existing variable, but with a new value to the data layer. Let us suppose your existing data layer contains a product quantity variable and its current value is 4: Now if user adds one more product to cart, you can use the push method, like the one below: The value of productQuantity data layer variable would be overwritten and its new value will be 5.