if (window.location.pathname.includes('/order-confirmation')) {
const id = document.querySelector('.ec-confirmation__number').textContent.trim();
const total = parseFloat((document.querySelector('.ec-confirmation__order-confirmation-total').textContent).replace('$', ''));
const product = document.querySelector('.ec-cart-item__title').textContent.trim();
const quantityVal = document.querySelector('.ec-cart-item__count-inner').textContent.trim();
const quantity = parseInt(quantityVal.split(' ')[1]);
console.log(
id,
total,
product,
quantity
);
window.tracker(
"addTrans",
id,
"N/A",
total,
0,
0,
"N/A",
"N/A",
"N/A",
"USD",
);
window.tracker(
"addItem",
id,
"N/A",
total,
"N/A",
total,
quantity,
"USD",
);
window.tracker("trackTrans");
}
Steven Brown | Profile
top of page
Profile
Join date: Aug 8, 2018
Posts
Mar 4, 2024 ∙ 2 min
Nothing But Hemp Achieves Significant Expansion by Acquiring Emerald Elements
PRESS RELEASE Minneapolis, Minnesota— March 4, 2024 — In an ambitious effort to strengthen its leadership in the hemp market, Nothing...
Dec 5, 2021 ∙ 3 min
With hemp protections under threat in Minnesota, Nothing But Hemp plans HQ move
Minnesota locations will remain open but delivery times on some products may be affected in the future. In recent weeks, small hemp...
Jan 22, 2021 ∙ 1 min
Nothing But Hemp and Sutherland CBD Join Strategic Alliance for Growth.
SAINT PAUL, MN — Nothing But Hemp and Sutherland CBD entered a strategic alliance on January 20, 2021. Through this exciting alliance,...
bottom of page