function registerListener() { 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 = [] }) =>{ 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', ''); document.head.appendChild(gtagScript); }; const XSRFToken = getXSRFTokenFromCookie(); let conversionActions; const reportEvent = (eventName, eventParams) => { if (typeof gtag !== 'function') { loadGtag(); } const category = eventNameToConversionActionCategory[eventName]; const conversionAction = conversionActions.find( (currentConversionAction) => currentConversionAction.category.category === category, ); if (conversionAction) { gtag('config', conversionAction.conversionId); 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:, items: mapContents(params), }; break; } default: break; } gtag('event', 'conversion', conversionData); } }; // @ts-expect-error wixDevelopersAnalytics window.wixDevelopersAnalytics.register( 'd6708a0e-5b2a-458e-8cfe-bdca240aa2ce', (eventName, eventParams) => { console.log('registering ga event reporter'); if (conversionActions) { reportEvent(eventName, eventParams); } else { const headers = { 'Content-Type': 'application/json', 'X-XSRF-TOKEN': XSRFToken, }; const getAppToken = window.wixEmbedsAPI?.getAppToken; if (getAppToken) { console.log('ASSIGNING AUTHORIZATION HEADER'); headers.authorization = getAppToken(METASITE_APP_DEF_ID); } const metaSiteId = window.wixEmbedsAPI?.getMetaSiteId(); console.log({ metaSiteId }); 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; reportEvent(eventName, eventParams); }); } }, ); } console.log('ga event report embedded'); // @ts-expect-error wixDevelopersAnalytics window.wixDevelopersAnalytics ? registerListener() : window.addEventListener('wixDevelopersAnalyticsReady', registerListener);
top of page

Fall Fun in Terlingua Texas!

Fall is the perfect time to start heading west! The desert is cooling off, the scenery is stunning due to the recent rains and Terlingua is bustling with activity. Big Bend National Park is alive with hikers, paddlers and site seers. The town of Terlingua is starting to host all kinds activities.

October is a bustling month with the Ride 4 trails mid month and the 3rd Annual Run to Terlingua October 13-15, 2023. Saddle up and come on down to Terlingua, TX on whatever your motorcycle of choice and ride the roads. Enjoy the very famous river road in the Big Bend State park. It never disappoints. Also enjoy many of the other great roads in the National Park.

If you're not into motorcycles and love a good run, come and participate in the Marathon 2 Marathon race at the end of October. This run is a 26.2 mile race starting in Marathon and goes through stunning terrain and 4,000ft altitude. A half marathon, 10k an 5k options are also available. Registration can be done at the events page of the City of Marathon website.

We can't forget the International Terlingua Chili Cook Off! It is in its 56th year! Traditionally held the first week of Novemember, it will be held November 1-4th, 2023. Come and enjoy great music, a terrifically fun time and fantastic chili! If you are into great honky tonk music, a little bird told me that Mike and the Moonrise will be playing at the Chili cookout on Nov. 1st!

With all of the fun upcoming activities, snag your place to stay now. Rentals are starting to book up. Secure your rental before they are gone. Book with us at Paisano Azul Ranch! We are centrally located to the fun activities. We are minutes away from the National Park, restaurants, bars and the Terlingua Ghost Town. Book with us at We look forward to seeing you this Fall!

3 views0 comments

Recent Posts

See All
bottom of page