Example of tracking a lead conversion:
// userId is the id from the grouping service when a
// user creates an account or logs in
LeadTracker.recordLead(userId, {
email: userEmail,
});
Example of tracking a purchase:
window.LeadTracker?.recordPurchase(userId, {
email: billingAddress.personPrimaryEmail,
firstName: billingAddress.personFirstName,
lastName: billingAddress.personLastName,
phone: billingAddress.personPrimaryPhone,
store: storeName,
exchangeId: storeExchangeId,
purchaseCode: orderToSave.id,
purchaseAmount: {
currencyCode: 'USD',
value: amount,
},
items: products.map(product => {
return {
id: product.id,
description: product.name,
amount: {
currencyCode: 'USD',
value: parseFloat(product.price),
},
}
})
});
Sour Diesel, sometimes called Sour D, is an invigorating sativa named after its pungent, diesel-like aroma. This fast-acting strain delivers energizing, dreamy cerebral effects that have pushed Sour Diesel to its legendary status. Stress, pain, and depression fade away in long-lasting relief that makes Sour Diesel a top choice among medical patients. This strain took root in the early 90's with cannabis breeder Chem Dog, and it is believed to have descended from Chemdawg,Northern Lights, and a Skunk phenotype.