... ... (function () { const METASITE_APP_DEF_ID = '22bef345-3c5b-4c18-b782-74d4085112ff'; const getXSRFTokenFromCookie = () => { const match = new RegExp('XSRF-TOKEN=(.+?);').exec(document.cookie); return match ? match[1] : ''; }; const eventNames = { Purchase: 'Purchase', Lead: 'Lead', }; const eventNameToConversionActionCategory = { [eventNames.Purchase]: 'PURCHASE', [eventNames.Lead]: 'SUBMIT_LEAD_FORM', }; const channelParams = { price: 'price', id: 'id', currency: 'currency', name: 'name', category: 'category', brand: 'brand', variant: 'variant', list: 'list_name', quantity: 'quantity', step: 'checkout_step', option: 'checkout_option', position: 'list_position', coupon: 'coupon', affiliation: 'affiliation', revenue: 'value', tax: 'tax', sku: 'sku', shipping: 'shipping', }; const mapContents = ({ contents = [] }) => contents.map(({ currency, ...product }) => paramsMapper(product, channelParams), ); const paramsMapper = (params, mapper) => { const mappedParams = Object.keys(params); if (mappedParams.length === 0) { return params; } return mappedParams.reduce((mappedObject, currentKey) => { const newKey = mapper[currentKey]; if (newKey && (params[currentKey] || params[currentKey] === 0)) { mappedObject[newKey] = params[currentKey]; } return mappedObject; }, {}); }; const loadGtag = () => { const gtagInitScript = document.createElement('script'); gtagInitScript.type = 'text/javascript'; gtagInitScript.innerHTML = ` window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()) `; document.head.appendChild(gtagInitScript); const gtagScript = document.createElement('script'); gtagScript.type = 'text/javascript'; gtagScript.setAttribute('async', 'true'); gtagScript.setAttribute('src', 'https://www.googletagmanager.com/gtag/js'); document.head.appendChild(gtagScript); }; const handleGoogleConsent = () => { window.dataLayer = window.dataLayer || []; if (window.consentPolicyManager && window.consentPolicyManager.initRan) { const { policy } = window.consentPolicyManager.getCurrentConsentPolicy(); setConsent('default', policy); } else { setConsent('default', { advertising: false, analytics: false, functional: false, waitForUpdate: 500, }); } window.document.addEventListener( 'consentPolicyInitialized', ({ detail }) => { setConsent('update', detail.policy); }, ); window.document.addEventListener('consentPolicyChanged', ({ detail }) => { setConsent('update', detail.policy); }); function setConsent( action, { advertising, analytics, functional, waitForUpdate }, ) { (function () { window.dataLayer.push(arguments); })('consent', action, { ad_storage: advertising ? 'granted' : 'denied', ad_user_data: advertising ? 'granted' : 'denied', ad_personalization: advertising ? 'granted' : 'denied', analytics_storage: analytics ? 'granted' : 'denied', functionality_storage: functional ? 'granted' : 'denied', personalization_storage: 'granted', security_storage: 'granted', ...(waitForUpdate ? { wait_for_update: waitForUpdate } : {}), }); } }; let conversionActions; const loadConversionActions = () => { const XSRFToken = getXSRFTokenFromCookie(); const headers = { 'Content-Type': 'application/json', 'X-XSRF-TOKEN': XSRFToken, }; const getAppToken = window.wixEmbedsAPI?.getAppToken; if (getAppToken) { headers.authorization = getAppToken(METASITE_APP_DEF_ID); } const metaSiteId = window.wixEmbedsAPI?.getMetaSiteId(); return fetch( `${window.location.origin}/_serverless/pa-google/v1/accounts/current-site/conversion-actions?metaSiteId=${metaSiteId}`, { method: 'GET', headers, }, ) .then((response) => response.json()) .then((data) => { conversionActions = data.conversionActions; gtag('config', conversionActions[0].conversionId); }); }; const reportEvent = (eventName, eventParams) => { const category = eventNameToConversionActionCategory[eventName]; const conversionAction = conversionActions.find( (currentConversionAction) => currentConversionAction.category.category === category, ); if (conversionAction) { let conversionData = { send_to: `${conversionAction.conversionId}/${conversionAction.conversionLabel}`, }; switch (category) { case 'PURCHASE': { const { revenue, id, currency, coupon, ...params } = eventParams; conversionData = { ...conversionData, ...paramsMapper({ revenue, id, currency, coupon }, channelParams), transactionId: eventParams.id, items: mapContents(params), }; break; } default: break; } gtag('event', 'conversion', conversionData); } }; let isBootstrapped = false; const bootstrap = () => { handleGoogleConsent(); loadGtag(); return loadConversionActions().then(() => { isBootstrapped = true; }); }; const bootstrapPromise = bootstrap(); const registerListener = () => { window.wixDevelopersAnalytics.register( 'd6708a0e-5b2a-458e-8cfe-bdca240aa2ce', (eventName, eventParams) => { if (isBootstrapped) { reportEvent(eventName, eventParams); } else { bootstrapPromise.then(() => { reportEvent(eventName, eventParams); }); } }, ); }; window.wixDevelopersAnalytics ? registerListener() : window.addEventListener('wixDevelopersAnalyticsReady', registerListener); })();
top of page

