(function () {
try {
// AQ-r2 (2026-06-09): respect the explicit-denial sentinel
// written by cookie-consent-harden.js writeATR() on any
// marketing-axis denial (payload.marketing === false; cycle-3 F1).
// Without this gate, the next page navigation re-creates
// gmx_first_touch from the current URL+referrer+utm_*+click_ids,
// silently undoing the reject-all deletion (sweep finding #1).
// The sentinel is cleared the moment the visitor grants
// marketing in the banner (analytics-only grant does NOT
// clear), restoring the writer path on the very next
// page load. Page-cache-safe: the sentinel is a
// browser-resident cookie checked in the inline script, so
// varnish/breeze-served HTML still hits this gate.
if (/(?:^|;\s*)gmx_consent_denied=1(?:;|$)/.test(document.cookie || '')) return;
var CLICK_IDS = ['gclid','fbclid','msclkid','ttclid','wbraid','gbraid','li_fat_id'];
var qs = new URLSearchParams(window.location.search);
var urlClickIdKey = null;
for (var i = 0; i < CLICK_IDS.length; i++) {
if (qs.get(CLICK_IDS[i])) { urlClickIdKey = CLICK_IDS[i]; break; }
}// Parse existing cookie.
var existing = null;
var match = document.cookie.match(/(?:^|;\s*)gmx_first_touch=([^;]+)/);
if (match) {
try { existing = JSON.parse(decodeURIComponent(match[1])); } catch (e) { existing = null; }
}// GWP-273 — referrer-enrichment branch.
// Keep existing unless either (a) URL carries a new click id
// the stored payload lacks (paid click is a higher-value
// signal and upgrades direct/organic), OR (b) the stored
// payload has empty referrer AND the current document.referrer
// is non-empty + external (Safari/ITP/policy-quirk catch:
// first-hit may have missed the referrer; later same-session
// page-loads can recover it).
var existingHasRef = !!(existing && existing.referrer && existing.referrer !== '');
var docRef = document.referrer || '';
var refHost = '';
if (docRef) {
try {
refHost = new URL(docRef).hostname.replace(/^www\./, '').toLowerCase();
} catch (e) { refHost = ''; }
}
var ownHost = (location.host || '').replace(/^www\./, '').toLowerCase();
var currentExternalRef = !!(refHost && refHost !== ownHost);
var canEnrichRef = !!existing && !existingHasRef && currentExternalRef;if (existing) {
if (!urlClickIdKey && !canEnrichRef) return;
if (urlClickIdKey && existing[urlClickIdKey] && !canEnrichRef) return;
}var utm_keys = [
'utm_source','utm_medium','utm_campaign','utm_content','utm_term',
'utm_adgroup','utm_matchtype','utm_network','utm_device','utm_placement'
];
// GWP-273 — merge-preserving base. When enriching an existing
// payload, retain its landing_url + ts + prior click ids /
// utms; only overlay referrer (and any click id appended below
// via the forEach). Branches with/without urlClickIdKey were
// collapsed — both produced the identical Object.assign — the
// click id is added uniformly later.
//
// GWP-273 design choice: "latest external referrer wins" —
// accepted edge case where a user opens a new external tab
// post-empty-first-touch and returns; low-volume, simple, no
// sentinel flag needed.
var data;
if (existing && canEnrichRef) {
data = Object.assign({}, existing, { referrer: docRef });
} else {
data = { landing_url: window.location.href, referrer: docRef, ts: Date.now() };
}
utm_keys.concat(CLICK_IDS).forEach(function (k) {
var v = qs.get(k);
if (v) data[k] = v;
});
// GWP-208 — carry Meta's first-party click-linker cookies (_fbc
// = fb.1.<ts>.<fbclid>, _fbp) into the captured payload so they
// ride the persistent gmx_first_touch cookie cross-page (LP X →
// LP Y) the same way the URL click-ids do. The CF7 hidden-field
// populator copies the whole payload verbatim, so fbc/fbp reach
// the lead even when the form lives on a page without ?fbclid.
var fbcMatch = document.cookie.match(/(?:^|;\s*)_fbc=([^;]+)/);
if (fbcMatch && fbcMatch[1]) data.fbc = decodeURIComponent(fbcMatch[1]);
var fbpMatch = document.cookie.match(/(?:^|;\s*)_fbp=([^;]+)/);
if (fbpMatch && fbpMatch[1]) data.fbp = decodeURIComponent(fbpMatch[1]);
var encoded = encodeURIComponent(JSON.stringify(data));
if (encoded.length > 3800) return;
var expires = new Date(Date.now() + 90 * 864e5).toUTCString(); // GWP-143 C1: match Google Ads 90-day attribution window
var secure = window.location.protocol === 'https:' ? '; Secure' : '';
document.cookie = 'gmx_first_touch=' + encoded + '; Path=/; Expires=' + expires + '; SameSite=Lax' + secure;
} catch (e) {}
})();
/* Meta Pixel base — inline in wp_head so Breeze Delay-All-JS does not defer it; fbevents.js is async-injected (optimizer-invisible). */
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script',
'https://connect.facebook.net/en_US/fbevents.js');/* Symmetric with server GMX_Consent: revoke BEFORE init; cookies/sends held until grant. */
fbq('consent', 'revoke');
fbq('init', '1857131551802431');
fbq('track', 'PageView'); /* queued; flushed to Meta only after consent grant *//* Grant bridge — reads the SAME ATR marketing signal as GMX_Consent.applyConsent(). */
(function () {
function read(name){var m=document.cookie.match('(?:^|; )'+name.replace(/([.*+?^${}()|[\]\\])/g,'\\$1')+'=([^;]*)');return m?decodeURIComponent(m[1]):'';}
function marketingGranted(){
try {
var given = read('atr_cookie_notice_consent_given');
if (!given) return false; // undecided -> stay revoked
var c = JSON.parse(read('atr_cookie_notice_consent') || '{}');
return !!(c.marketing || c.ad_storage === 'granted');
} catch (e) { return false; } // NO-SILENT-OK: parse/read failure degrades gracefully to revoked (consent stays held; no marketing send) — not an error to report.
}
function apply(){ if (marketingGranted()) fbq('consent', 'grant'); }
apply();
document.addEventListener('click', function(ev){
if (ev.target && ev.target.closest && ev.target.closest('[class*="atr-cookie"], #atr-cookie-notice')) setTimeout(apply, 50);
}, true);
window.addEventListener('storage', apply);
})();
var breeze_prefetch = {"local_url":"https://gomixapp.com","ignore_remote_prefetch":"1","ignore_list":["/cart/","/checkout/","/my-account/","https://gomixapp.co.il/(.)/u05d4u05d8u05d5u05e4u05e1-u05e0u05e9u05dcu05d7-u05d1u05d4u05e6u05dcu05d7u05d4/","wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
The Weekly Torah portion (Parashat HaShavua) is the weekly Torah reading held in every synagogue on Shabbat morning. The annual cycle covers 54 portions across the Five Books of the Torah. After the Torah reading, the Haftarah is read – a passage from the Prophets. GoMixApp digital signage automatically displays the portion name, the 7 aliyot, and the Haftarah.
The Weekly Torah portion is at the heart of synagogue Shabbat services – a Torah passage read on an annual cycle. In this article we review the 54 portions in the Torah, the reading order, the Haftarot, the special Shabbatot, and how to display all this information on digital signage in the synagogue.
The Annual Cycle of 54 Torah Portions
The Torah comprises five books: Bereshit (Genesis), Shemot (Exodus), Vayikra (Leviticus), Bamidbar (Numbers), and Devarim (Deuteronomy). The annual reading cycle begins on Simchat Torah (the day after Shemini Atzeret, end of Sukkot) with the portion “Bereshit” – the first reading. The year progresses through all five books and concludes with “V’Zot HaBerachah” (end of Deuteronomy), read on the following Simchat Torah. Immediately afterward the cycle restarts from “Bereshit”.
Bereshit (Genesis) – Creation of the world, the Patriarchs (Abraham, Isaac, Jacob), Joseph and his brothers. Deals with interpersonal relationships and ancestral ethics.
Shemot (Exodus) – The Exodus from Egypt, the Giving of the Torah, commandments, and the building of the Tabernacle. A transition from family narrative to national narrative.
Vayikra (Leviticus) – Sacrifices, priests, and kashrut. The book of law and holiness.
Bamidbar (Numbers) – The Israelites’ 40-year journey in the wilderness, the people’s grievances, and the sin of the spies. The book of choice and faith.
Devarim (Deuteronomy) – Moses’s speeches before his death, a review of the commandments, and the blessing of the tribes. The book of repentance and collective responsibility.
54 portions across the Five Books of the Torah
The 7 Aliyot to the Torah and the Haftarah
Every Shabbat, the portion is divided into 7 aliyot (reading sections), and each section is read by a different oleh (called-up reader). The order of the aliyot is:
Kohen (first) – must be a Kohen (a descendant of Aaron the Priest). If no Kohen is present, an Israelite is called up.
Levi (second) – must be a Levite (from the tribe of Levi).
Yisrael (third-sixth) – 4 aliyot open to any Israelite in the synagogue.
Maftir (seventh) – reads the final aliyah and the Haftarah.
The Haftarah is read immediately after the Torah reading. It is a passage from the books of the Prophets (Joshua, Judges, Samuel, Kings, Isaiah, Jeremiah, Ezekiel, and the Twelve Minor Prophets). The Haftarah is thematically linked to the portion. Examples:
Parashat Beshalach (the splitting of the Red Sea) -> Haftarah of the Song of Deborah (Judges 5)
Parashat Chayei Sarah -> Haftarah of the death of Abraham (1 Kings 1)
Parashat Vayechi -> Haftarah of the death of David (1 Kings 2)
Special Shabbatot and Rosh Chodesh
Throughout the year there are special Shabbatot with a unique Haftarah or an addition to the prayer service:
Shabbat Shekalim, Zachor, Parah, HaChodesh – the four Shabbatot before Passover, each with a unique Haftarah.
Shabbat HaGadol – the Shabbat before Passover. Traditional custom of a rabbinic sermon on Passover laws in the afternoon.
Shabbat Shirah – the Shabbat when Parashat Beshalach (the Song of the Sea) is read. Custom of scattering wheat for the birds.
Shabbat Chazon – the Shabbat before Tisha B’Av, which opens with the Haftarah “Chazon Yeshayahu” (Isaiah 1).
Shabbat Nachamu – the Shabbat after Tisha B’Av, opening with the Haftarah “Nachamu Nachamu Ami” (Isaiah 40).
Rosh Chodesh (the new month) that falls on Shabbat receives separate treatment: a unique Haftarah (“HaShamayim Kis’i”, Isaiah 66) and an addition to the prayer service.
Weekly Torah portion – automatic display every Shabbat
How to Display the Weekly Torah Portion Automatically on a Synagogue Screen
The GoMixApp system for synagogues displays all the information about the Weekly Torah portion automatically every Shabbat – with no manual intervention:
Portion name (“Bereshit”, “Noach”, “Vayera”, etc.)
Breakdown of the 7 aliyot – chapter and verse for each aliyah
Weekly Haftarah – a passage from the Prophets
Previous portion – useful for Sunday-Tuesday display
Automatic detection of special Shabbatot (Shekalim / Zachor / Parah / HaChodesh / HaGadol / Shirah / Chazon / Nachamu)
Detection of Rosh Chodesh and Shabbat Rosh Chodesh
Frequently Asked Questions About the Weekly Torah Portion
How many Torah portions are there in the Torah?
The Torah contains 54 portions (parashot) divided among the Five Books of the Torah: Bereshit (12 portions), Shemot (11), Vayikra (10), Bamidbar (10), and Devarim (11). The annual reading cycle begins on Simchat Torah (after Sukkot) and ends on the following Simchat Torah.
What is a Haftarah?
The Haftarah is a passage from the Prophets (Joshua, Judges, Samuel, Kings, Isaiah, Jeremiah, Ezekiel, or the Twelve Minor Prophets) read after the Torah reading on Shabbat morning. The Haftarah is thematically linked to the Weekly Torah portion – for example, Parashat Beshalach (the splitting of the Red Sea) -> Haftarah of the Song of Deborah (Judges 5).
What are the 7 aliyot to the Torah?
Every Shabbat, the Weekly Torah portion is divided into 7 sections – “aliyot” – and each section is read by a different oleh. The order of the aliyot: Kohen (first), Levi (second), Yisrael (third-sixth), and Maftir (seventh). The seventh oleh also reads the Haftarah.
What are the special Shabbatot?
Special Shabbatot are Shabbatot with a unique Haftarah or an addition to the prayer service. The main ones: Shekalim, Zachor, Parah, HaChodesh (the 4 before Passover), HaGadol (before Passover), Shirah, Chazon (before Tisha B’Av), and Nachamu (after Tisha B’Av). Some also have a special reading in addition to the regular portion.
What is the difference between the Weekly Torah portion in Israel and the Diaspora?
During the summer a mismatch may arise: in the Diaspora the reading falls one portion behind Israel because of the second day of Yom Tov observed outside Israel, which displaces a portion reading. The gap is closed within a few weeks via a double portion (“Matot-Masei”) that the Diaspora reads together.
What is a double portion?
When the number of Shabbatot in a year is fewer than 54, two portions are combined into one reading. The common double portions: Vayakhel-Pekudei, Tazria-Metzora, Acharei-Kedoshim, Behar-Bechukotai, Chukat-Balak, Matot-Masei, Nitzavim-Vayelech. The entire double portion is read as a single unit on the same Shabbat.
Can the Weekly Torah portion be displayed automatically on a synagogue screen?
Yes. The GoMixApp system automatically displays the portion name, the breakdown of the 7 aliyot (including chapter and verse), the Haftarah, and the name of the previous portion. Special Shabbatot are detected automatically. Additionally, Rosh Chodesh and Shabbat Rosh Chodesh are handled separately with a unique Haftarah.
Summary
The Weekly Torah portion is the heart of synagogue life – the Shabbat morning Torah reading is the primary moment of connection between the community and the Torah. Automatic display of the Weekly Torah portion, the 7 aliyot, and the Haftarah on digital signage in the synagogue lets every congregant easily follow the reading and increases comprehension of the text.
var atrCookieNoticeSettings = {"cookieName":"atr_cookie_notice_consent","decisionCookieName":"atr_cookie_notice_consent_given","expiryDays":"365","autoHideDelay":"0","enableDebug":"","siteName":"GoMixApp","isPrivacyPage":"","privacyPolicyUrl":"https://gomixapp.com/privacy-policy/","privacyNoteText":"\ud83d\udca1 You can read this page while deciding about cookies","mode":"simple"};
//# sourceURL=atr-cookie-notice-simple-js-extra