In our =Magento2.2.5 based website using the Luma theme on the view cart, checkout page step one and step 2 all datalayer pushes are sending 'step 1' in the datalayer push as the actionfield step instead of identifying step 1 for the view cart page step 2 for the first step of the checkout and step 3 for the step on the Luma checkout page where you enter in your payment info.

I am thinking I could edit the file that has the GA code in it maybe wrap the code in a PHP if statement so that it uses a different actionfield value depending on the page url? Would this work and also would anyone know the path and filename that should be edited?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.