Magical Days of the Week Part 1

Did you know that the day you cast, your spell can impact its effectiveness? According to many traditions, it can! In this blog and the next, we’ll talk about the attributes of different days and some other strategies to improve your success!


SUNDAY

When casting a spell on Sunday, try to include the colors yellow and gold, thought to be “Sunday’s Colors,” because it is the day of the sun. Sunday is connected to solar deities like Helios and Ra. And Brighid’s day is Sunday in some Celtic traditions.

Try incorporating quartz crystals or carnelian and amber into your spell. Also, consider using marigolds, sunflowers, or cinnamon since all of these pack an extra punch when used on Sundays.

Sunday has been considered a powerful day for many types of workings. Agriculture, beauty, hope, victory, and creativity are connected to this day. If your spell involves planting or harvesting something new, whether physical or metaphysical, Sunday is a good day for this type of working.


MONDAY

Being the day of the moon, Monday is connected with Thoth and Diana, for example, and other lunar deities. Herbal correspondences include mint, catnip, comfrey, sage, and chamomile. Incorporate these into your spell to support the magic of the moon.

Because of the lunar connection, Monday is a good day for spells relating to childbearing, family life, purity, healing, wisdom, and intuition. See if you can design a spell to enhance your intuition using the Moon, perhaps a deity associated with the moon, and some dried chamomile flowers. Give it an extra boost by drinking a cup of chamomile mint tea before sleep. Keep your dream journal nearby and note what comes to you from your dream space!


TUESDAY

Tyr is the Norse god of heroism and combat, and Tuesday is Tyr’s day. Colors for Tuesday include bright reds and oranges, as well as metals such as iron and steel. In Ancient Rome, this day was called Martis, after the warrior god Mars. The Morrighan is also fond of this day.

Garnets are excellent stones to include in a Tuesday working, as well as such plants as thistle, holly, and different cacti.

Cast any spells relating to “war” or conflict on Tuesdays. Interestingly, Tuesday is also associated with marriage, protection, and initiation. Use Tuesday to cast spells to assert yourself.


WEDNESDAY

Wednesday is named for Woden, an ancient Norse god who came before Odin. Among other things, he is the god of poetry and greets fallen warriors in Valhalla. Purple is Wednesday’s color, and quicksilver is the metal associated with this day.

Mercury is one of the gods associated with Wednesday. Others include Odin, Hermes, Athena, and Lugh. Try gemstones like adventurine and agate to create a connection with one of these deities. Plants such as lilies, lavender, and ferns can enhance any Wednesday spells.

Are you looking to improve your business or get a promotion at work? Wednesdays are great days for this, as well as spells to resolve matters relating to loss and debt.

We’ll continue our discussion of magical days in the next blog.

7 views0 comments

Recent Posts

See All

コメント


bottom of page