Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoleone committed Jun 26, 2024
1 parent a2f6c42 commit ad6358b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pixel/head.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script>
(async () => {
try {
console.log("PIXEL RUNNING")
// Utility function to safely get JSON from localStorage
const getLocalStorageJson = (key) => {
const value = window.localStorage.getItem(key);
Expand Down Expand Up @@ -31,13 +30,11 @@
await setOrderFormCustomField(iStoreIdParam, orderFormId);
}

console.log("DATA", iStoreIdOrderFormValue, "&", orderFormId)
// If new order form, update local storage and custom data
if (iStoreIdOrderFormValue != null && orderFormId !== iStoreIdOrderFormValue) {
window.localStorage.setItem("iStoreIdOrderform", orderFormId);
await setOrderFormCustomField(iStoreIdValue, orderFormId);
}
console.log("AFTER orderform storage set")

async function setOrderFormCustomField(iStoreId, orderFormId) {
const headers = new Headers({
Expand Down

0 comments on commit ad6358b

Please sign in to comment.