Created
October 22, 2018 22:23
-
-
Save linkerzx/8ad5b9942b9b893cf7098659d9e12300 to your computer and use it in GitHub Desktop.
setting up data from a data layer in javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var checkoutType; | |
checkoutType="Guest"; | |
if(Checkout.data.user.email != null){ | |
checkoutType="Loggedin"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment