PageSourceSearch

https://www.chardandilminsternews.co.uk/contact/

html chardandilminsternews.co.uk collected 2026-10-02 07:41:07 UTC 137,435 bytes, 3,507 lines download raw bytes

1<!-- standard - CustomHeader-NoAds-Site.html --> <!DOCTYPE html>
2<html lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#">
3<head>
4    <title>Contact &amp; Help | Chard &amp; Ilminster News</title>
5
6    <meta charset="utf-8">
7    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
8    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9    <meta name="OMG-Verify-V1" content="4389-366acdfc-5224-4c07-bb70-f74d8fbfc2db" />
10    <meta name="robots" content="max-image-preview:large">
11    <meta name="format-detection" content="telephone=no">
12
13    <style>
14        .mar-leaderboard--top {
15            display: none;
16        }
17    </style>
18    
18<script>
19        window.doNotAdvertise = true;
20    </script>
20
21    <link rel="canonical" href="https://www.chardandilminsternews.co.uk/contact/" />
22	<meta property="fb:pages" content="263219300372403" />
23	<meta name="title" content="Contact & Help | Chard & Ilminster News"/>
24	<meta name="description" content="Get help, support and contact information for Chard & Ilminster News"/>
25	<meta name="keywords" content=""/>
26
27<script type="application/ld+json">
28    {
29        "@context": "http://schema.org",
30        "@type": "WebPage",
31        "headline": "Contact & Help | Chard & Ilminster News",
32        "url": "https://www.chardandilminsternews.co.uk/contact/"
33    }
34</script>
34
35
36
37
38
39
40
41
42
43    <link id="page_stylesheet_vars" href="/resources/responsive-static/build/mds/css/palette-5-sans-serif-vars.css?r=vjoPdzgg" rel="stylesheet" type="text/css">
44
45    <link href="/resources/responsive-static/build/mds/css/header-footer.css?r=vjoPdzgg" rel="stylesheet" type="text/css">
46
47    <link id="page_stylesheet" href="/resources/responsive-static/build/mds/css/contactus.css?r=vjoPdzgg" rel="stylesheet" type="text/css">
48
49    <link rel="shortcut icon" href="/resources/images/17394486/" type="image/vnd.microsoft.icon">
50    <link rel="icon" href="/resources/images/17394486/" type="image/vnd.microsoft.icon">
51    
51<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha384-1H217gwSVyLSIfaLxHbE7dRb3v4mYCKbpQvzx0cegeju1MVsGrX5xXxAvs/HgeFs" crossorigin="anonymous"></script>
vendor: 1 bytes, line 51
51
52<script src="https://code.jquery.com/jquery-migrate-3.6.0.js" integrity="sha384-ekzRTCLAU/LqHRBjnphRAxgZZvGdoP+TfkGGsX+tBJpRdM7r2/89ZZNzC/7YTJXX" crossorigin="anonymous"></script>
vendor: 1 bytes, line 52
52
53<script type="text/javascript" src="/resources/shared/responsive-sync/?r=vjoPdzgg"></script>
53
54
55<script type="text/javascript">
56    data_layer_helper.setIsArticle(false);
57    data_layer_helper.setCookieDomain('.chardandilminsternews.co.uk');
58    data_layer_helper.setModuleType('Newsquest\Modules\ContactUsModule');
59    data_layer_helper.setLocalInfoFolder('');
60    data_layer_helper.setHomesData('', '', '', 'contact');
61    data_layer_helper.setPrimaryDomain('www.chardandilminsternews.co.uk');
62    data_layer_helper.setPath('/contact/');
63    data_layer_helper.setGoogleNetworkCode('154725070');
64    data_layer_helper.setArticleTimestamp('');
65    data_layer_helper.setPathOverride();
66
67
68    var extraTags = [];
69    
70        extraTags.push('user_level_anonymous');
71    
72
73    var data_layer = {
74        environment: {
75            is_test_site: 'no',
76            is_live_site: 'yes',
77            is_paywall_site: 'yes',
78            is_portable_screen: (data_layer_helper.isMobileScreen()) ? 'yes' : 'no',
79            is_desktop_screen: (data_layer_helper.isMobileScreen()) ? 'no' : 'yes',
80            is_mobile_device: data_layer_helper.getMobileDevice(),
81            is_tablet_device: data_layer_helper.getTabletDevice(),
82            server: 'webapp-857f48ddbd-9d2rt',
83            platform: 'Martini'
84        },
85        site: {
86            id: '91',
87            comments_subscriber_only: 'no',
88            viafoura_site_id: '00000000-0000-4000-8000-a2501c457491',
89            comments_use_viafoura: 'yes',
90            centre_id: '5',
91            centre_name: 'Taunton',
92            country: 'England',
93            name: 'Chard & Ilminster News',
94            name_with_prefix_capitalised_possessive: 'The Chard & Ilminster News\'',
95            name_with_prefix_lower_possessive: 'the Chard & Ilminster News\'',
96            domain: 'www.chardandilminsternews.co.uk',
97            editor_name: 'Milly Vincent',
98            onboarding_enabled: 'no',
99            onboarding_flow_id: 'onboarding_disabled',
100            allowing_mr_replacement: '',
101            cookie_domain: '.chardandilminsternews.co.uk',
102            uses_cmp: 'yes',
103            short_domain: 'chardandilminsternews',
104            using_piano_id: 'yes',
105            enable_skimlinks: 'yes',
106            skimlinks_domain_id: '613675',
107            disable_newsletters: 'no',
108            is_archant_site: 'no',
109            shc_merchant_name: '',
110            piano_application_group: 'Tertiary',
111            piano_site_name: 'Chard & Ilminster News',
112            piano_site_name_possessive: 'Chard & Ilminster News\'',
113            piano_site_name_with_prefix_lower: 'the Chard & Ilminster News',
114            piano_site_name_with_prefix_capitalised: 'The Chard & Ilminster News',
115            piano_site_name_with_prefix_capitalised_possessive: 'The Chard & Ilminster News\'',
116            piano_site_name_with_prefix_lower_possessive: 'the Chard & Ilminster News\'',
117            piano_location_primary: 'Chard and Illminster',
118            piano_location_primary_possessive: 'Chard and Illminster\'s',
119            piano_location_county: 'Somerset',
120            piano_location_county_possessive: 'Somerset\'s',
121            piano_primary_sports_team: '',
122            piano_primary_sports_team_nickname: '',
123            piano_primary_sports_team_sport: '',
124            piano_primary_sports_team_possessive: '',
125            piano_primary_sports_team_nickname_possessive: '',
126            piano_self_service_cancellation_setting: 'All',
127            has_app: 'no',
128            app_provider: '',
129            app_platform: '',
130            app_store_url_ios: '',
131            app_store_url_google_play: '',
132            cloudflare_turnstyle_site_key: '',
133        },
134        page: {
135            module: 'Newsquest\Modules\ContactUsModule',
136            referrer: data_layer_helper.getReferrerHostName(),
137            name: '(www) ' + data_layer_helper.getOmniturePath(),
138            title: document.title,
139            path: data_layer_helper.getOmniturePath(),
140            section: data_layer_helper.getPathFragment(0),
141            subsection: data_layer_helper.getPathFragment(1),
142            subsection_2: data_layer_helper.getPathFragment(2),
143            subsection_3: data_layer_helper.getPathFragment(3),
144            reference: qs.get('ref'),
145            layout: '',
146            ad_timing: data_layer_helper.getCookie('adtiming'),
147            template_namespace: 'standard',
148            template: '',
149            colour_scheme: '',
150            layout_template: '',
151            mds_font: 'sans-serif',
152            user_used_app_last_24hours: '',
153            user_used_app_last_7days: '',
154            user_used_app_last_14days: '',
155            mds_colour_palette: 'palette-5',
156            feature_block_a_enabled: ($('[data-name="Feature Article Block A"]').length > 0) ? 'yes' : 'no',
157            feature_block_b_variant: (typeof $('[data-name="Feature Article Block B"]').data('variant') === 'undefined') ? '' : $('[data-name="Feature Article Block B"]').data('variant'),
158            is_article_list: 'no',
159            error_404: '',
160            top_stories_article_count: '',
161            interstitial_dedupe_top_stories: '',
162            interstitial_desktop_height: '',
163            interstitial_mobile_height: '',
164            interstitial_tablet_height: '',
165            interstitial_piano_module_id: '',
166            interstitial_using_recommendations: '',
167            interstitial_recommendation_header: '',
168            interstitial_article_count: '',
169            news_stories_article_count: '',
170            site_newspaper_archive_enabled: 'no',
171            site_newspaper_archive_number_of_pages: '',
172            site_newspaper_archive_start_year: 0,
173            article_originates_from_this_site: '',
174            article_originates_from_site: '',
175            article_originates_from_url: ''
176        },
177        user: {
178            id: '',
179            first_name: '',
180            advertising_experience: 'Ad-Full',
181            is_privacy_plus: 'no',
182            is_alist: 'no',
183            level: data_layer_helper.getCookie('nq_ul'),
184            seen_cmp: (data_layer_helper.getCookie('_sp_enable_dfp_personalized_ads') === 'true' || data_layer_helper.getCookie('_sp_enable_dfp_personalized_ads') === 'false') ? 'yes' : 'no',
185            given_consent: (data_layer_helper.getCookie('_sp_enable_dfp_personalized_ads') === 'true') ? 'yes' : 'no',
186            consent_string: data_layer_helper.getConsentString(),
187            type: 'anonymous',
188            parsely_type: 'Anonymous',
189            chartbeat_type: 'anon',
190            type_as_int: '1',
191            is_logged_in: 'no',
192            is_admin: 'no',
193            is_internal_admin: '',
194            has_full_admin_link_permissions: '',
195            has_registered: (data_layer_helper.getCookie('nqr') !== null) ? 'yes' : 'no',
196            comments_verified: '',
197            comments_verified_date: '',
198            user_email_is_verified: '',
199            user_email_is_verified_date: '',
200            mobile_number_is_verified: '',
201            mobile_number_is_verified_date: '',
202            user_needs_email_verification: '',
203            user_needs_mobile_verification: '',
204            user_too_many_requests: '',
205            age_decade:  '0' ,
206            gender:  'u' ,
207            is_known: data_layer_helper.getCookie('__siren') ? 'yes' : 'no',
208            hash: '',
209            lr_hash_1: '',
210            lr_hash_2: '',
211            lr_hash_3: '',
212            gender:  'u' ,
213            user_decade:  '0' ,
214            subscription_plan: '',
215            subscription_tier: 'null',
216            subscription_plan_and_frequency: ' - ',
217            commented: (data_layer_helper.isArticle() && qs.get('action') === 'success') ? 'yes' : 'no',
218            time_since_last_visit: 'not implemented (maybe drop)',
219            device: data_layer_helper.getDevice(),
220            using_ad_blocker_sourcepoint: data_layer_helper.getSourcepointAdbockStatus(),
221            admin_user_name: '',
222            is_admin_internal: '',
223            is_admin_external: '',
224            card_expired: '',
225            card_will_expire: '',
226            expires_urgency: '',
227            abandoned_cart: 'no',
228            subscription_expired: 'no',
229            is_archant_site: 'no',
230            signed_up_primary_news_newsletter: 'no',
231            signed_up_primary_sport_newsletter: 'no',
232            played_free_puzzles_last_7days: '',
233            played_paid_puzzles_last_7days: '',
234            commenter_badge: '',
235            upper_role: '',
236        },
237        analytics: {
238            hierachy: 'newsquest,Taunton,www.chardandilminsternews.co.uk,' + data_layer_helper.getPathFragment(3).replace(/\//,','),
239            link_filters: 'javascript:,chardandilminsternews.co.uk,fish4.co.uk,adsys.newsquest.co.uk,www.exchangeandmart.co.uk,www.communigate.co.uk,',
240            tracking_block: data_layer_helper.getTrackingFromCookie('tracking_block', ''),
241            tracking_block_index: data_layer_helper.getTrackingFromCookie('tracking_block_index', ''),
242            previous_page_name: data_layer_helper.getCookie('nq_prev_page'),
243            advert_id: '',
244            position_in_list: data_layer_helper.getTrackingFromCookie('o-prop30', ''),
245            featured_content: data_layer_helper.getTrackingFromCookie('o-ref', qs.get('ref')),
246            account: data_layer_helper.getAccount()
247        },
248        chartbeat: {
249            enabled: "no",
250            id: "",
251            domain: "",
252            sections: ''
253        },
254        parsely: {
255            enabled: "yes",
256            site_id: "chardandilminsternews.co.uk",
257            type: 'Anonymous'
258        },
259        piano: {
260            tags: data_layer_helper.getPianoTags({
261                      piano_domain: 'chardandilminsternews',
262                      piano_master: '',
263                      breaking_news: false,
264                      editorial_opinion: false,
265                      free_subscriber: false,
266                      free_subscriber: false,
267                      has_video: false,
268                      is_article: false,
269                      article_content_level : '',
270                      article_content_level_open_access: false,
271                      picture_gallery_id: false,
272                      user_is_newsquest: false,
273                      user_is_entra_authenticated: false,
274                      user_logged_in: false,
275                      is_live_article: false,
276                      why_free_subscriber: '',
277                      extra_tags: extraTags,
278                      is_covid_headline: false,
279                      is_covid_body: false,
280                      is_alist: false,
281                      audio_provider_bytecast: false
282                  }
283            ),
284            custom_variables: {
285                article_length: '',
286                application_group: 'Tertiary',
287                content_is_editorial_opinion: 'no',
288                base_url: 'https://www.chardandilminsternews.co.uk',
289                full_url: document.location.href,
290                from_discover: (document.referrer === "android-app://com.google.android.googlequicksearchbox/") ? 'yes' : 'no',
291                mds_font: 'sans-serif',
292                mds_colour_palette: 'palette-5',
293                site_name: 'Chard & Ilminster News',
294                site_name_possessive: 'Chard & Ilminster News\'',
295                site_name_with_prefix_capitalised: 'The Chard & Ilminster News',
296                site_name_with_prefix_lower: 'the Chard & Ilminster News',
297                site_name_with_prefix_capitalised_possessive: 'The Chard & Ilminster News\'',
298                site_name_with_prefix_lower_possessive: 'the Chard & Ilminster News\'',
299                location_primary: 'Chard and Illminster',
300                location_primary_possessive: 'Chard and Illminster\'s',
301                location_county: 'Somerset',
302                location_county_possessive: 'Somerset\'s',
303                site_has_primary_sports_team: 'no',
304                primary_sports_team: '',
305                primary_sports_team_nickname: '',
306                primary_sports_team_sport: '',
307                primary_sports_team_possessive: '',
308                primary_sports_team_nickname_possessive: '',
309                site_id: '91',
310                content_level: '',
311                content_author: '',
312                content_id: '',
313                content_is_article: 'no',
314                content_primary_topic: '',
315                user_seen_consent_modal: ($.cookie('_sp_enable_dfp_personalized_ads') === 'true' || $.cookie('_sp_enable_dfp_personalized_ads') === 'false') ? 'yes' : 'no',
316                site_section: data_layer_helper.getPathFragment(0, true),
317                article_published_yyyy: '',
318                user_played_free_puzzles_last_7days: '',
319                user_played_paid_puzzles_last_7days: '',
320                anon_user_played_free_puzzles_last_7days: data_layer_helper.untrackedPuzzleCheck(),
321                home_delivery_phone_number: '0800 953 0227',
322                content_is_restricted: data_layer_helper.getRestrictedContent('', '', '', ''),
323                day_of_week: data_layer_helper.getDayOfWeek(),
324                user_card_expired: '',
325                user_card_will_expire: '',
326                user_expires_urgency: '',
327                user_used_app_last_24hours: '',
328                user_used_app_last_7days: '',
329                user_used_app_last_14days: '',
330                user_subscription_tier: 'null',
331                user_is_newsquest: 'no',
332                primary_news_newsletter_id: '860',
333                primary_news_newsletter_name: 'the Morning Briefing',
334                primary_news_newsletter_description: 'The latest Chard and Ilminster stories, in your inbox every morning.',
335                primary_sport_newsletter_id: '861',
336                primary_sport_newsletter_name: 'the Sports AM',
337                primary_sport_newsletter_description: 'Keep up to date with the latest Chard and Ilminster sport headlines.',
338                user_signed_up_primary_news_newsletter: 'no',
339                user_signed_up_primary_sport_newsletter: 'no',
340                newsletter_auto_promote: '',
341                newsletter_auto_promote_name: '',
342                newsletter_auto_promote_description: '',
343                newsletter_auto_promote_ID: '',
344                site_has_app: 'no',
345                site_app_store_url_ios: '',
346                site_app_store_url_google_play: '',
347                subsets_experiment_id: '',
348                site_section1: data_layer_helper.getPathFragment(1, true), // GBL required
349                site_newspaper_archive_enabled: 'no',
350                site_newspaper_archive_number_of_pages: '',
351                site_newspaper_archive_start_year: 0,
352                article_originates_from_this_site: '',
353                article_originates_from_site: '',
354                article_originates_from_url: ''
355            },
356            native_variables: {
357                setContentCreated: '',
358                setContentIsNative:  'no',
359                setContentAuthor: '',
360                setContentSection: data_layer_helper.getPathFragment(0, true)
361            }
362        },
363        article: {
364            cscore:'',
365            showing_preview: '',
366            is_article: data_layer_helper.isArticle() ? 'yes' : 'no',
367            id : '',
368            length_type: '',
369            character_count: '',
370            author: ''.toLowerCase(),
371            e_var15: ''.toLowerCase(),
372            context: '',
373            content_level: '',
374            content_level_open_access: '',
375            content_level_combined: ',,no',
376            content_is_restricted: data_layer_helper.getRestrictedContent('', '', '', ''),
377            increment: (data_layer_helper.isArticle()) ? '+1' : '',
378            sponsor: '',
379            contributions: '0',
380            is_sponsored: 'no',
381            headline: '',
382            age: data_layer_helper.getArticleAge(),
383            upload_date: '',
384            publish_date: '',
385            update_date: '',
386            rating: '',
387            source: data_layer_helper.getSource(''),
388            subjects: (typeof articleSubjects === 'object') ? articleSubjects.join(',') : '',
389            context: '',
390            grapeshot_context: (typeof gs_channels !== 'undefined') ? gs_channels : '',
391            allow_comments: 'no',
392            total_comments: '',
393            originating_site_id: '',
394            parent_article_site_id: '',
395            parent_article_id: '',
396            originating_article_id: '',
397            parent_originating_site_id: '',
398            is_original_to_site: '',
399            is_cloned: '',
400            parent_article_url: '',
401            use_skimlinks: 'no',
402            content_primary_topic: '',
403            taxonomy: {
404                article_types: '',
405                topics: '',
406                sports: '',
407                sports_teams: '',
408                locations: '',
409                shared_content: '',
410                free_tags: '',
411                farming: ''
412            },
413            audio: {
414                has_audio: 'no',
415                provider: ''
416            },
417            article_comments_use_viafoura: ''
418        },
419        homes: {
420            search_bedrooms_minimum: '',
421            search_location: 'contact',
422            search_price_minimum: '',
423            search_price_maximum: '',
424            list: '',
425            id: ''
426        },
427        video: {
428            exists: 'no',
429            auto_play_enabled: data_layer_helper.getAutoPlay('no')
430        },
431        contributions: {
432            allow_text: '',
433            allow_image: '',
434            user_contributions_number: '0',
435            has_user_contributions: 'no'
436        },
437        search: {
438            keywords: qs.get('search'),
439            results: ''
440        },
441        announcements: {
442            category: ''
443        },
444        config: {
445            google_analytics_id: '',
446            site_template_set: 'standard',
447            path: '/contact/',
448            top_level_section: 'contact',
449            polar_property_id: 'NA-CHAR-11238109',
450            gallery_show_advert_after: '5',
451            disable_outbrain_with_ad_light: 'no',
452            disable_outbrain: 'no',
453        },
454        dfp: {
455            is_landing: 'yes',
456            module_path: 'contact',
457            weather_band: '11-15',
458            weather_summary: 'sun'.toLowerCase(),
459            id: data_layer_helper.getGoogleId(),
460            display_screen: data_layer_helper.isMobileScreen() ? 'mobile' : 'desktop',
461            can_show_billboard: (window.screen.width > 960) ? 'y' : 'n'
462        },
463        dates: {
464            date: (new Date()).toLocaleDateString('en-GB'),
465            hour: (new Date()).getHours(),
466            day: data_layer_helper.getDayOfWeek(),
467            weekend: ((new Date()).getDay() === 6 || (new Date()).getDay() === 0) ? 'Weekend' : 'Weekday'
468        },
469        memorials: {
470            contact_phone_number: '',
471            contact_email_address: '',
472            publications: JSON.parse('' || '[]'),
473            user: {
474                id: '',
475                email_verified: 'no',
476                type: ''
477            },
478            funeral_director: {
479                id: '',
480                person_urn: ''
481            }
482        }
483    }
484
485    data_layer_helper.storeCurrentPageName(data_layer.page.name);
486
487    window.dispatchEvent(new Event('data-layer-loaded'))
488
489      data_layer.piano.custom_variables.user_used_app_last_24hours = 'no';
490      data_layer.piano.custom_variables.user_used_app_last_7days = 'no';
491      data_layer.piano.custom_variables.user_used_app_last_14days = 'no';
492  if (data_layer.article.is_article !== 'yes') {
493      data_layer.piano.custom_variables.site_module = 'Newsquest\Modules\ContactUsModule';
494      data_layer.piano.custom_variables.puzzles_landing_page = 'no';
495      data_layer.piano.custom_variables.puzzles_display_page = 'no';
496  }
497</script>
497
498 
499<script
500  src="https://assets.adobedtm.com/499440d21de9/54b957ecfb7e/launch-98090dfa3d73.min.js"
501  async
502></script>
502
503 
504
505<script>"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){var t=function(){var t,e,o=[],n=window,r=n;for(;r;){try{if(r.frames.__tcfapiLocator){t=r;break}}catch(t){}if(r===n.top)break;r=r.parent}t||(!function t(){var e=n.document,o=!!n.frames.__tcfapiLocator;if(!o)if(e.body){var r=e.createElement("iframe");r.style.cssText="display:none",r.name="__tcfapiLocator",r.title="tcfapiLocator",e.body.appendChild(r)}else setTimeout(t,5);return!o}(),n.__tcfapi=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return o;"setGdprApplies"===n[0]?n.length>3&&2===parseInt(n[1],10)&&"boolean"==typeof n[3]&&(e=n[3],"function"==typeof n[2]&&n[2]("set",!0)):"ping"===n[0]?"function"==typeof n[2]&&n[2]({gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"}):o.push(n)},n.addEventListener("message",(function(t){var e="string"==typeof t.data,o={};if(e)try{o=JSON.parse(t.data)}catch(t){}else o=t.data;var n="object"===_typeof(o)&&null!==o?o.__tcfapiCall:null;n&&window.__tcfapi(n.command,n.version,(function(o,r){var a={__tcfapiReturn:{returnValue:o,success:r,callId:n.callId}};t&&t.source&&t.source.postMessage&&t.source.postMessage(e?JSON.stringify(a):a,"*")}),n.parameter)}),!1))};"undefined"!=typeof module?module.exports=t:t()}();</script>
505
506
507<script type = "text/javascript">
508( function () {
509
510    window._sp_ = {
511        config: {
512            baseEndpoint: 'https://a02342.chardandilminsternews.co.uk',
513            accountId: 52,
514            targetingParams:{
515                subscribed: false,
516                privacy: false
517            },
518            gdpr: { },
519            events: {
520                onMessageReady: function (message_type) {
521                    trackSPEvents('event76');
522                },
523                onMessageChoiceSelect: function (message_type, choice_id, choice_type_id) {
524                    console.log('message_type: ', message_type);
525                    console.log('choice_id: ', choice_id);
526                    console.log('choice_type_id: ', choice_type_id);
527                    if ('yes' === 'yes') {
528                        if (choice_type_id === 12) {
529                            trackSPEvents('event83'); //Consent Banner Reject All
530                            trackSPEvents('event82'); //Journalism Message Shown
531                        }
532                        if (choice_type_id === 11) {
533                            trackSPEvents('event78');
534                        }
535                        if (choice_type_id === 9) {
536                            trackSPEvents('event77');
537                        }
538                    } else {
539                        // these are the second argument in non-gate
540                        if (choice_type_id === 12) {
541                            trackSPEvents('event77');
542                        }
543
544                        if (choice_type_id === 11) {
545                            trackSPEvents('event78');
546                        }
547
548                        if (choice_type_id === 13) {
549		                    trackSPEvents('event83');
550                        }
551                    }
552                },
553                onPrivacyManagerActionStatus: function(message_type, status, actionType) {
554                    console.log('message_type: ' + message_type);
555                    console.log('status: ' + status);
556                    console.log('actionType: ' + actionType);
557                    if ('yes' === 'yes') {
558                        if (actionType === 11) {
559                            trackSPEvents('event79'); //Privacy Manager Accept
560                        }
561                        if (actionType === 9) {
562                            trackSPEvents('event68'); //Privacy Manager Redirect
563                        }
564                        if (actionType === 1) {
565                            trackSPEvents('event75'); //Forced tcf String Change
566                        }
567                    } else {
568                    // these are the second argument in non-gate
569                        if (actionType === 13) {
570                            trackSPEvents('event81'); //Privacy Manager Reject
571                        }
572                        if (actionType === 11) {
573                            trackSPEvents('event79'); //Privacy Manager Accept
574                        }
575                        if (actionType === 1) {
576                            trackSPEvents('event80'); //Privacy Manager Save & Exit
577                        }
578                    }
579                },
580                onPMCancel: function (message_type) {
581                    console.log('onPMCancel', message_type);
582                    trackSPEvents('event84'); //Privacy Manager Back
583                },
584            }
585        }
586    }
587
588    if (typeof window.__tcfapi === 'function') {
589        window.__tcfapi('addEventListener', 2, function (tcData, success) {
590            console.log('SP: Event Listen:', tcData, success);
591            if (success && tcData.eventStatus === 'useractioncomplete') {
592                setTcfCookie(tcData.purpose.consents, tcData.purpose.legitimateInterests);
593
594                var csnt = 'none';
595                if ($.cookie('_sp_enable_dfp_personalized_ads') === 'true') {
596                    csnt = 'yes';
597                } else if ($.cookie('_sp_enable_dfp_personalized_ads') === 'false') {
598                    csnt = 'no';
599                }
600                googletag.cmd.push(function() {
601                    // console.log('DFP: Cookie check - setting dfpcsnt to ', csnt);
602                    googletag.pubads().setTargeting('dfpcsnt', csnt);
603                });
604                // ready to start DFP
605                // console.log('PIANO: setting unrestricted via useractioncomplete');
606                // runPiano('unrestricted');
607                startAdvertising(tcData.listenerId);
608
609                var e = new Event('launch:cmp:choice-made');
610                window.dispatchEvent(e);
611            } else if (success && tcData.eventStatus === 'tcloaded') {
612                // tcloaded means a valid TCF v2.0 string is available
613                // console.log('PIANO: setting unrestricted via tcloaded');
614                // runPiano('unrestricted');
615                if (tcData.gdprApplies === false) {
616                    $.cookie('_sp_enable_dfp_personalized_ads', 'true', {domain: '.chardandilminsternews.co.uk', path: '/', expires: 100});
617                }
618                startAdvertising(tcData.listenerId);
619
620            } else if (success && tcData.eventStatus === 'useractionnotcomplete') {
621                // do nothing - this means the user has not made a choice yet
622            } else if (success && tcData.eventStatus === 'cmpuishown') {
623                // do nothing - this means the CMP UI has been shown
624            } else if (!success) {
625                // $.cookie('_sp_enable_dfp_personalized_ads', 'true', {domain: '.chardandilminsternews.co.uk', path: '/', expires: 100});
626                // startAdvertising();
627            } else {
628                // console.log('PIANO: setting restricted');
629                // runPiano('restricted');
630            }
631        });
632    }
633
634    
635
636    document.addEventListener('click', function (e) {
637        const option = e.target.closest('.gdpr-option-v2');
638
639        if (!option) return;
640
641        e.preventDefault();
642        sendEvent76 = false;
643
644        const id = option.dataset.v2Id;
645        const isGate = option.dataset.isGate;
646
647        if (isGate === 'yes') {
648            trackSPEvents('event87');
649            _sp_.gdpr.loadPrivacyManagerModal(id);
650        } else {
651            trackSPEvents('event77');
652            _sp_.gdpr.loadPrivacyManagerModal(id);
653        }
654    });
655
656    function getTcfData() {
657        if (typeof window.__tcfapi !== 'function') {
658            console.warn('TCF API unavailable');
659            return;
660        }
661        window.__tcfapi('addEventListener', 2, function(data, success) {
662            if (!data.purpose || !data.purpose.consents || !data.purpose.legitimateInterests) {
663                // console.log('DFP: No TCF data found, not setting cookies');
664                return;
665            }
666            setTcfCookie(data.purpose.consents, data.purpose.legitimateInterests);
667        }, [755]);
668    }
669    getTcfData();
670
671    function setTcfCookie(data, legitimateInterests) {
672        var consents = [];
673        $.each(data, function(id, consent)  {
674            var c = (consent === true) ? 'yes' : 'no';
675            consents.push(c)
676        });
677        // console.log('DFP: consents length: ', consents.length);
678        if (consents.length !== 10) {
679            // consents = consents.fill('no', consents.length, 10);
680            for (var i = consents.length; i < 10; i++) {
681                consents[i] = 'no';
682            }
683        }
684        // console.log('DFP: Found consents to store in cookie:', consents);
685        $.cookie('prev-tcf-v2', consents.join(','), {domain: '.chardandilminsternews.co.uk', path: '/', expires: 100});
686
687        var consentEvent4 = 'none';
688        if (typeof data[4] !== 'undefined') {
689            consentEvent4 = data[4] ? 'true' : 'false';
690        }
691        $.cookie('_sp_enable_dfp_personalized_ads', consentEvent4, {domain: '.chardandilminsternews.co.uk', path: '/', expires: 100});
692
693        var legitInterest = 'none';
694        if (legitimateInterests && typeof legitimateInterests[2] !== 'undefined') {
695            legitInterest = legitimateInterests[2] ? 'true' : 'false';
696        }
697
698        $.cookie('_sp_legitimate_interests', legitInterest , {domain: '.chardandilminsternews.co.uk', path: '/', expires: 100});
699    }
700
701    var sendEvent76 = true;
702
703    function trackSPEvents(events) {
704        if (events === 'event76' && !sendEvent76) {
705            return;
706        } else if (events === 'event76') {
707            sendEvent76 = false;
708        }
709
710        if (typeof window.s !== 'object') {
711            // console.log('DFP: No window.s object found, trying again in 1 second');
712            window.setTimeout(function () { trackSPEvents(events)} , 1000);
713            return;
714        }
715
716        // console.log("ADB: Tracking %s", events);
717        // Re-create the Omniture object so the data can be tracked.
718        var s = window.s;
719
720        if (events.indexOf('event70') !== -1) {
721            // console.log('DFP: Events passed, added evars');
722            s.eVar35 = 'enabled';
723            s.prop35 = 'enabled';
724        }
725
726        s.events = events;
727        s.linkTrackEvents = events;
728        s.linkTrackVars = "eVar2,eVar3,eVar4,eVar5,eVar6,evar7,evar8,evar9,eVar16,eVar19,eVar26,eVar35,eVar43,eVar67,prop35";
729        s.suppressPageView = true;
730        s.tl(true,'o','Ad Block');
731    }
732
733    function startAdvertising(id)
734    {
735        if (typeof window.doNotAdvertise !== 'undefined' && window.doNotAdvertise === true) {
736            return;
737        }
738
739        // console.log("DFP: Is the page fully loaded?", window.googleReady);
740        if (window.googleReady !== true) {
741            window.setTimeout(function () {
742                // console.log('DFP: Google not fully loaded yet, pausing quarter of a second before trying again');
743                startAdvertising(id);
744            }, 250);
745            return;
746        }
747
748        // Ensure that we never run this code twice
749        if (window.advertisingStart === true) {
750            return;
751        }
752        // console.log('DFP: Running advertisement');
753        window.advertisingStart = true;
754
755        var googletag = window.googletag;
756        // init google objects and array
757        (function() {
758            var gads = document.createElement('script');
759            gads.async = true;
760            gads.type = 'text/javascript';
761            gads.src = 'https://securepubads.g.doubleclick.net/tag/js/gpt.js';
762            var node = document.getElementsByTagName('script')[0];
763            node.parentNode.insertBefore(gads, node);
764        })();
765
766        // launch the exco slideshow player
767        launchExcoSlideshow();
768
769        // load facebook etc
770        loadSocials();
771
772        // Checking our decision to use headerbidding (shorterned as prebid) is correct
773        // via system logic, and that we have the simplified consent to do so
774        if (usePrebid && $.cookie('_sp_enable_dfp_personalized_ads') === 'true') {
775            var e = new Event('launch:sourcepoint:consentaccepted');
776            window.dispatchEvent(e);
777
778            // AP code initialisation
779            // the script is loaded via launch, once we have detected a consent signal via the datalayer.
780            fetchAp();
781
782            var site = 'desktop';
783            var _site = 'desktop';
784
785            // load IAS scripts and set up vars
786            (function() {
787                var ias = document.createElement('script');
788                ias.async = true;
789                ias.type = 'text/javascript';
790                ias.src = 'https://cdn.adsafeprotected.com/iasPET.1.js';
791                var node = document.getElementsByTagName('script')[0];
792                node.parentNode.insertBefore(ias, node);
793            })();
794
795            // load the prebid script
796            (function() {
797                var pbs = document.createElement('script');
798                pbs.async = true;
799                pbs.type = 'text/javascript';
800                pbs.src = 'https://micro.rubiconproject.com/prebid/dynamic/11022.js?group=newsquest';
801                var node = document.getElementsByTagName('script')[0];
802                node.parentNode.insertBefore(pbs, node);
803            })();
804
805            // tell google to actually get the bids from all relevant vendors when loaded
806            googletag.cmd.push(function () {
807                fetchHeaderBids();
808            });
809        }
810
811        // Outbrain
812        if (
813            (window.data_layer.user.advertising_experience === 'Ad-Free' || window.data_layer.config.disable_outbrain === 'yes') ||
814            (window.data_layer.user.advertising_experience === 'Ad-Light' && window.data_layer.config.disable_outbrain_with_ad_light === 'yes')
815        ) {
816            // console.log("No Outbrain script loading due to page settings");
817        } else {
818            // console.log("Loading Outbrain");
819            var ob = document.createElement('script');
820            ob.async = true;
821            ob.type = 'text/javascript';
822            ob.src = 'https://widgets.outbrain.com/outbrain.js';
823            var node = document.getElementsByTagName('script')[0];
824            node.parentNode.insertBefore(ob, node);
825        }
826
827
828        // remove the listener
829        if (id !== null) {
830            window.__tcfapi('removeEventListener', 2, function (success) { }, id);
831        }
832    }
833
834    /**
835     * Wait until we have advertising consent to show this advertising
836     * based replacement for the single image on our article pages
837     * This logic is based on excoSlidshowPlayerID that only appears on the page
838     * if a user is NOT a subscriber (including privacy plus) and the page has the
839     * correct information to show it (doesn't have a video, not in sport etc)
840     */
841    function launchExcoSlideshow() {
842        const slideShowPlayerId = window.excoSlideshowPlayerId;
843        // if we do not have a player id, we do not need to do anything
844        if (!slideShowPlayerId) {
845            return;
846        }
847
848        // this is exco's supplied code, modified for our use
849        (function (d, s, n) {
850            fjs = d.getElementsByTagName(s)[0];
851            js = d.createElement(s);
852            js.className = n;
853            js.src = '//player.ex.co/player/' + slideShowPlayerId;
854            js.setAttribute('programmatic', 'true');
855	        js.onload = function () {
856                const playerApi = ExCoPlayer.connect(slideShowPlayerId);
857                playerApi.init({});
858
859                playerApi.on('player-load', function(data) {
860                    $('.mar-article-image').remove();
861                    if (window.screen.width > 800) {
862                        $('.article-hero').attr('style', 'order: 1');
863                    }
864                    window.hide_overlay_for_exco = true;
865                });
866            };
867            fjs.parentNode.insertBefore(js, fjs);
868        }(document, 'script', 'exco-player'));
869    }
870
871    function loadSocials()
872    {
873        const socials = [
874            'https://platform.twitter.com/widgets.js',
875            'https://connect.facebook.net/en_US/all.js#xfbml=1',
876            'https://www.tiktok.com/embed.js',
877        ];
878
879        socials.forEach((social) => {
880            var script = document.createElement('script');
881            script.src = social;
882            script.async = true;
883            document.getElementsByTagName('head')[0].appendChild(script);
884        });
885    }
886
887
888})();
889
890</script>
vendor: 1 bytes, line 890
890
891<script src="https://a02342.chardandilminsternews.co.uk/unified/wrapperMessagingWithoutDetection.js"></script>
891
892
893<script>
894window.usePiano = true;
895window.selectedOfferId = null;
896window.selectedTermId = null;
897</script>
vendor: 1 bytes, line 897
897
898<script>
899document.cookie = "__adblocker=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/";
900var setNptTechAdblockerCookie = function(adblocker) {
901    var d = new Date();
902    d.setTime(d.getTime() + 60 * 60 * 24 * 2 * 1000);
903    document.cookie = "__adblocker=" + (adblocker ? "true" : "false") + "; expires=" + d.toUTCString() + "; path=/";
904}
905var script = document.createElement("script");
906script.setAttribute("async", true);
907script.setAttribute("src", "//www.npttech.com/advertising.js");
908script.setAttribute("onerror", "setNptTechAdblockerCookie(true);");
909document.getElementsByTagName("head")[0].appendChild(script);
910</script>
910
911
912<script>
913// window.pdl = window.pdl || {};
914// window.pdl.requireConsent = 'v2';
915
916// Store entry point unless it's a user or subscribe page
917// to redirect after subscription
918const excludedPaths = ['/user/', '/subscribe/'];
919
920const shouldExclude = excludedPaths.some(path =>
921  window.location.pathname.includes(path)
922);
923
924if (!shouldExclude) {
925  sessionStorage.setItem(
926    'last_piano_page_interacted_with',
927    window.location.pathname
928  );
929}
930
931tp = window.tp || [];
932
933function runPiano(restrictedMode) {
934    // console.log('Running Piano with restricted mode:', restrictedMode);
935    // tp.push(['init', function() {
936    //      console.log('Piano purpose map, before calling setAllPurposes()', tp.consent.getByPurpose());
937    // }]);
938    // if (restrictedMode === 'restricted') {
939    //     // If we're in restricted mode, we need to set some specific parameters
940    //     tp.push(['init', function() {
941    //         tp.consent.setAllPurposes('opt-out')
942    //     }]);
943    // } else {
944    //     tp.push(['init', function() {
945    //         tp.consent.setAllPurposes('opt-in')
946    //     }]);
947    // }
948    // tp.push(['init', function() {
949    //     console.log('Piano purpose map, after calling setAllPurposes()', tp.consent.getByPurpose());
950    // }]);
951    // init Piano ID
952    tp.push(['init', function() {
953        tp.pianoId.init();
954    }]);
955
956    const isGooglebot = window.isRobot.googleBot();
957
958    const isArticle = (data_layer.article.is_article === 'yes');
959
960    const isCl3 = (parseInt(data_layer.article.content_level, 10) === 3);
961
962    if (isGooglebot) {
963        // we don't load Piano from all non-article pages
964        if (!isArticle) {
965            return;
966        }
967
968        // If we are on an article, we do not load piano on CL0, 1, or 2
969        if (!isCl3) {
970            return;
971        }
972    }
973    Object.keys(data_layer.piano.custom_variables).forEach(function (k) {
974        var v = data_layer.piano.custom_variables[k];
975
976        if (v != '') {
977            tp.push(["setCustomVariable", k, v]);
978        }
979    });
980
981    Object.keys(data_layer.piano.native_variables).forEach(function (k) {
982        var v = data_layer.piano.native_variables[k];
983        if (v != '') {
984            tp.push([k, v]);
985        }
986    });
987
988    tp.push(['setTags', data_layer.piano.tags]);
989
990   (function(src){
991        var a=document.createElement("script");
992        a.type = "text/javascript";
993        a.async=true;
994        a.src=src;
995        var b=document.getElementsByTagName("script")[0];
996        b.parentNode.insertBefore(a, b)
997    })("//experience.tinypass.com/xbuilder/experience/load?aid=SfQXKPDlpu");
998}
999
1000// Init Piano
1001const debug = document.cookie
1002    .split('; ')
1003    .find(row => row.startsWith('debug='))
1004    ?.split('=')[1];
1005
1006tp.push(["setDebug", debug === '1']);
1007
1008tp.push(["setApplePayMerchantId", 'merchant.nq.subssites.piano']);
1009
1010tp.push(["setUsePianoIdUserProvider", true ]);
1011
1012tp.push(["addHandler", "loginRequired", function(params) {
1013    // If they're already signed in, we don't need to do anything special.
1014    if (tp.user.isUserValid()) {
1015        return;
1016    }
1017    if (typeof window._overridePianoDefault !== 'undefined' && window._overridePianoDefault !== true) {
1018        console.log("TPL Called")
1019        tp.pianoId.show({
1020            screen: 'login',
1021            displayMode: 'modal',
1022            loggedIn: (data) => {
1023                pianoId.loggedIn();
1024            },
1025            loggedOut: () => {
1026                console.log('TP-TJ: user logged out');
1027            },
1028            registrationSuccess: () => {
1029                pianoId.registered();
1030            },
1031            width: '500px',
1032            height: '460px',
1033        });
1034    }
1035}]);
1036
1037tp.push(["addHandler", "checkoutSelectTerm", function (termDetails) {
1038    if (typeof termDetails.termId !== 'undefined') {
1039        window.selectedTermId = termDetails.termId;
1040    }
1041}]);
1042
1043tp.push(["addHandler", "showTemplate", function (templateParams) {
1044    showPianoTarget(templateParams);
1045}]);
1046
1047tp.push(["addHandler", "showOffer", function (offerParams) {
1048    window.shownOffer = true;
1049
1050    // Store some data we might need later.
1051    if (typeof offerParams.offerId !== 'undefined') {
1052        window.selectedOfferId = offerParams.offerId;
1053    }
1054
1055    showPianoTarget(offerParams);
1056}]);
1057
1058function handleFullWidthBanner(selector) {
1059    if (selector === '#po-overlay-articlegate-full-width-full-article-scroll-below') {
1060        document.querySelector(selector).classList.add(selector.replace('#', ''));
1061    }
1062    document.querySelector(selector).style.minHeight = "254px";
1063    document.querySelector('#subscription-content').style.display = 'none';
1064    document.querySelectorAll('.send-us-your-news-cta').forEach((el) => { el.style.display = 'none'; });
1065    document.querySelectorAll('.mega-news-block').forEach((el) => { el.style.display = 'none'; });
1066
1067    const block = document.querySelector(selector);
1068    const containerBlock = block.parentElement;
1069    const containerBlockHeight = 254; // to prevent abrupt jumping
1070
1071    if (!block) { return; }
1072
1073    block.style.display = 'block';
1074
1075    const blockRect = block.getBoundingClientRect();
1076    const startTop = blockRect.top + window.scrollY;
1077    const blockHeight = blockRect.height;
1078    const screenWidth = window.screen.width;
1079
1080    let lastState = ''; // 'top', 'bottom', 'default'
1081
1082    function getScrollbarWidth() {
1083        return window.innerWidth - document.documentElement.clientWidth;
1084    }
1085
1086    function updatePosition() {
1087        const scrollY = window.scrollY;
1088        const viewportHeight = window.innerHeight;
1089        const bottomTrigger = startTop + blockHeight - viewportHeight;
1090
1091        let newState = 'default';
1092
1093        if (scrollY > startTop && screenWidth >= 768) {
1094            newState = 'top';
1095        } else if (scrollY < bottomTrigger && screenWidth >= 768) {
1096            newState = 'bottom';
1097        } else if (scrollY < bottomTrigger + 90 && screenWidth < 768) {
1098            newState = 'bottom-mobile';
1099        }
1100
1101        const scrollbarWidth = getScrollbarWidth();
1102
1103        if (newState !== lastState) {
1104            switch (newState) {
1105                case 'top':
1106                    block.style.position = 'fixed';
1107                    block.style.top = '0';
1108                    block.style.bottom = 'auto';
1109                    block.style.marginLeft = '0';
1110                    block.style.marginRight = '0';
1111                    containerBlock.style.minHeight = `${containerBlockHeight}px`;
1112                    break;
1113
1114                case 'bottom':
1115                    block.style.position = 'fixed';
1116                    block.style.bottom = '0';
1117                    block.style.top = 'auto';
1118                    block.style.marginLeft = '0';
1119                    block.style.marginRight = '0';
1120                    block.style.width = `calc(100vw - ${scrollbarWidth}px)`;
1121                    containerBlock.style.minHeight = 'unset';
1122                    break;
1123
1124                case 'bottom-mobile':
1125                    block.style.position = 'fixed';
1126                    block.style.bottom = '90px';
1127                    block.style.top = 'auto';
1128                    block.style.marginLeft = 'calc(-100vw + 100%)';
1129                    block.style.marginRight = 'calc(-100vw + 100%)';
1130                    containerBlock.style.minHeight = 'unset';
1131                    break;
1132
1133                default:
1134                    block.style.position = '';
1135                    block.style.top = '';
1136                    block.style.bottom = '';
1137                    block.style.width = `calc(100vw - ${scrollbarWidth}px)`;
1138                    block.style.marginLeft = '-100vw';
1139                    block.style.marginRight = '-100vw';
1140                    containerBlock.style.minHeight = 'unset';
1141                    break;
1142            }
1143
1144            lastState = newState;
1145        }
1146
1147        requestAnimationFrame(updatePosition);
1148    }
1149
1150    updatePosition();
1151    window.addEventListener('resize', updatePosition);
1152}
1153
1154function trackLocation(forceValidLocation = false) {
1155    var currentLocation = window.location.pathname;
1156
1157    let valid = false;
1158
1159    if (currentLocation.indexOf('puzzles') > -1) {
1160        valid = true;
1161    }
1162
1163    if (currentLocation.indexOf('pagesuite') > -1) {
1164        valid = true;
1165    }
1166
1167    var articleMatch = currentLocation.match(/(\d+)\.[^\/]+\/(r\/)?$/);
1168    if (articleMatch != null) {
1169        valid = true;
1170    }
1171
1172    if (forceValidLocation) {
1173        valid = true;
1174    }
1175
1176    if (currentLocation.indexOf('subscribe') > -1) {
1177        valid = false;
1178    }
1179
1180    if (!valid) {
1181        return;
1182    }
1183
1184    $.cookie('last-piano-page-interacted-with', currentLocation, {path: '/', domain: window.data_layer.site.cookie_domain});
1185}
1186
1187function trackPianoWithNewRelic(templateName) {
1188    if (this.newrelic && typeof this.newrelic === 'object') {
1189        newrelic.setCustomAttribute('user_was_shown_piano_experience', templateName);
1190    }
1191}
1192
1193function handleOfferShow(params) {
1194    console.log('Piano params', params);
1195
1196    // If on the subscription page and the URL has a term ID and offer ID, show the relevant offer.
1197    if (typeof location.pathname !== 'undefined' && location.pathname === '/subscribe/') {
1198        var offerId = location.search.match(/offer_id=([A-Z0-9]+)/);
1199        if (offerId !== null && offerId.length > 1) {
1200            offerId = offerId[1];
1201        }
1202        var termId = location.search.match(/term_id=([A-Z0-9]+)/);
1203        if (termId !== null && termId.length > 1) {
1204            termId = termId[1];
1205        }
1206        if (offerId !== null && termId !== null) {
1207            tp.offer.show({'termId': termId, 'offerId': offerId});
1208        }
1209    }
1210
1211    // we are only tracking
1212    var templateId = params.templateId;
1213    var variantId = params.templateVariantId;
1214    if (params.containerSelector !== '#po-inline-articlegate-fullarticle' &&
1215        params.containerSelector !== '#po-overlay-articlegate-full-width-full-article-scroll-below' &&
1216        params.containerSelector !== '#po-inline-articlegate-partialarticle' &&
1217        params.containerSelector !== '#po-overlay-articlegate-full-width-scroll-below'
1218    ) {
1219        $.get('/ws/piano/templatename/', {template_id: templateId, variant_id: variantId}, function (response) {
1220            trackPianoSimplified(params, response.name);
1221        });
1222        return;
1223    }
1224
1225
1226    $.get('/ws/piano/templatename/', {template_id: templateId, variant_id: variantId}, function (response) {
1227        trackPiano(params, response.name);
1228    });
1229}
1230
1231function trackPiano(params, templateName) {
1232    trackPianoWithNewRelic(templateName);
1233
1234    if (typeof params.activeMeters === 'string') {
1235        activeMeters = JSON.parse(params.activeMeters);
1236    } else {
1237        activeMeters = params.activeMeters;
1238    }
1239
1240    var s = window.s;
1241    if (!s || !s.pageName) {
1242        // console.log("ADB: Setting s from backup");
1243        s = window.backupAdobe;
1244        window.s = s;
1245    }
1246
1247    // this would call when CL3 is a hard gate
1248    if (!activeMeters && data_layer.article.content_level === '3') {
1249        s.eVar59 = templateName;
1250        s.eVar58 = data_layer.article.content_level;
1251        s.events = "event91";
1252        s.linkTrackVars="eVar58,eVar2,eVar3,eVar4,eVar5,eVar6,eVar15,eVar16,eVar19,eVar25,eVar26,eVar28,eVar43,eVar59,eVar61,eVar62,eVar79,eVar104,eVar106,eVar107,eVar108,eVar118,prop63,list3,events";
1253        s.linkTrackEvents="event91";
1254        s.tl(document, 'o', 'Metered Access Notice');
1255        s.events = '';
1256        return;
1257    }
1258
1259    if (!activeMeters) {
1260        return;
1261    }
1262
1263    var meterData = activeMeters[0];
1264
1265    var meterName = meterData.meterName.toLowerCase();
1266
1267    // track event 5
1268    if (meterName.indexOf('cl1') !== -1 || meterName.indexOf('cl2') !== -1 || meterName.indexOf('cl3') !== -1 || params.containerSelector === '#po-inline-articlegate-partialarticle' || params.containerSelector === '#po-overlay-articlegate-full-width-scroll-below') {
1269        s.eVar58 = data_layer.article.content_level;
1270        s.eVar80 = meterData.meterName + ',' +  meterData.views + ',' + meterData.totalViews + ',' + meterData.viewsLeft + ',' + meterData.maxViews;
1271        s.eVar59 = templateName;
1272        s.events = "event5";
1273        s.linkTrackVars="eVar58,eVar2,eVar3,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar26,eVar28,eVar43,eVar59,eVar61,eVar62,prop63,eVar80,eVar79,eVar118,list3, events";
1274        s.linkTrackEvents="event5";
1275    } else {
1276        s.eVar80 = meterData.meterName + ',' +  meterData.views + ',' + meterData.totalViews + ',' + meterData.viewsLeft + ',' + meterData.maxViews;
1277        s.eVar59 = templateName;
1278        s.linkTrackVars="eVar2,eVar3,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar26,eVar28,eVar43,eVar59,eVar61,eVar62,prop63,eVar80,eVar79,eVar118,list3, events";
1279    }
1280    s.tl(document, 'o', 'Metered Access Notice');
1281    s.events = '';
1282
1283}
1284
1285/**
1286 * Just track the template name in 78 for non-article-interrupts/gates
1287 */
1288function trackPianoSimplified(params, templateName)
1289{
1290    trackPianoWithNewRelic(templateName);
1291
1292    var s = window.s;
1293    if (!s || !s.pageName) {
1294        // console.log("ADB: Setting s from backup");
1295        s = window.backupAdobe;
1296        window.s = s;
1297    }
1298    s.eVar78 = templateName;
1299    s.events = 'event90';
1300    s.linkTrackEvents="event90";
1301    s.linkTrackVars="eVar2,eVar3,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar26,eVar28,eVar43,eVar59,eVar61,eVar62,prop63,eVar80,eVar79,eVar118,list3,eVar78, events";
1302    s.tl(document, 'o', 'Piano Template');
1303}
1304
1305function raiseLaunchEvent(name) {
1306    var e = new Event('launch:piano:' + name);
1307    window.dispatchEvent(e);
1308}
1309
1310function removePianoToast() {
1311    setTimeout(() => {
1312        document.getElementById('po-overlay-toast-left').remove()
1313    }, 30000)
1314}
1315
1316function showPianoTarget(params) {
1317    handleOfferShow(params);
1318    trackLocation();
1319
1320    if ($(params.containerSelector).length > 0) {
1321        const displayType = $(params.containerSelector).attr('data-display');
1322
1323        if (displayType) {
1324            $(params.containerSelector).addClass(`shown-${displayType}`);
1325        } else {
1326            $(params.containerSelector).addClass('shown').show();
1327        }
1328
1329        if ($(params.containerSelector).hasClass('piano--block-level') || $(params.containerSelector).hasClass('piano--inside-block')) {
1330            $(params.containerSelector).show();
1331        }
1332
1333        if (
1334            params.containerSelector === '#po-overlay-articlegate-full-width-scroll-below' ||
1335            params.containerSelector === '#po-overlay-articlegate-full-width-full-article-scroll-below'
1336        ) {
1337            handleFullWidthBanner(params.containerSelector);
1338        }
1339
1340        if ($(params.containerSelector) === '#po-inline-subscribe-page') {
1341            $(params.containerSelector).show();
1342        }
1343
1344        if (['#po-inline-blocksystem-target-e'].includes(params.containerSelector)) {
1345            $('#po-inline-blocksystem-target-e').show();
1346            $('.piano-promo-container').show();
1347        }
1348
1349        if (params.containerSelector === '#po-overlay-toast-left') {
1350            removePianoToast()
1351        }
1352
1353        if (params.containerSelector === '#po-overlay-toast-main-navigation') {
1354            removePianoToast()
1355        }
1356
1357        if (params.containerSelector === '#po-inline-articlewall-partialarticle-closable') {
1358            $('#po-inline-articlegate-partialarticle').css('display', 'none');
1359        }
1360
1361        if (params.containerSelector === '#po-inline-articlewall-fullarticle-closable') {
1362            $('#po-inline-articlegate-fullarticle').css('display', 'none');
1363        }
1364
1365        if (params.containerSelector === '#po-overlay-articlegate-full-width-full-article-scroll-below-closable') {
1366            $('#po-overlay-articlegate-full-width-full-article-scroll-below').css('display', 'none');
1367        }
1368    }
1369}
1370
1371tp.push(["addHandler", "checkoutComplete", function(conversion) {
1372    var s = window.s;
1373    s.events = s.apl(s.events, "event4", ",", 1); // Set the subscription counter event.
1374    s.events = s.apl(s.events, "purchase", ",", 1); // Set the purchase event.
1375    s.products = "Subscription : Metered Access;" + conversion.termId + ";1;"+conversion.chargeAmount;
1376    s.linkTrackEvents = "event4,purchase";
1377    s.purchaseID = conversion.termConversionId;
1378    s.pageName = '(www) /subscribe/complete/';
1379    // wipe out errors
1380    s.eVar31 = '';
1381    s.linkTrackVars="eVar2,eVar3,eVar5,eVar6,eVar7,eVar8,eVar9,eVar10,eVar15,eVar16,eVar17,eVar18,eVar19,eVar20,eVar22,eVar23,eVar24,eVar25,eVar26,eVar61,eVar62,events,products,purchaseID";
1382
1383    s.tl(true, 'o', 'Subscription');
1384
1385    $.cookie('resourceConverted', conversion.rid, {path: '/', domain: window.data_layer.site.cookie_domain});
1386    $.cookie('pianoConverted', '1', {path: '/', domain: window.data_layer.site.cookie_domain});
1387    raiseLaunchEvent('checkoutComplete');
1388
1389    // Clean Session Storage
1390    sessionStorage.removeItem('nq_selected_offer_id');
1391    sessionStorage.removeItem('nq_selected_term_id');
1392    sessionStorage.removeItem('nq_adobe_tracking_article_dimensions');
1393    sessionStorage.removeItem('nq_adobe_tracking_visiting_dimensions');
1394
1395    // Show Onboarding modal after subscription
1396    const lastPage = sessionStorage.getItem('last_piano_page_interacted_with');
1397    const baseUrl = lastPage || window.location.href;
1398
1399    const url = new URL(baseUrl, window.location.origin);
1400    url.searchParams.set('show-onboarding', 'yes');
1401
1402    setTimeout(() => {
1403        window.location.href = url.pathname + url.search;
1404    }, 2000);
1405}]);
1406
1407tp.push(["addHandler", "checkoutPaymentError", function(errorData) {
1408    var s = window.s;
1409    s.pageName = '(www) /subscribe/error/';
1410    s.eVar31 = errorData.message;
1411    s.tl(true, 'o', 'CheckoutPaymentError');
1412
1413    raiseLaunchEvent('checkoutPaymentError');
1414}]);
1415
1416tp.push(["addHandler", "checkoutError", function(errorData) {
1417    var s = window.s;
1418    s.pageName = '(www) /subscribe/error/';
1419    s.eVar31 = errorData.message;
1420    s.tl(true, 'o', 'CheckoutError');
1421    raiseLaunchEvent('checkoutError');
1422}]);
1423
1424tp.push(["addHandler", "startCheckout", function(options) {
1425    sessionStorage.setItem("nq_selected_offer_id", options.offerId);
1426    sessionStorage.setItem("nq_selected_term_id", options.termId);
1427
1428    if (!tp.user.isUserValid()) {
1429        window.location = '/user/create-account/subscribe/';
1430        return;
1431    }
1432
1433    var s = window.s;
1434    s.eVar2 = '(www) /subscribe/payment/';
1435    s.pageName = '(www) /subscribe/payment/';
1436    const storedAdobeArticleDimensions = sessionStorage.getItem('nq_adobe_tracking_article_dimensions');
1437    const storedAdobeVisitingDimensions = sessionStorage.getItem('nq_adobe_tracking_visiting_dimensions');
1438    if (storedAdobeVisitingDimensions) {
1439        const storedAdobeVisitingDimensionsObj = JSON.parse(storedAdobeVisitingDimensions);
1440        s.eVar10 = storedAdobeVisitingDimensionsObj.eVar10;
1441        s.eVar22 = storedAdobeVisitingDimensionsObj.eVar22;
1442        s.eVar23 = storedAdobeVisitingDimensionsObj.eVar23;
1443        s.eVar24 = storedAdobeVisitingDimensionsObj.eVar24;
1444    }
1445    if (storedAdobeArticleDimensions) {
1446        const storedAdobeArticleDimensionsObj = JSON.parse(storedAdobeArticleDimensions);
1447        s.eVar10 = storedAdobeArticleDimensionsObj.eVar10;
1448        s.eVar15 = storedAdobeArticleDimensionsObj.eVar15;
1449        s.eVar22 = storedAdobeArticleDimensionsObj.eVar22;
1450        s.eVar23 = storedAdobeArticleDimensionsObj.eVar23;
1451        s.eVar24 = storedAdobeArticleDimensionsObj.eVar24;
1452        s.eVar25 = storedAdobeArticleDimensionsObj.eVar25;
1453    }
1454    // wipe out errors
1455    s.eVar31 = '';
1456    s.events = '';
1457    raiseLaunchEvent('startCheckout');
1458    s.linkTrackVars="eVar10,eVar15,eVar22,eVar23,eVar24,eVar25";
1459    s.t();
1460}]);
1461
1462tp.push(["addHandler", "checkoutClose", function(conversion) {
1463    raiseLaunchEvent('checkoutClose');
1464
1465    // Did they abandon the cart? If so: was anything in their cart?
1466    if (typeof conversion.state === 'undefined' || conversion.state !== 'close') {
1467        return;
1468    }
1469    if (window.selectedOfferId === null || window.selectedTermId === null) {
1470        return;
1471    }
1472    $.post('/ws/piano/abandoned-cart/', {offer_id: window.selectedOfferId, term_id: window.selectedTermId});
1473}]);
1474
1475tp.push(["addHandler", "meterExpired", function(meterData){
1476    var msg = "<div><b>meterName:</b> " + meterData.meterName
1477        + "&nbsp; | &nbsp;<b>views:</b> " + meterData.views
1478        + "&nbsp; | &nbsp;<b>totalViews:</b> " + meterData.totalViews
1479        + "&nbsp; | &nbsp;<b>viewsLeft:</b> " + meterData.viewsLeft
1480        + "&nbsp; | &nbsp;<b>maxViews:</b> " + meterData.maxViews
1481        + "&nbsp; | &nbsp;<b>callback:</b> " + meterData.callback + '</div>';
1482    if ($.cookie('nq-show-piano-viewer') === 'yes') {
1483        $('#piano-meter-value').html(msg);
1484        $('#piano-meter-display').show();
1485        $('#piano-meter-display-content').append(msg);
1486    }
1487    var cVal = window.location.href;
1488
1489    trackLocation(true);
1490
1491    console.log("Piano Meter Expired:", meterData.meterName);
1492    if (meterData.meterName === 'CL1 Meter') {
1493        console.log("Piano: Setting meter expired cookie");
1494        $.cookie('isMeterExpired', 'yes', {path: '/', domain: window.data_layer.site.cookie_domain, expires: 1});
1495    }
1496
1497    raiseLaunchEvent('meterExpired');
1498
1499}]);
1500
1501tp.push(["addHandler", "meterActive", function(meterData){
1502    var msg = "<div><b>meterName:</b> " + meterData.meterName
1503        + "&nbsp; | &nbsp;<b>views:</b> " + meterData.views
1504        + "&nbsp; | &nbsp;<b>totalViews:</b> " + meterData.totalViews
1505        + "&nbsp; | &nbsp;<b>viewsLeft:</b> " + meterData.viewsLeft
1506        + "&nbsp; | &nbsp;<b>maxViews:</b> " + meterData.maxViews
1507        + "&nbsp; | &nbsp;<b>callback:</b> " + meterData.callback + '</div>';
1508    if ($.cookie('nq-show-piano-viewer') === 'yes') {
1509        $('#piano-meter-value').html(msg);
1510        $('#piano-meter-display').show();
1511        $('#piano-meter-display-content').append(msg);
1512    }
1513
1514    console.log("Piano Meter running total:", meterData.meterName,  meterData.totalViews, meterData.maxViews, meterData);
1515    if (meterData.meterName === 'CL1 Meter' && meterData.totalViews >= meterData.maxViews) {
1516        $.cookie('isMeterExpired', 'yes', {path: '/', domain: window.data_layer.site.cookie_domain, expires: 1});
1517    } else {
1518        $.cookie('isMeterExpired', 'no', {path: '/', domain: window.data_layer.site.cookie_domain, expires: 1});
1519    }
1520}]);
1521
1522
1523tp.push(["setCxenseSiteId", "3609958593346541245"]);
1524
1525
1526runPiano('unrestricted');
1527
1528</script>
1528
1529
1530
1531
1532    <link rel="apple-touch-icon" href="/resources/images/17394488/">
1533    <link rel="apple-touch-icon" sizes="72x72" href="/resources/images/17394487/">
1534    <link rel="apple-touch-icon" sizes="114x114" href="/resources/images/17394489/">
1535
1536
1537    <!-- Add iconify -->
1538    
1538<script src="https://code.iconify.design/1/1.0.7/iconify.min.js" integrity="sha384-jQq64HqdQD5xg0PPkpkCOW3x8Nsfx5UT1qWOpoJxLYy6Ef+5i+8xPoAj/I3B+ZMm" crossorigin="anonymous"></script>
1538
1539</head>
1540<body class="sticky-footer" data-cache-buster="vjoPdzgg" data-template="" data-template-colour="Blue" data-namespace="standard">
1541    <!--
1542  ##+ +##  ##: `#####.  #######  ###  ###      ######  `#####.  #######      ###  ,##  +#####
1543  +## ###' ##  #######  ######## ### ###       ######  #######  ########     ###  ,##  ######:
1544  .## #### ## ###   ### ###  ### ######        ##,    ###   ### ###  ###     ###  ,##  ##`
1545   ##,#+##:## ###   ### #######  ######        #####+ ###   ### #######      ###  ,##  +#####
1546   ####`####+ ###   ### ######   #######       #####+ ###   ### ######       ###  ,##     ####
1547   #### .###. '##   ##' ### ###  ### ,##:      ##,    '##   ##' ### ###      ###  ### '##  +##
1548   :###  ###   #######  ### `##+ ###  ###      ##,     #######  ### `##+     `#######  ######+
1549    ##:  ###    #####   ###  ### ###  ,###     ##,      #####   ###  ###       #####    ####+
1550
1551Developers, designers, testers - interested in working for us?
1552Contact this guy....https://uk.linkedin.com/in/hillsimon
1553-->
1554
1555
1556    <div style="height: 0px"><div id="DFP_out_of_page"></div></div>
1557
1558    <div id="paywallWindowOverlay"></div>
1559
1560
1561
1562    <div id="takeover">
1563        <div id="martini-config" class="layout">
1564            <div id="header-content">
1565                <!-- standard - header-1.html --> <header id="site-header" class="site-header site-header--1 header-bottom-margin" >
1566    
1567    <div class="header-topnav" role="navigation" aria-label="top-navigation">
1568    
1569    <div class="container-inner-width">
1570        <div class="header-topnav-links">
1571          <ul class="list-style-none">
1572             <li><a class="mar-nav--promo-link" href="/announcements/public_notices/">Public notices</a></li> <li><a class="mar-nav--promo-link" href="/newsletters/">Newsletters</a></li> <li><a class="mar-nav--promo-link" href="/jobs/">Jobs</a></li> <li><a class="mar-nav--promo-link" href="/advertising/">Book an ad</a></li> <li><a class="mar-nav--promo-link" href="/cars/">Cars</a></li> <li><a class="mar-nav--promo-link" href="/homes/">Homes</a></li> <li><a class="mar-nav--promo-link" href="https://directory.chardandilminsternews.co.uk/" target="blank">Local listings</a></li> <li><a class="mar-nav--promo-link" href="/li/">Local info</a></li> 
1573          </ul>
1574        </div>
1575          <ul id="links-nav" class="header-topnav--links-nav list-style-none">
1576            <li class="links-nav-label"><span class="links-nav-label-text">More</span>
1577                <ul class="list-style-none">
1578                    <li class="dropdown-icon-closed">
1579                        <span class="iconify" data-icon="akar-icons:chevron-down"></span>
1580                    </li>
1581                    <li class="dropdown-icon-open" style="display: none;">
1582                        <span class="iconify" data-icon="akar-icons:chevron-up"></span>
1583                    </li>
1584
1585                    <li class="links-nav-container">
1586                        <ul class="list-style-none">
1587                            <li><a class="mar-nav--promo-link" href="/announcements/public_notices/">Public notices</a></li> <li><a class="mar-nav--promo-link" href="/newsletters/">Newsletters</a></li> <li><a class="mar-nav--promo-link" href="/jobs/">Jobs</a></li> <li><a class="mar-nav--promo-link" href="/advertising/">Book an ad</a></li> <li><a class="mar-nav--promo-link" href="/cars/">Cars</a></li> <li><a class="mar-nav--promo-link" href="/homes/">Homes</a></li> <li><a class="mar-nav--promo-link" href="https://directory.chardandilminsternews.co.uk/" target="blank">Local listings</a></li> <li><a class="mar-nav--promo-link" href="/li/">Local info</a></li> 
1588                        </ul>
1589                    </li>
1590                </ul>
1591            </li>
1592          </ul>
1593    </div>
1594    
1595        </div>
1596
1597    <div class="site-brand container-inner-width">
1598        <div class="site-brand__container">
1599        <a href="/">
1600            <img src="/resources/images/small_site_logo/" alt="Chard &amp; Ilminster News" class="site-brand__brand-image"/>
1601        </a>
1602        </div>
1603        <div class="simple-header-top-navigation">
1604    <div class="simple-header-top-navigation__links">
1605
1606        <div class="simple-header-top-navigation__links--primary-links header-primary-links">
1607            
1608            <a href="/subscribe/" aria-label="subscribe button" class="mar-btn mar-btn--promo-primary">
1609                Subscribe
1610            </a>
1611            
1612
1613            
1614            <ul class="list-style-none top-nav-overflow">
1615                <li><a  href="/pagesuite/" class="mar-btn mar-btn--promo-secondary">Digital Edition</a></li> <li><a  href="/puzzles/" class="mar-btn mar-btn--promo-primary">Puzzles</a></li> 
1616            </ul>
1617            
1618        </div>
1619
1620        
1621        
1622        <div class="simple-header-top-navigation__links--classifieds">
1623            
1624        </div>
1625        
1626        
1627
1628    </div>
1629    
1630    <div class="simple-header-top-navigation__links--account">
1631        
1632        <a id="user-login-not-loggedin" href="/user/login/?redirect_url=/user/account/" class="simple-header-top-navigation__user-login mar-btn" title="User Account">
1633            <div aria-label="User Account Button" id="headerUserAccountButton">
1634                <svg xmlns="http://www.w3.org/2000/svg " width="14" height="16" viewB
1634ox="0 0 10 14" fill="none">
1635<circle cx="5" cy="3.85718" r="3" fill="black"/>
1636<ellipse cx="5" cy="10.2857" rx="5" ry="2.85714" fill="black"/>
1637</svg>
1638            </div>
1639        </a>
1640        
1641    </div>
1642    
1643
1644    <button aria-expanded="false" aria-label="Open the menu" class="simple-header-top-navigation__mega-menu-btn primary-nav__menu--more-btn">
1645        <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M3 6h18M3 12h18M3 18h18"/></svg>
1646    </button>
1647
1648</div>
1649    </div>
1650
1651    <div id="mega-menu" class="mega-menu" style="display: none;">
1652    <div class="mega-menu__container mega-menu__wrapper">
1653        <div class="mega-menu__cancel-button">
1654            <i aria-expanded="true" aria-hidden="true" aria-label="Close the menu" class="mega-menu__cancel-button--icon">
1655                <span class="iconify" data-icon="eva:close-fill" data-inline="false"></span>
1656                <div>Close</div>
1657            </i>
1658        </div>
1659
1660    
1661        <div class="mega-menu-subscribe-banner">
1662            <span>Stay ahead with a digital subscription</span>
1663            <a href="/subscribe/">Subscribe</a>
1664        </div>
1665    
1666
1667    
1668        <div class="mega-menu__features expanded-sub-nav">
1669        <div class="mega-menu__features--links">
1670            
1671                <h4 class="prefix mega-menu__features--prefix link-item">Featured newsletters</h4>
1672            
1673            <a href="/newsletters/860/"  class="col link-item">Morning Briefing</a>
1674            
1675
1676                <a href="/newsletters/"  class="col link-item">Breaking News Alerts</a>
1677            
1678
1679                <a href="/newsletters/861/"  class="col link-item">Sports AM</a>
1680            
1681            </div>
1682            <hr class="divider none">
1683        </div>
1684    
1685
1686        <div class="mega-menu__search">
1687          <form method="get" action="/search/">
1688              <label class="mega-menu__search--title" for="searchbar-input">Search</label>
1689              <div class="mega-menu__search--bar">
1690                  <input id="searchbar-input" class="searchbar-input" type="text" name="search" placeholder="Search Chard & Ilminster News">
1691                  <button class="searchbar-btn mira-search-button" type="submit"><span class="iconify" data-icon="fe:search" data-inline="false"></span></button>
1692              </div>
1693          </form>
1694        </div>
1695
1696        <div class="mega-menu__main-list link-list">
1697      <div class="mega-menu__main-list--list-item">
1698                <div>
1699                    <div>
1700                        <a href="/news/">
1701                            <h3><span class="mega-menu__main-list--parent-link">News</span></h3>
1702                        </a>
1703                    </div>
1704        
1705                    <div class="mega-menu__main-list--child-links">
1706                      <div class="child-item">
1707                          <a href="/news/chard_news/">Chard</a>
1708                      </div>
1709                  
1710
1711                      <div class="child-item">
1712                          <a href="/news/ilminster_news/">Ilminster</a>
1713                      </div>
1714                  
1715
1716                      <div class="child-item">
1717                          <a href="/news/crewkerne_news/">Crewkerne</a>
1718                      </div>
1719                  
1720
1721                      <div class="child-item">
1722                          <a href="/news/village_news/">Villages</a>
1723                      </div>
1724                  
1725
1726                      <div class="child-item">
1727                          <a href="/news/somerset_news/">Somerset</a>
1728                      </div>
1729                  
1730
1731                      <div class="child-item">
1732                          <a href="/news/video/">Video</a>
1733                      </div>
1734                  
1735
1736                      <div class="child-item">
1737                          <a href="/news/galleries/">Galleries</a>
1738                      </div>
1739                    </div>
1740        
1741                </div>
1742                <div class="divider"></div>
1743            </div>
1744      
1745
1746            <div class="mega-menu__main-list--list-item">
1747                <div>
1748                    <div>
1749                        <a href="/sport/">
1750                            <h3><span class="mega-menu__main-list--parent-link">Sport</span></h3>
1751                        </a>
1752                    </div>
1753        
1754                    <div class="mega-menu__main-list--child-links">
1755                      <div class="child-item">
1756                          <a href="/sport/football/">Football</a>
1757                      </div>
1758                  
1759
1760                      <div class="child-item">
1761                          <a href="/sport/rugby/">Rugby</a>
1762                      </div>
1763                  
1764
1765                      <div class="child-item">
1766                          <a href="/sport/cricket/">Cricket</a>
1767                      </div>
1768                  
1769
1770                      <div class="child-item">
1771                          <a href="/sport/somerset_cricket/">Somerset CCC</a>
1772                      </div>
1773                  
1774
1775                      <div class="child-item">
1776                          <a href="/sport/hockey/">Hockey</a>
1777                      </div>
1778                  
1779
1780                      <div class="child-item">
1781                          <a href="/sport/bowls/">Bowls</a>
1782                      </div>
1783                  
1784
1785                      <div class="child-item">
1786                          <a href="/sport/chard_and_ilminster_skittles/">Skittles</a>
1787                      </div>
1788                  
1789
1790                      <div class="child-item">
1791                          <a href="/sport/other/">Other Sports</a>
1792                      </div>
1793                  
1794
1795                      <div class="child-item">
1796                          <a href="/sport/send_sport_report/">Send a Report</a>
1797                      </div>
1798                    </div>
1799        
1800                </div>
1801                <div class="divider"></div>
1802            </div>
1803      
1804
1805            <div class="mega-menu__main-list--list-item">
1806                <div>
1807                    <div>
1808                        <a href="/video/">
1809                            <h3><span class="mega-menu__main-list--parent-link">Video</span></h3>
1810                        </a>
1811                    </div>
1812        
1813                </div>
1814                <div class="divider"></div>
1815            </div>
1816      
1817
1818            <div class="mega-menu__main-list--list-item">
1819                <div>
1820                    <div>
1821                        <a href="/leisure/">
1822                            <h3><span class="mega-menu__main-list--parent-link">What's On</span></h3>
1823                        </a>
1824                    </div>
1825        
1826                    <div class="mega-menu__main-list--child-links">
1827                      <div class="child-item">
1828                          <a href="/leisure/local-events/">Local Events</a>
1829                      </div>
1830                  
1831
1832                      <div class="child-item">
1833                          <a href="/leisure/theatre/">Theatre</a>
1834                      </div>
1835                  
1836
1837                      <div class="child-item">
1838                          <a href="/leisure/national-entertainment/">National Entertainment</a>
1839                      </div>
1840                  
1841
1842                      <div class="child-item">
1843                          <a href="/leisure/music/">Music</a>
1844                      </div>
1845                  
1846
1847                      <div class="child-item">
1848                          <a href="/leisure/nightlife/">Nightlife</a>
1849                      </div>
1850                    </div>
1851        
1852                </div>
1853                <div class="divider"></div>
1854            </div>
1855      
1856
1857            <div class="mega-menu__main-list--list-item">
1858                <div>
1859                    <div>
1860                        <a href="/notices/">
1861                            <h3><span class="mega-menu__main-list--parent-link">Notices</span></h3>
1862                        </a>
1863                    </div>
1864        
1865                    <div class="mega-menu__main-list--child-links">
1866                      <div class="child-item">
1867                          <a href="/notices/bereavement-guide/">Bereavement Guide</a>
1868                      </div>
1869                    </div>
1870        
1871                </div>
1872                <div class="divider"></div>
1873            </div>
1874      
1875
1876            <div class="mega-menu__main-list--list-item">
1877                <div>
1878                    <div>
1879                        <a href="/puzzles/">
1880                            <h3><span class="mega-menu__main-list--parent-link">Puzzles</span></h3>
1881                        </a>
1882                    </div>
1883        
1884                </div>
1885                <div class="divider"></div>
1886            </div>
1887      
1888
1889            <div class="mega-menu__main-list--list-item">
1890                <div>
1891                    <div>
1892                        <a href="/reader-rewards/">
1893                            <h3><span class="mega-menu__main-list--parent-link">Reader Rewards</span></h3>
1894                        </a>
1895                    </div>
1896        
1897                </div>
1898                <div class="divider"></div>
1899            </div>
1900        </div>
1901    </div>
1902
1903    <div class="mega-menu__sticky">
1904        <ul class="list-style-none mega-menu__sticky--list">
1905            <div class="mega-menu__sticky--primary-links">
1906                
1907                <li>
1908                <a href="/subscribe/">
1909                    <button class="mar-btn--promo-primary">
1910                        Subscribe
1911                    </button>
1912                </a></li>
1913            
1914                <li><a  href="/pagesuite/" class="mar-btn mar-btn--promo-secondary">Digital Edition</a></li> <li><a  href="/puzzles/" class="mar-btn mar-btn--promo-primary">Puzzles</a></li> 
1915            </div>
1916            <li><a class="mar-nav--promo-link" href="/announcements/public_notices/">Public notices</a></li> <li><a class="mar-nav--promo-link" href="/newsletters/">Newsletters</a></li> <li><a class="mar-nav--promo-link" href="/jobs/">Jobs</a></li> <li><a class="mar-nav--promo-link" href="/advertising/">Book an ad</a></li> <li><a class="mar-nav--promo-link" href="/cars/">Cars</a></li> <li><a class="mar-nav--promo-link" href="/homes/">
1916Homes</a></li> <li><a class="mar-nav--promo-link" href="https://directory.chardandilminsternews.co.uk/" target="blank">Local listings</a></li> <li><a class="mar-nav--promo-link" href="/li/">Local info</a></li> 
1917        </ul>
1918    </div>
1919</div>
1920
1921
1922    <!-- standard - SimplePrimaryNavigation.html --> <nav aria-label="Main navigation" id="primary-nav" class="primary-nav">
1923    <div class="primary-nav__container container-inner-width">
1924        <span class="primary-nav__left">
1925          <nav class="primary-nav__menu">
1926              <div class="primary-nav__menu-container">
1927  <div class="primary-nav__menu--item">
1928                      <a class="primary-nav__menu--link" href="/news/">News</a>
1929                  </div>
1930  
1931
1932                  <div class="primary-nav__menu--item">
1933                      <a class="primary-nav__menu--link" href="/sport/">Sport</a>
1934                  </div>
1935  
1936
1937                  <div class="primary-nav__menu--item">
1938                      <a class="primary-nav__menu--link" href="/video/">Video</a>
1939                  </div>
1940  
1941
1942                  <div class="primary-nav__menu--item">
1943                      <a class="primary-nav__menu--link" href="/leisure/">What's On</a>
1944                  </div>
1945  
1946
1947                  <div class="primary-nav__menu--item">
1948                      <a class="primary-nav__menu--link" href="/notices/">Notices</a>
1949                  </div>
1950  
1951
1952                  <div class="primary-nav__menu--item">
1953                      <a class="primary-nav__menu--link" href="/puzzles/">Puzzles</a>
1954                  </div>
1955  
1956
1957                  <div class="primary-nav__menu--item">
1958                      <a class="primary-nav__menu--link" href="/reader-rewards/">Reader Rewards</a>
1959                  </div>
1960              </div>
1961          </nav>
1962        </span>
1963        <span class="primary-nav__right">
1964            <div class="primary-nav__menu--more-btn">
1965                <button aria-expanded="false" aria-label="Open the menu" class="more-link more-burger-icon">
1966                    <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M3 6h18M3 12h18M3 18h18"/></svg>
1967                </button>
1968            </div>
1969            <div class="primary-nav__right--search">
1970                <a class="primary-nav__container--search-icon search-icon" href="#" aria-label="Search for article"><span class="iconify" data-icon="ion:search-circle-sharp" data-inline="false"></span></a>
1971            </div>
1972        </span>
1973    </div>
1974</nav>
1975
1976
1977
1978    
1979
1980
1981</header>
1982            </div>
1983
1984            <div id="redesign-content">
1985                <div id="module-content" class="content">
1986                    <div class="piano--block-level block-bottom-margin" id="po-inline-banner-top-hero-content"></div>
1987
1988
1989                    <!-- standard - ContactUs.html --> <div class="block-contact-us" aria-labelledby="contact-help-heading">
1990    <h1 id="contact-help-heading" class="block-heading">Contact &amp; Help</h1>
1991    <p class="block-contact-us__intro">
1992        In need of help, support, or need to contact us, hopefully you’ll find the information you need below...
1993    </p>
1994
1995    <h2 class="block-heading" id="customer-support-heading">Customer Support</h2>
1996    <div class="block-contact-us__cta-section" aria-labelledby="customer-support-heading">
1997
1998        
1999        
2000        
2001         <!-- If not Forest Piano group with home delivery -->
2002        <div class="cta-item">
2003            <a href="/contact/faq/digital-subscriptions/" class="mar-btn mar-btn--md mar-btn--light">Digital
2004                subscriptions</a>
2005            <p>For help or questions about digital subscriptions, including help with your current subscription</p>
2006        </div>
2007        <div class="cta-item">
2008            <a href=" /contact/faq/newspaper-support" class="mar-btn mar-btn--md mar-btn--promo-secondary">Newspaper
2009                Home Delivery</a>
2010            <p>For help with newspaper home delivery &amp; subscriptions, including help with your current subscription
2011            </p>
2012        </div>
2013        
2014        
2015
2016        
2017
2018        
2019        <div class="cta-item">
2020            <a href="/contact/faq/general-support/" class="mar-btn mar-btn--md mar-btn--dark">General Support</a>
2021            <p>Help &amp; questions about technical, account, or any other issues you may be experiencing with any of
2022                our products</p>
2023        </div>
2024    </div>
2025
2026    <div class="block-contact-us__grid_container">
2027        <div>
2028            <div class="social-field" style="display: none;">
2029                <p class="social-field-text">Follow us</p>
2030                <!-- standard - SocialBar.html --> <div class="social-bar  ">
2031  <!-- standard - SocialShareButton.html --> <div 
2032    aria-label="Share"
2033    class="social-share-button mar-btn"
2034    id="social-share-button">
2035    <p class="social-share-button__text" aria-label="Share">Share</p>
2036    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewB
2036ox="0 0 16 16" fill="none">
2037        <path d="M11.6113 1.5C11.9036 1.49999 12.1919 1.57147 12.4535 1.70882C12.7152 1.84616 12.943 2.04562 13.119 2.2915C13.2951 2.53738 13.4146 2.82297 13.4682 3.12578C13.5217 3.4286 13.5079 3.74038 13.4277 4.0366C13.3475 4.33281 13.2032 4.60537 13.006 4.83282C12.8089 5.06027 12.5644 5.23641 12.2918 5.34737C12.0191 5.45834 11.7257 5.5011 11.4347 5.47229C11.1437 5.44348 10.863 5.34389 10.6148 5.18135C10.595 5.195 10.5746 5.20756 10.5536 5.21899L5.94303 7.73788C5.94569 7.80155 5.94569 7.86531 5.94303 7.92897L5.95196 7.93476L10.3586 10.6867C10.688 10.379 11.109 10.2021 11.5489 10.1867C11.9889 10.1714 12.4201 10.3184 12.7681 10.6025C13.1161 10.8865 13.3591 11.2898 13.455 11.7425C13.5509 12.1953 13.4937 12.6691 13.2933 13.0822C13.0929 13.4953 12.762 13.8216 12.3576 14.0048C11.9532 14.1881 11.5008 14.2167 11.0785 14.0857C10.6562 13.9548 10.2906 13.6725 10.0447 13.2877C9.79893 12.9029 9.68839 12.4396 9.73221 11.978L5.37504 9.25791C5.10887 9.53171 4.77193 9.71659 4.40645 9.78938C4.04098 9.86216 3.66325 9.81961 3.32064 9.66705C2.97802 9.51449 2.68577 9.25872 2.48054 8.93181C2.27531 8.6049 2.16624 8.22141 2.167 7.82943C2.16775 7.43745 2.27831 7.05444 2.4848 6.72841C2.69129 6.40239 2.98453 6.14787 3.32773 5.99679C3.67093 5.8457 4.04882 5.80477 4.41401 5.87912C4.7792 5.95347 5.11543 6.1398 5.38053 6.41474L9.78647 4.00731C9.71119 3.71225 9.70138 3.40289 9.7578 3.10318C9.81421 2.80348 9.93533 2.52149 10.1118 2.27906C10.2882 2.03662 10.5153 1.84025 10.7753 1.70515C11.0354 1.57005 11.3214 1.49985 11.6113 1.5Z" fill="#222222"/>
2038    </svg>
2039</div>
2040
2041  
2042    
2043  
2044</div>
2045
2046            </div>
2047            <div class="block-contact-us__grid_container--card" aria-labelledby="main-details-heading">
2048                <div id="main-details-heading" class="block-contact-us__grid_container--card-heading block-heading">Main
2049                    Details</div>
2050                
2051                <div class="block-contact-us__grid_container--card-title">Address:</div>
2052                <address class="block-contact-us__grid_container--card-small-text">
2053                    
2054                    Chard and Ilminster News,
2055                    
2056                    
2057                    Tangier 2,
2058                    
2059                    
2060                    Tangier Central,
2061                    
2062                    
2063                    Taunton,
2064                    
2065                    
2066                    Somerset,
2067                    
2068                    
2069                    TA1 4AS
2070                    
2071                </address>
2072                
2073                <div class="block-contact-us__grid_container--card-title  block-contact-us__spacing ">Telephone:</div>
2074                <div class="block-contact-us__grid_container--card-small-text">
2075                    <a href="tel:(01823) 365151"
2076                        aria-label="Call (01823) 365151">(01823) 365151</a>
2077                </div>
2078                
2079                
2080
2081                <div class="block-contact-us__grid_container--card-panel">
2082                    Inside the newsroom -
2083                    <a href="/author/journalists/">&nbsp;View all our journalists</a>
2084                </div>
2085                
2086                <div class="block-contact-us__grid_container--card-title block-contact-us__spacing">Editor:</div>
2087                <div
2088                    class="block-contact-us__grid_container--card-small-text block-contact-us__grid_container--card-link">
2089                    Milly Vincent
2090                    <a href="mailto:[email protected]">[email protected]</a>
2091                    <span aria-label="Editor telephone">(01823) 365012</span>
2092                </div>
2093                
2094
2095                
2096
2097            </div>
2098
2099            <div class="block-contact-us__grid_container--banner" aria-labelledby="get-involved-heading">
2100                <div id="get-involved-heading" class="block-contact-us__grid_container--banner-heading block-heading">
2101                    Get <em>involved</em> with the news
2102                </div>
2103                <div class="block-contact-us__grid_container--banner-content">
2104                    <div class="block-contact-us__grid_container--banner-text">
2105                        Got a story, lead, picture, or video you would like to share with us?
2106                    </div>
2107                    <div>
2108                        <a href="/send-us-your-news/" class="mar-btn mar-btn--md mar-btn--light">
2109                            Send us your news
2110                        </a>
2111                    </div>
2112                </div>
2113            </div>
2114            
2115            <div class="block-contact-us__grid_container--card" aria-labelledby="newspaper-sales-heading">
2116                <div id="newspaper-sales-heading" class="block-contact-us__grid_container--card-heading block-heading">
2117                    Newspaper Sales</div>
2118                <div
2119                    class="block-contact-us__grid_container--card-small-text block-contact-us__grid_container--card-link">
2120                    <a href="mailto:[email protected]">[email protected]</a>
2121                    <span aria-label="Newspaper sales telephone">(01823) 365010</span>
2122                </div>
2123            </div>
2124            
2125            
2126            <div class="block-contact-us__grid_container--card" aria-labelledby="commercial-heading">
2127                <div id="commercial-heading" class="block-contact-us__grid_container--card-heading block-heading">
2128                    Commercial</div>
2129                <p>
2130                    <a href="/advertising/" class="mar-btn mar-btn--md mar-btn--dark">Book an advert</a>
2131                </p>
2132                <div class="block-contact-us__grid_container--card-title block-contact-us__spacing ">Advertising:</div>
2133                <div class="block-contact-us__grid_container--card-small-text">
2134                    <div class="block-contact-us__grid_container--card-link">
2135                        <a href="mailto:[email protected]">
2136                            [email protected]
2137                        </a>
2138                        <span aria-label="Advertising telephone">(01823) 365151</span>
2139                    </div>
2140                </div>
2141                
2142                <div class="block-contact-us__grid_container--card-title block-contact-us__spacing">Recruitment:</div>
2143                <div class="block-contact-us__grid_container--card-small-text">
2144                    <div class="block-contact-us__grid_container--card-link">
2145                        <a href="mailto:[email protected]">
2146                            [email protected]
2147                        </a>
2148                        <span aria-label="Recruitment telephone">(0800) 9520111</span>
2149                    </div>
2150                </div>
2151                
2152            </div>
2153            
2154            
2155            <div class="block-contact-us__grid_container--card" aria-labelledby="other-info-heading">
2156                <div id="other-info-heading" class="block-contact-us__grid_container--card-heading block-heading">Other
2157                    Information</div>
2158                <div class="block-contact-us__grid_container--card-text"><p>
2159  <strong>Family announcements (births, marriages, deaths):</strong>
2160</p>
2161<p>
2162  Please call the central BMDs team on 01202 295555 or 01823 365000 to place a family announcement.
2163</p>
2164<p>
2165  <strong>Public notices (premises licences etc.):</strong>
2166</p>
2167<p>
2168  Please email [email protected].
2169</p></div>
2170            </div>
2171            
2172
2173        </div>
2174        <!-- end of grid 1 container -->
2175        <div>
2176            
2177            <div class="block-contact-us__seo-section" aria-labelledby="localiq-heading">
2178                <img src="/resources/responsive-static/images/LocaliQ.svg" alt="LOCALiQ logo">
2179                <h2 id="localiq-heading">Digital Marketing Services from LOCALiQ in
2180                    <a href="https://localiq.co.uk/locations/taunton?utm_source=Somerset_County_Gazette&utm_medium=referral&utm_campaign=Contact_Us_Page" target="_blank" rel="nofollow">Taunton
2181                    </a>
2182                </h2>
2183                <p>
2184                    <strong>LOCALiQ</strong>
2185                    is an award-winning Digital Marketing Agency, specialising in local marketing and accelerating
2186                    growth for UK businesses.
2187                    Part of <strong> Newsquest Media Group Ltd,</strong> publisher of The Chard & Ilminster News, LOCALiQ is
2188                    based in over
2189                    <strong>
2190                        <a href="https://localiq.co.uk/locations?utm_source=NQ&utm_medium=referral++&utm_campaign=contact"
2191                            rel="nofollow" target="_blank">
2192                            35 UK locations
2193                        </a>
2194                    </strong> and delivers exceptional results for B2B, B2C, e-commerce and services businesses.
2195                </p>
2196
2197                <div class="extra-text">
2198                    <a href="https://localiq.co.uk/digital-marketing-services/ppc?utm_source=NQ&utm_medium=referral++&utm_campaign=contact"
2199                        target="_blank" rel="nofollow">PPC,</a>
2200                    <a href="https://localiq.co.uk/digital-marketing-services/seo?utm_source=NQ&utm_medium=referral++&utm_campaign=contact"
2201                        target="_blank" rel="nofollow"> SEO,</a> and
2202                    <a href="https://localiq.co.uk/digital-marketing-services/web-design?utm_source=NQ&utm_medium=referral++&utm_campaign=contact"
2203                        target="_blank" rel="nofollow"> Website Design</a> are just some of the solutions LOCALiQ can
2204                    support your business with.
2205                </div>
2206                <div class="cta-section">
2207                    <div class="mar-btn mar-btn--md mar-btn--dark">
2208                        <a href="https://localiq.co.uk/digital-marketing-services?utm_source=NQ&utm_medium=referral++&utm_campaign=contact"
2209                            target="_blank" rel="nofollow">View our digital marketing services
2210                        </a>
2211                    </div>
2212                    <p> or
2213                        <strong>
2214                            <a href="https://localiq.co.uk/contact-us?utm_source=NQ&utm_medium=referral++&utm_campaign=contact"
2215                                target="_blank" rel="nofollow" class="contact-us-link">Contact us</a>
2216                        </strong>
2217                    </p>
2218                </div>
2219            </div>
2220            
2221            <div class="block-contact-us__grid_container--card" aria-labelledby="notices-heading">
2222                <div id="notices-heading" class="block-contact-us__grid_container--card-heading block-heading">Notices
2223                    and Announcements
2224                </div>
2225                <div class="block-contact-us__grid_container--card-text">
2226                    <p>
2226Remember the life of a loved one with a notice in the newspaper and an online notice page for
2227                        friends and
2228                        family, or celebrate a happy occasion</p>
2229                </div>
2230                <a href="/notices/self-service/category"
2231                    class="mar-btn mar-btn--md mar-btn--dark block-contact-us__spacing">
2232                    Book a death notice
2233                </a>
2234                <a href="https://selfservice.newsquest.co.uk/TouchpointSS/SDE#/"
2235                    class="mar-btn mar-btn--md mar-btn--promo-secondary block-contact-us__spacing">
2236                    Book a celebration announcement
2237                </a>
2238            </div>
2239            <div class="block-contact-us__grid_container--card" aria-labelledby="careers-heading">
2240                <div id="careers-heading" class="block-contact-us__grid_container--card-heading block-heading">Careers
2241                </div>
2242                <div class="block-contact-us__grid_container--card-text">
2243                    <p>
2244                        <strong>The Chard & Ilminster News</strong> is part of
2245                        <strong><a class="nq-link" href="https://www.newsquest.co.uk/">Newsquest Media
2246                                Group</a></strong>,
2247                        a leading local news &amp; magazine publisher
2248                        with a portfolio of more than 200 brands.
2249                    </p>
2250                    <div class="block-contact-us__grid_container--card-other-link">
2251                        <a href="https://www.newsquest.co.uk/careers">What we offer</a>
2252                        <a href="https://careers.newsquest.co.uk/#js-careers-jobs-block">Current vacancies</a>
2253                    </div>
2254                </div>
2255            </div>
2256            <div class="block-contact-us__grid_container--card" aria-labelledby="policies-heading">
2257                <div id="policies-heading" class="block-contact-us__grid_container--card-heading block-heading">Policies
2258                    &amp; T&amp;Cs</div>
2259                <div class="block-contact-us__grid_container--card-text">
2260                    <p>
2261                        To view our full policies including
2262                        <a class="nq-link" href="https://www.newsquest.co.uk/legal/terms-conditions/">Terms &amp;
2263                            Conditions</a>,
2264                        <a class="nq-link" href="https://www.newsquest.co.uk/terms-of-advertising">Terms of
2265                            Advertising</a>,
2266                        <a class="nq-link" href="https://www.newsquest.co.uk/legal/contributor-terms/">Contributor
2267                            Terms</a>,
2268                        <a class="nq-link" href="https://www.newsquest.co.uk/domains">Information for Domain Name
2269                            Customers</a>,
2270                        use the links provided.
2271                        For more...
2272
2273                    </p>
2274                    <div class="block-contact-us__grid_container--card-other-link">
2275                        <span>Visit</span> <a href="https://www.newsquest.co.uk/">www.newsquest.co.uk</a>
2276                    </div>
2277                </div>
2278            </div>
2279        </div>
2280        <!-- end of grid 1 container -->
2281    </div>
2282</div>
2283                </div>
2284            </div>
2285
2286            <footer class="site-footer" aria-label="site-footer">
2287    <div class="container-inner-width">
2288        <div class="links-grid" aria-label="site-footer-links">
2289            <section class="get-in-touch-section">
2290                <h2>Get in Touch</h2>
2291                <a href="/contact/">Contact Us</a><a href="/advertising/">Advertise</a><a href="/homedelivery/">Newspaper Home Delivery</a><a href="/send-us-your-news/">Send Us Your News</a><a href="/submit-an-event/">Add Your Event For Free</a><a href="/publications/">Our Publications</a>
2292            </section>
2293            <section class="follow-us-section">
2294                <h2>Follow Us</h2>
2295<a
2296                        class="footer__social-media--link"
2297                        href="https://www.facebook.com/chardandilminsternews"
2298                        title="Facebook"
2299                        role="link"
2300                        data-media-type="facebook"
2301                    >
2302                        <i class="footer__social-media--icon iconify"></i>
2303                        Facebook
2304                    </a>
2305
2306
2307                    <a
2308                        class="footer__social-media--link"
2309                        href="https://twitter.com/chardandilynews"
2310                        title="Twitter"
2311                        role="link"
2312                        data-media-type="twitter"
2313                    >
2314                        <i class="footer__social-media--icon iconify"></i>
2315                        Twitter
2316                    </a>
2317            </section>
2318            <section class="useful-links-section">
2319                <h2>Useful Links</h2>
2320                <div class="useful-links">
2321                    <section>
2322                        <a href="/subscribe/">Subscriptions</a><a href="/newsletters/">Newsletters</a><a href="/reader-rewards/">Reader Rewards</a><a href="/notices/">Death Notices</a><a href="/announcements/">Announcements</a><a href="/announcements/public_notices/">Public Notices</a>
2323                    </section>
2324                    <section>
2325                        <a href="https://www.exchangeandmart.co.uk/" target="_blank">Exchange and Mart</a><a href="https://newsquest.newsprints.co.uk/" target="_blank">Photo Sales</a><a href="http://leap.chardandilminsternews.co.uk" target="_block">Leap</a><a href="/archive/" style="display: inline-block">Archive</a> | <a href="/misc/sitemap/" style="display: inline-block">Sitemap</a><a href="/gdpr/" class="gdpr-option-v2" data-v2-id="1170586" data-is-gate="yes" rel="nofollow">Manage Consent</a><a href="https://www.newsquest.co.uk/legal/ai-notice/" target="_blank">AI Notice</a>
2326                    </section>
2327                </div>
2328            </section>
2329            <section class="ipso-terms">
2330                <img class="ipso-logo" src="/resources/responsive-static/mds/images/ipso-regulated.png" alt="IPSO Regulated image" />
2331                <p class="ipso-copy">This website and associated newspapers adhere to the Independent Press Standards Organisation's
2332    Editors' Code of Practice. If you have a complaint about the editorial content which relates to
2333    inaccuracy or intrusion, then please <a class="footer__ipso-terms--link" href="/contact">
2334    contact the editor here</a>.
2335    If you are dissatisfied with the response provided you can
2336    <a class="footer__ipso-terms--link" href="https://www.ipso.co.uk/contact-us/" target="_block">contact IPSO here</a></p>
2337            </section>
2338        </div>
2339        <div class="notice" aria-label="site-footer-notice">
2340            <img src="/resources/responsive-static/mds/images/newsquest.png" alt="Newsquest" style="width: 193px"/>
2341            <p><strong>&copy; 2001-2026. The Chard & Ilminster News</strong> is owned and operated by Newsquest Media Group Ltd, an audited local newspaper network.</p>
2342            <p>Visit <a href="https://www.newsquest.co.uk/" target="_blank">newsquest.co.uk</a> to view our <a href="https://www.newsquest.co.uk/our-policies/" target="_blank">policies</a>, <a href="https://www.newsquest.co.uk/legal/" target="_blank" >terms</a> and <a href="https://www.newsquest.co.uk/legal/" target="_blank" >legal agreements</a>.</p>
2343            <p>The Echo Building, 18 Albert Road, Bournemouth, England BH1 1BZ. Registered in England & Wales | 01676637</p>
2344        </div>
2345    </div>
2346</footer>
2347
2348
2349            <div id="fb-root"></div>
2350
2351
2352        </div>
2353    </div>
2354
2355
2356
2357    <div class="mar-modal-container mar-modal-container--animate mar-modal-container--animate-out visually-hidden">
2358    <div class="mar-modal-overlay" data-uses-js="close-modal"></div>
2359
2360    <div aria-label="Pop up dialog" class="mar-modal" tabindex="-1" role="dialog">
2361        <div class="mar-modal__header">
2362            <h3 class="mar-modal__title">Modal headline</h3>
2363
2364            <div class="mar-modal__close" data-uses-js="close-modal">
2365<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2366    <path fill-rule="evenodd" clip-rule="evenodd" d="M7.60714 6L11.6518 10.0446C11.7589 10.1518 11.8438 10.2768 11.9062 10.4196C11.9688 10.5625 12 10.7143 12 10.875C12 11.1786 11.8884 11.442 11.6652 11.6652C11.442 11.8884 11.1696 12 10.8482 12C10.6875 12 10.5357 11.9688 10.3929 11.9062C10.25 11.8438 10.1339 11.7589 10.0446 11.6518L6 7.60714L1.95536 11.6518C1.84821 11.7589 1.72321 11.8438 1.58036 11.9062
2366C1.4375 11.9688 1.28572 12 1.125 12C0.821427 12 0.558037 11.8884 0.334821 11.6652C0.111606 11.442 0 11.1786 0 10.875C0 10.7143 0.0312497 10.5625 0.09375 10.4196C0.15625 10.2768 0.241071 10.1518 0.348214 10.0446L4.36607 6L0.348214 1.95536C0.241071 1.84821 0.15625 1.72768 0.09375 1.59375C0.0312497 1.45982 0 1.3125 0 1.15179C0 0.830355 0.111606 0.558037 0.334821 0.334821C0.558037 0.111606 0.821427 0 1.125 0C1.28572 0 1.4375 0.0312497 1.58036 0.09375C1.72321 0.15625 1.84821 0.241071 1.95536 0.348214L6 4.39286L10.0446 0.348214C10.1339 0.241071 10.25 0.15625 10.3929 0.09375C10.5357 0.0312497 10.6875 0 10.8482 0C11.1696 0 11.442 0.111606 11.6652 0.334821C11.8884 0.558037 12 0.830355 12 1.15179C12 1.3125 11.9688 1.45982 11.9062 1.59375C11.8438 1.72768 11.7589 1.84821 11.6518 1.95536L7.60714 6Z" fill="#9DA0A4"/>
2367</svg>
2368
2369
2370                <span>Close</span>
2371            </div>
2372        </div>
2373
2374        <div class="mar-modal__body">Automatically injected HTML goes here</div>
2375
2376        <div class="mar-modal__actions">
2377<!-- standard - Buttons.html --> 
2378    
2379<button
2380    type="button"
2381    data-uses-js="modal-submit"
2382    
2383    class=" mar-btn
2384    mar-btn--light
2385    mar-btn--md
2386    
2387    
2388    "
2389>
2390    Submit
2391</button>
2392    
2393
2394
2395
2396<!-- standard - Buttons.html --> 
2397    
2398<button
2399    type="button"
2400    data-uses-js="modal-cancel"
2401    
2402    class=" mar-btn
2403    mar-btn--outline
2404    mar-btn--md
2405    
2406    
2407    "
2408>
2409    Cancel
2410</button>
2411    
2412
2413
2414        </div>
2415    </div>
2416</div>
2417
2418</body>
2419
2420<div id="outbrain-holder">
2421    <div id="DFP_standard_mpu_3"></div>
2422    <div id="DFP_standard_mpu_4"></div>
2423    <div id="DFP_standard_mpu_5"></div>
2424    <div id="DFP_standard_mpu_6"></div>
2425    <div id="DFP_standard_mpu_7"></div>
2426</div>
2427<script>
2428
2429const elementToObserve = document.querySelector("#outbrain-holder");
2430
2431// create a new instance of `MutationObserver` named `observer`,
2432// passing it a callback function
2433const observer = new MutationObserver(function(e) {
2434    $.each(e, function(j, obs) {
2435        $.each(obs.removedNodes, function (i, node) {
2436            var id = $(node).attr('id');
2437            addAdSlot(id, id.replace('DFP_', ''));
2438        });
2439    });
2440});
2441
2442// call `observe()` on that MutationObserver instance,
2443// passing it the element to observe, and the options object
2444observer.observe(elementToObserve, {subtree: true, childList: true});
2445</script>
2445
2446
2447<script>
2448window.domComplete = performance.now();
2449</script>
2449
2450
2451<script type="text/javascript">
2452path = document.location.href.split("/");
2453var prop30 = qs.get('lp');
2454var prop43 = qs.get('ref');
2455var pType="Newsquest\Modules\ContactUsModule"
2456
2457if (pType === 'BlockArticleModule' || pType === 'NationalNewsModule' || pType === 'BlockWhatsOnModule') {
2458    pType = 'ArticleModule';
2459}
2460for(x=4; x<7; x++)
2461{
2462    if (typeof path[x] == 'undefined')
2463    {
2464        path[x] = '';
2465    }
2466    if(path[x] == "" || (pType == "ArticleModule" && path[x].match(/[0-9]+\./)) || (path[x].indexOf('?') > -1))
2467    {
2468        path[x] = path[x-1];
2469    }
2470    else
2471    {
2472        path[x] = path[x-1] + "/" + path[x];
2473    }
2474    path[x] = path[x].replace(/\/undefined/g,"");
2475}
2476sitename = path[2].split(".");
2477
2478pathN= unescape(document.location.pathname.toString());
2479matches = pathN.match(/(\w+)\.(in|near|compare)\.([\,a-zA-Z0-9\ _-]+)[\/]?$/);
2480detailMatches = pathN.match(/(\w+)\.detail\.(.*)$/);
2481if (detailMatches !== null && detailMatches.length > 1)
2482{
2483    matches = detailMatches;
2484}
2485
2486if (matches !== null && matches.length > 1)
2487{
2488    var subfolder = '';
2489    path[3] = 'li';
2490    path[4] = 'li/'+subfolder;
2491    path[5] = 'li/'+subfolder+'/'+matches[1];
2492    path[6] = 'li/'+subfolder+'/'+matches[1];
2493}
2494if (pathN === '/')
2495{
2496    path[3] = 'homepage';
2497    path[4] = 'homepage';
2498    path[5] = 'homepage';
2499    path[6] = 'homepage';
2500}
2501
2502
2503function filterArray(arr) {
2504    var retArr = [];
2505    $.each(arr, function(i, part) {
2506        if (part !== '') {
2507            retArr.push(part);
2508        }
2509    });
2510
2511    return retArr;
2512}
2513</script>
2513
2514
2515
2516<script type="text/javascript">
2517var known = $.cookie('__siren') ? '1' : '0' ;
2518</script>
2518
2519
2520<script type="text/javascript">
2521
2522var known = $.cookie('__siren') ? '1' : '0' ;
2523var ref = document.referrer;
2524var parser = document.createElement('a');
2525parser.href = ref;
2526
2527// values in the below MUST be strings
2528var targeting = {
2529    'context': '',
2530    
2531    'domain': 'www.chardandilminsternews.co.uk',
2532    'isLanding': 'yes',
2533    'top_path': 'contact',
2534    'weather': 'sun'.toLowerCase(),
2535    'jbsjs': ''.toLowerCase(),
2536    'site_search': '',
2537    'bmd_cat': '',
2538    'wt': '11-15',
2539    'cmpid': qs.get('cmpid'),
2540    'refdm': parser.hostname,
2541    'k': known,
2542    'g':  'u' ,
2543    'a':  '0' ,
2544    'topic': '',
2545    'publication': '',
2546    'primary_tag_future_use': '',
2547    'site': (isMobile()) ? 'mobile': 'desktop',
2548    'r': data_layer.user.subscription_plan !== ''
2549        ? '2'       // 2 = subscribed
2550        : data_layer.user.is_logged_in == 'yes'
2551            ? '1'   // 1 = registered
2552            : '0',  // 0 = anonymous
2553};
2554
2555if (!usePrebid) {
2556    targeting.adrq = 'adl';
2557}
2558
2559if (data_layer.video.exists === 'yes') {
2560    targeting.ptype = 'video';
2561}
2562
2563if ($.cookie('isMeterExpired') === 'yes' && window.data_layer.article.is_article) {
2564    var articleContentLevel = parseInt(window.data_layer.article.content_level, 10) || 0; // account for NaN
2565    if (articleContentLevel !== 0 && window.data_layer.article.content_level_open_access === 'no') {
2566        targeting.ao = 'y';
2567    }
2568}
2569
2570if ($.cookie('_sp_enable_dfp_personalized_ads') === 'true') {
2571    targeting.dfpcsnt = 'yes';
2572} else if ($.cookie('_sp_enable_dfp_personalized_ads') === 'false') {
2573    targeting.dfpcsnt = 'no';
2574} else {
2575    targeting.dfpcsnt = 'none';
2576}
2577
2578if (typeof MobileDetect !== "undefined") {
2579    targeting.canbb = (window.screen.width > 960) ? 'y' : 'n';
2580}
2581
2582if (typeof module_targeting === "object") {
2583    targeting = addToTargeting(targeting, module_targeting);
2584}
2585
2586// $.each(apData, function (k, v) {
2587//     targeting[k] = v;
2588// });
2589
2590// if (typeof gs_channels !== 'undefined') {
2591//     targeting.gs_channels = gs_channels;
2592// }
2593
2594targeting = addToTargeting(targeting, data_layer_helper.homesData);
2595
2596targeting.article_id = '';
2597var googleSiteName = 'www.chardandilminsternews.co.uk';
2598var googlePath = '/contact/';
2599
2600var googleNetworkCode = 154725070;
2601
2602var googleChildNetworkCode = 22694024870;
2603var googleId = '/'+googleNetworkCode + ',' + googleChildNetworkCode + '/' + googleSiteName+googlePath;
2604
2605if (googleId.charAt(googleId.length - 1) === '/') {
2606    googleId = googleId.slice(0, -1);
2607}
2608
2609var googletag = googletag || {};
2610googletag.cmd = googletag.cmd || [];
2611
2612googletag.cmd.push(function () {
2613    var _YB = _YB || {
2614        ab: function () {
2615            return _YB.dool ? "b" : "a" + Math.floor(Math.random() * 10);
2616        },
2617        dool: Math.random() >= 0.1,
2618    };
2619    var yb_ab;
2620    if (Math.random() <= 0.9) {
2621        yb_ab = _YB.ab();
2622    } else {
2623        yb_ab = "c";
2624    }
2625    googletag.pubads().setTargeting("yb_ab", yb_ab);
2626});
2627
2628googletag.cmd.push(function() {
2629    googletag.pubads().set("adsense_background_color", "FFFFFF");
2630    googletag.pubads().setTargeting('rfs', "0");
2631    $.each(targeting, function (key, value) {
2632
2633        // No real value so exclude
2634        if (value === 0 || value === '' || value === null) {
2635            return;
2636        }
2637        googletag.pubads().setTargeting(key, value);
2638    });
2639
2640});
2641
2642if (isMobile() && '' === 'top') {
2643    $('.desktop-standard-leaderboard').remove();
2644    $('.mobile-top-leaderboard').show();
2645    $('#DFP_top_leaderboard_mobile').attr('id', 'DFP_top_leaderboard');
2646} else {
2647    $('.mobile-top-leaderboard').remove();
2648}
2649// Ads
2650var adUnits = [];
2651
2652hideAdsByScreensize();
2653
2654if (blackListAds.length > 0) {
2655    removeBlacklistAds(blackListAds);
2656}
2657
2658$.each(unfilteredAdUnits, function (i, unit) {
2659    removeWhitelistAds(unit);
2660});
2661
2662// set up a holder for all the adverts so we can do things with them later
2663var dfpHolder = {};
2664// the set up code
2665googletag.cmd.push(function() {
2666    $.each(adUnits, function(i, data) {
2667
2668        // check if the dom exists
2669        if ($('#'+data.domName).length === 0) {
2670            return;
2671        }
2672
2673        var dfp = null;
2674
2675        if (data.slotType === 'standard')
2676        {
2677            // get the correct sizes, using the alternate_sizes if they exist and we are on a mobile site
2678            var sizes = data.sizes;
2679            if (data.alternate_mobile_size && isMobile()) {
2680                sizes = data.alternate_mobile_size;
2681            }
2682            // push this ad slot through
2683            dfp = googletag.defineSlot(googleId, sizes, data.domName)
2684                .addService(googletag.pubads())
2685                .setTargeting("position", data.positionName)
2686                .setCollapseEmptyDiv(data.collapseContainer);
2687            // check if we have an array of targets, and assign them as a companion if we do
2688            if (data.targets instanceof Array && data.targets.length > 0 ) {
2689                dfp.setTargeting('companion', data.targets);
2690            }
2691
2692        }
2693        else if (data.slotType === 'outofpage')
2694        {
2695            dfp = googletag.defineOutOfPageSlot(googleId, data.domName)
2696                .addService(googletag.pubads())
2697                .setTargeting("position", data.positionName)
2698                .setCollapseEmptyDiv(data.collapseContainer);
2699            // check if we have an array of targets, and assign them as a companion if we do
2700            if (data.targets instanceof Array && data.targets.length > 0 ) {
2701                dfp.setTargeting('companion', data.targets);
2702            }
2703        }
2704
2705        // store
2706        dfpHolder[data.domName] = dfp;
2707
2708    });
2709
2710    if (adLight === true) {
2711        googletag.pubads().setCategoryExclusion('adlight');
2712        // var adlightexplanation = '<div class="adlight-explanation">I\'m a subscriber <a href="#" class="adlight-explanation-link">Why am I seeing this advert?</a></div>';
2713        // if ($('#DFP_premium_mpu').length > 0) {
2714        //     $('#DFP_premium_mpu').before(adlightexplanation);
2715        // }
2716
2717        // if ($('#DFP_standard_mpu_1').length > 0) {
2718        //     $('#DFP_standard_mpu_1').before(adlightexplanation);
2719        // }
2720
2721        // var imageIds = [11497497, 11497535, 11497536, 11497541, 11497542, 11497545, 11497546, 11497547];
2722        // var imageId = imageIds[Math.floor(Math.random() * imageIds.length)];
2723        // $('.adlight-explanation-link').click(function(e) {
2724        //     e.preventDefault();
2725        //     $('#adlight-explanation-modal-image').attr('src', '/resources/images/' + imageId + '/').show();
2726        //     $('#adlight-explanation-modal').modal();
2727        // });
2728    }
2729
2730    // send the request
2731    googletag.pubads().enableSingleRequest();
2732
2733    googletag.enableServices();
2734
2735    googletag.pubads().addEventListener('slotVisibilityChanged', function(event) {
2736        if (event.slot.getResponseInformation().creativeTemplateId === 828288 ||
2737            event.slot.getResponseInformation().creativeTemplateId === 12383216 ) {
2738            console.log('DFP: Magic template id detected, not refreshing');
2739            return;
2740        }
2741        var slotName = '';
2742        $.each(dfpHolder, function (a, e) {
2743            if (e == event.slot) {
2744                slotName = a;
2745            }
2746        });
2747        if (typeof window.advertisingTimer !== 'undefined') {
2748            var perc = event.inViewPercentage;
2749            window.advertisingTimer.timer(slotName, perc);
2750        }
2751    });
2752});
2753
2754// the display code
2755$.each(adUnits, function(i, data) {
2756
2757    // check if the dom exists
2758    if ($('#'+data.domName).length === 0) {
2759        return;
2760    }
2761
2762    if (data.domName === 'DFP_interstitial_mpu') {
2763        if (!inter.checkVisit()) {
2764            return;
2765        }
2766    }
2767
2768    // are we manually loading it?
2769    if ($('#'+data.domName).attr('data-manual-loading') === "yes") {
2770        return;
2771    }
2772    // for mobile, we check if the dom element has the data-delay-loading attribute set to "1"
2773    else if ($('#'+data.domName).attr('data-delay-loading') === "yes") {
2774
2775        // load it
2776        $('#'+data.domName).appear();
2777        $(document.body).on('appear', '#'+data.domName, function(e, allElement) {
2778
2779            // don't call it many times
2780            if ($(this).attr('data-processed') === 'yes') {
2781                return;
2782            }
2783
2784            $(this).attr('data-processed', 'yes');
2785
2786            // display the google ad
2787            googletag.display(data.domName);
2788            googletag.pubads().refresh([dfpHolder[data.domName]]);
2789        });
2790        return;
2791    }
2792    googletag.cmd.push(function() {
2793        googletag.display(data.domName);
2794    });
2795});
2796window.googleComplete = performance.now();
2797window.googleReady = true;
2798
2799// METHODS
2800function addToTargeting(targeting, data) {
2801    if (!data) {
2802        return targeting;
2803    }
2804    $.each(data, function (key, value) {
2805        if (!value) {
2806            return;
2807        }
2808        targeting[key] = value;
2809    });
2810    return targeting;
2811}
2812
2813function addAdSlot(slotName, slot, initHidden) {
2814    console.log("Add ad slot called for %s %s", slotName, slot);
2815    // check if item already exists
2816    if (typeof window.dfpHolder[slotName] !== 'undefined') {
2817        return;
2818    }
2819
2820    if (window.adLight === true) {
2821        return;
2822    }
2823    window.googletag.cmd.push(function() {
2824        var dfp = googletag.defineSlot(window.googleId, [[300,250]], slotName)
2825            .setTargeting('position', [slot])
2826            .addService(googletag.pubads());
2827        window.dfpHolder[slotName] = dfp;
2828
2829        if (!initHidden) {
2830            googletag.pubads().refresh([dfp]);
2831
2832            return;
2833        }
2834    });
2835}
2836
2837function hideAdsByScreensize() {
2838    if (window.screen.width < 728 && $('#BlockArticleContainer').length > 0) {
2839        if ('91' === '1147') {
2840            $('#DFP_out_of_page').remove();
2841        } else {
2842            $('#DFP_premium_mpu').remove();
2843        }
2844        $('#DFP_on_scroll').remove();
2845    } else if (window.screen.width < 728 &&
2846        ( $(".article-grid__uber[data-top-stories-articles='7'][data-news-list-articles='9']").length > 0 ||
2847        $(".article-grid__uber[data-top-stories-articles='7'][data-news-list-articles='12']").length > 0  ||
2848        $(".article-grid__uber[data-top-stories-articles='7'][data-news-list-articles='18']").length > 0  ||
2849        $(".article-grid__uber[data-top-stories-articles='7'][data-news-list-articles='24']").length > 0 )
2850    ) {
2851        const adElement = document.querySelector('#high_vis_container');
2852        $('.omnicard[data-position="5"]').after(adElement);
2853    }
2854
2855    if ('91' === '1147' && window.screen.width > 450) {
2856        $('#DFP_bottom_leaderboard').remove();
2857    }
2858
2859    if ('91' === '1147' && window.screen.width < 728) {
2860        $('#DFP_top_leaderboard').remove();
2861    }
2862
2863    if ('91' === '1147') {
2864        $('#DFP_teads').remove();
2865        $('#DFP_out_of_page').remove();
2866    }
2867
2868    if ($('#comments-in-page').length === 1 && window.screen.width > 450) {
2869        $('#DFP_top_leaderboard').parent().remove();
2870        $('#DFP_bottom_leaderboard').parent().remove();
2871        // $('#DFP_standard_mpu_1').parent().remove();
2872    }
2873}
2874
2875function removeBlacklistAds(blackListAds) {
2876    $.each(blackListAds, function(i, name) {
2877        removeAdContainer(name);
2878    });
2879}
2880
2881function removeWhitelistAds(unit) {
2882    // VAST (video) ad units never get displayed in here.
2883    if (unit.isVast) {
2884        return;
2885    }
2886
2887    // if we have an ad-light experience
2888    if (whiteList === true) {
2889        if (typeof whiteListAds[unit.positionName] === 'undefined') {
2890            removeAdContainer(unit.domName)
2891            return;
2892        }
2893    }
2894
2895    adUnits.push(unit);
2896}
2897
2898function removeAdContainer(name) {
2899    const element = document.getElementById(name);
2900    // doesn't exist? exit
2901    if(!element) {
2902        return;
2903    }
2904
2905    const parent = element.parentElement;
2906    if (parent && parent.classList.contains('block-bottom-margin')) {
2907        // if immediate parent contains block-bottom-margin as a class, remove the parent as well
2908        parent.classList.remove('block-bottom-margin');
2909    }
2910    if (parent && parent.classList.contains('mar-leaderboard--top')) {
2911        // in case of leaderboard, remove as has min-height
2912        parent.remove();
2913        return;
2914    }
2915
2916    if (parent && parent.classList.contains('mar-leaderboard--bottom')) {
2917        // in case of article ad container, remove as has min-height
2918        parent.remove();
2919        return;
2920    }
2921
2922    element.remove();
2923}
2924</script>
2924
2925
2926
2927<script src="/resources/responsive-static/build/mds/js/global.js?cb=vjoPdzgg"></script>
2927
2928
2929
2930
2931
2932
2933<script src="/__siren/"></script>
2933
2934
2935
2936
2937<script type="text/javascript">
2938    var s_account="newsquestgroupprod";
2939</script>
2939
2940
2941<script type="text/javascript" src="/resources/responsive-static/vendor/adobe/VisitorAPI.js?cb=vjoPdzgg"></script>
vendor: 1 bytes, line 2941
2941
2942<script type="text/javascript" src="/resources/responsive-static/vendor/adobe/omniture.js?cb=vjoPdzgg"></script>
2942
2943
2944<script type="text/javascript">
2945
2946function getOmniturePath() {
2947    var path = '';
2948    if ($('#gallery-base-url').length === 1) {
2949        path = $('#gallery-base-url').val();
2950    }
2951    else {
2952        path = window.location.pathname;
2953    }
2954    return path;
2955}
2956
2957function getPositionFromCookie() {
2958    const cookieName = 'tracking_block_index';
2959
2960    const ref = document.cookie
2961        .split('; ')
2962        .find(row => row.startsWith(`${cookieName}=`))
2963        ?.slice(cookieName.length + 1);
2964
2965    document.cookie = `${cookieName}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${window.data_layer.site.cookie_domain}`;
2966
2967    return ref ? decodeURIComponent(ref) : undefined;
2968}
2969function getRefFromCookie() {
2970    const cookieName = 'tracking_block';
2971
2972    const ref = document.cookie
2973        .split('; ')
2974        .find(row => row.startsWith(`${cookieName}=`))
2975        ?.split('=')[1];
2976
2977    // Remove the cookie
2978    document.cookie = `${cookieName}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${window.data_layer.site.cookie_domain}`;
2979
2980    return ref;
2981}
2982
2983function getOmnitureTrackingFromCookie(key, preExistingValue) {
2984    var ref = $.cookie('o-' + key);
2985    if(typeof(ref) === 'undefined') {
2986    	ref  = preExistingValue
2987    } else {
2988    	ref = decodeURIComponent(ref);
2989    	$.removeCookie('o-' + key, {
2990            path: '/',
2991            domain: window.data_layer.site.cookie_domain,
2992        });
2993    }
2994    return ref;
2995}
2996
2997function getValidatedAPList() {
2998
2999    var validList = [1100, 1101, 1002, 1006, 1010, 1014, 1018, 1022, 1200, 1202, 1205, 1300, 1602, 1605, 1608, 1612, 1616, 1500, 1503, 1507, 1509, 1512, 1402, 1406, 1409, 1412, 1416, 14331, 14333, 14335, 14336, 14339, 14342, 14344, 14345, 14346, 14350, 14351, 14353, 14359, 14366, 14370, 14371, 14377, 14388, 14394, 14396, 14399, 14407, 14221, 14423, 15679, 15681, 15682, 15683, 15684, 15686, 15687, 15688, 15975];
3000
3001    var data = getAudienceProjectTargetingData();
3002    if (!data || !data.ap_x) {
3003        return '';
3004    }
3005
3006    validData = [];
3007    $.each(data.ap_x, function(i, td) {
3008        if ($.inArray(parseInt(td, 10), validList) !== -1) {
3009            validData.push(td);
3010        }
3011    });
3012
3013    return validData.join(',');
3014}
3015
3016path = document.location.href.split("/");
3017
3018var qs = new URLSearchParams(window.location.search);
3019
3020var prop30 = qs.get('lp');
3021var prop43 = qs.get('ref');
3022var pType="Newsquest\Modules\ContactUsModule"
3023
3024if (pType === 'BlockArticleModule' || pType === 'NationalNewsModule' || pType === 'BlockWhatsOnModule') {
3025    pType = 'ArticleModule';
3026}
3027
3028for(x=4; x<7; x++)
3029{
3030    if (typeof path[x] == 'undefined')
3031    {
3032        path[x] = '';
3033    }
3034    if(path[x] == "" || (pType == "ArticleModule" && path[x].match(/[0-9]+\./)) || (path[x].indexOf('?') > -1))
3035    {
3036        path[x] = path[x-1];
3037    }
3038    else
3039    {
3040        path[x] = path[x-1] + "/" + path[x];
3041    }
3042    path[x] = path[x].replace(/\/undefined/g,"");
3043}
3044pathN= unescape(document.location.pathname.toString());
3045matches = pathN.match(/(\w+)\.(in|near|compare)\.([\,a-zA-Z0-9\ _-]+)[\/]?$/);
3046detailMatches = pathN.match(/(\w+)\.detail\.(.*)$/);
3047if (detailMatches !== null && detailMatches.length > 1)
3048{
3049    matches = detailMatches;
3050}
3051
3052if (matches !== null && matches.length > 1)
3053{
3054    var subfolder = '';
3055    path[3] = 'li';
3056    path[4] = 'li/'+subfolder;
3057    path[5] = 'li/'+subfolder+'/'+matches[1];
3058    path[6] = 'li/'+subfolder+'/'+matches[1];
3059}
3060if (pathN === '/')
3061{
3062    path[3] = 'homepage';
3063    path[4] = 'homepage';
3064    path[5] = 'homepage';
3065    path[6] = 'homepage';
3066}
3067
3068
3069/* You may give each page an identifying name, server, and channel on
3070the next lines. */
3071s.pageName="(www) "+getOmniturePath();
3072s.pageName = s.pageName.toLowerCase();
3073s.server="martini";
3074s.channel="";
3075s.pageType="";
3076s.prop1= qs.get('search');
3077s.prop2="";
3078s.prop3=document.title;
3079s.prop4="";
3080s.prop5="Newsquest\Modules\ContactUsModule"; /* get from Martini */
3081s.prop6=path[3].toLowerCase();
3082s.prop7=path[4].toLowerCase();
3083s.prop8=path[5].toLowerCase();
3084s.prop9=path[6].toLowerCase();
3085s.prop10="";
3086
3087s.prop16=path[2].toLowerCase();
3088s.prop17="Taunton";
3089s.prop18="Martini";
3090s.prop19="1";
3091s.prop20 = s.getPreviousValue(s.pageName, 'gpv_pn');
3092s.prop42 = "";
3093s.prop53 = 'standard';
3094s.prop54 = '';
3095s.prop55 = '';
3096s.prop56 = "";
3097s.prop57 = ($('[data-name="Feature Article Block A"]').length > 0) ? 'Enabled' : 'Disabled';
3098s.prop58 = document.querySelector('[data-name="Feature Article Block B"]')?.dataset.variant;
3099s.prop59 = getRefFromCookie();
3100s.prop60 = getPositionFromCookie();
3101s.prop73 = document.cookie.split('; ').find(row => row.startsWith('adtiming='))?.split('=')[1] || null;
3102
3103var eVar67 = [];
3104
3105if ($.cookie('consentUUID')) {
3106    eVar67.push('yes');
3107} else {
3108    eVar67.push('no');
3109}
3110if ($.cookie('_sp_enable_dfp_personalized_ads') === 'true') {
3111    eVar67.push('yes');
3112} else if ($.cookie('_sp_enable_dfp_personalized_ads') === 'false') {
3113    eVar67.push('no');
3114} else {
3115    eVar67.push('none');
3116}
3117
3118if ($.cookie('_sp_legitimate_interests') === 'true') {
3119    eVar67.push('yes');
3120} else if ($.cookie('_sp_legitimate_interests') === 'false') {
3121    eVar67.push('no');
3122} else {
3123    eVar67.push('none');
3124}
3125
3126//if ($.cookie('euconsent')) {
3127//    eVar67.push($.cookie('euconsent'));
3128//} else {
3129//    eVar67.push('none');
3130//}
3131
3132s.eVar67 = eVar67.join(',');
3133// console.log('ADB: setting eVar67 to %s', eVar67.join(','));
3134
3135if ($.cookie('prev-tcf-v2')) {
3136    // console.log('ADB: Setting eVar68 to ', $.cookie('prev-tcf-v2'));
3137    s.eVar68 = $.cookie('prev-tcf-v2');
3138}
3139
3140if (typeof iabNames !== 'undefined') {
3141    s.prop29 = iabNames.join(',');
3142} else if (typeof iabIds !== 'undefined') {
3143    s.prop29 = iabIds.join(',');
3144}
3145
3146if (s.prop20 && s.prop20 !== 'no value') {
3147    s.prop21 = s.getPercentPageViewed();
3148} else {
3149    s.prop21 = '';
3150}
3151
3152if (typeof __siren !== 'undefined') {
3153    s.eVar27 = __siren;
3154}
3155
3156s.prop22 = s.getDaysSinceLastVisit('s_lv');
3157
3158
3159s.prop43=getOmnitureTrackingFromCookie('ref', prop43);
3160s.prop25 = ''
3161
3162s.prop27 = '';
3163
3164s.prop30 = getOmnitureTrackingFromCookie('prop30', prop30);
3165s.linkInternalFilters="javascript:,chardandilminsternews.co.uk,fish4.co.uk,adsys.newsquest.co.uk,www.exchangeandmart.co.uk,www.communigate.co.uk,"
3166s.eVar61=(new Date()).toLocaleDateString("en-GB");
3167/* s.eVar62=(new Date()).toLocaleDateString("en-GB"); */
3168
3169
3170
3171
3172
3173
3174/* Article-site-cloning data */
3175s.eVar90 = window.data_layer.article.parent_originating_site_id;
3176s.eVar91 = window.data_layer.article.originating_article_id;
3177s.eVar92 = window.data_layer.article.is_original_to_site;
3178s.eVar95 = window.data_layer.site.using_piano_id;
3179s.eVar106 = '';
3180
3181s.eVar109 = '';
3182
3183/* Uber block article counts */
3184s.eVar93 = window.data_layer.page.top_stories_article_count + ':' + window.data_layer.page.interstitial_article_count + ':' + window.data_layer.page.news_stories_article_count;
3185
3186/* Conversion Variables */
3187s.campaign=""
3188s.state=""
3189s.zip=""
3190s.events=""
3191s.products=""
3192s.purchaseID=""
3193s.eVar14=""
3194try {
3195    s.list3=getValidatedAPList();
3196} catch (e) {
3197    // do nothing
3198}
3199
3200
3201
3202
3203// Initial fotorama tracking.
3204var moduleType = null;
3205if (s.prop5 === 'ArticleModule' || s.prop5 == 'PropertyModuleReplacement' || s.prop5 === 'BlockArticleModule') {
3206    moduleType = 'article';
3207} else if (s.prop5 === 'PictureGalleryModule') {
3208    moduleType = 'gallery';
3209}
3210
3211if ($('#comments-in-page').length === 1) {
3212    moduleType = 'comments';
3213}
3214
3215if (moduleType === 'article' || moduleType === 'gallery' || moduleType === 'comments') {
3216    var imagePath = '';
3217
3218    if ($('.fotorama').length > 0) {
3219        // Get the first Fotorama image.
3220        try {
3221            var el = $('.fotorama').data('fotorama').data[0].html;
3222            var url = $(el).find('div').css('background-image');
3223            imagePath = url.replace('url(','').replace(')','').replace(/\"/gi, "");
3224        } catch (e) {
3225        }
3226    } else {
3227        // If there's just one image (i.e. it's not a gallery), find its path.
3228        var imagePathSingle = $('#mainImage').attr('src');
3229        if (typeof imagePathSingle !== 'undefined') {
3230            imagePath = imagePathSingle.split('.')[0] + '/';
3231        }
3232    }
3233    var imageParts = imagePath.split('/');
3234    if (imageParts.length > 1) {
3235        s.eVar37 = imageParts[imageParts.length - 2];
3236        s.prop37 = imageParts[imageParts.length - 2];
3237        s.events = s.apl(s.events, 'event7', ',', 2);
3238    }
3239    s.eVar36 = moduleType;
3240    s.prop36 = moduleType;
3241}
3242
3243
3244
3245// Education pages.
3246if (s.prop5 === 'ResponsiveEducationModule') {
3247    // School profile page.
3248    if ($('#eduOverview').length > 0) {
3249        s.eVar40 = $('#eduOverview').data('school-status');
3250        s.prop40 = s.eVar40;
3251        s.prop41 = 'edu-' + $('#eduOverview').data('school-urn');
3252        s.prop46 = $('#town').text();
3253    }
3254
3255    // Comparison page.
3256    if ($('#eduComparisonTable').length > 0) {
3257        s.list1 = '';
3258    }
3259
3260    // Results page.
3261    if ($('.school-results').length > 0) {
3262        s.list1 = '';
3263
3264        // Track the search criteria.
3265        s.prop44 = '';
3266        s.prop45 = "".toLowerCase();
3267        s.prop46 = "".toLowerCase();
3268        s.prop49 = '';
3269        s.prop50 = '';
3270        s.prop51 = '';
3271        s.eVar2 = s.prop50;
3272
3273        var newSearch = false;
3274        if (newSearch) {
3275            s.events = s.apl(s.events, 'event17', ',', 1);
3276        }
3277    }
3278}
3279
3280// Notices Module
3281if (s.prop5 === 'NewsquestModulesNoticesModule') {
3282    // Notices Find page.
3283    if (s.pageName.includes('notices/find')) {
3284        s.pageName = '(www) /notices/find/';
3285        s.eVar50 = '';
3286        const noticesURL = new URL(window.location.href);
3287        const noticesParams = new URLSearchParams(noticesURL.search);
3288
3289        s.eVar1 = noticesParams.has('keyword') ? noticesParams.get('keyword') : 'None';
3290        s.eVar51 = noticesParams.has('sort') ? noticesParams.get('sprt') : 'best';
3291        s.eVar52 = noticesParams.has('p') ? (parseInt(noticesParams.get('p'), 10) + 1) : 1;
3292        s.eVar53 = noticesParams.has('type') ? noticesParams.get('type') : 'All';
3293        s.eVar54 = noticesParams.has('nearby') ? noticesParams.get('nearby') : 'no';
3294        s.eVar55 = noticesParams.has('daterange') ? noticesParams.get('daterange') : 'last-month';
3295
3296        if (noticesParams.has('sort')) {
3297            switch (noticesParams.get('sort')) {
3298                case 'date_asc':
3299                    s.eVar51 = 'oldest';
3300                    break;
3301                case 'date_desc':
3302                    s.eVar51 = 'newest';
3303                    break;
3304                case 'best_match':
3305                    s.eVar51 = 'best';
3306                    break;
3307                default:
3308                    s.eVar51 = noticesParams.get('sort');
3309                    break;
3310            }
3311        }
3312
3313        // Concatenate all search params into eVar44
3314        if (noticesParams.size > 0) {
3315            const searchParams = new URL(window.location.href).searchParams;
3316            s.eVar44 = '';
3317            searchParams.forEach((value, key) => {
3318                s.eVar44 += `${key}=${value},`;
3319            });
3320        } else {
3321            s.eVar44 = '';
3322        }
3323
3324        // Adobe Search Event triggering
3325        const setNoticePaginationClicked = (value) => {
3326            localStorage.setItem("isNoticePaginationClicked", value);
3327        };
3328
3329        const noticeSearchInput = document.getElementById("notices-search");
3330        const noticeSearchBtn = document.getElementById("notice-search-find");
3331        const noticePaginationBtns = document.querySelectorAll('.notice-find__pagination .pagination-btn');
3332        const noticePaginationBtnPrev = document.querySelector('.pagination-btn-previous svg');
3333        const noticePaginationBtnNext = document.querySelector('.pagination-btn-next svg');
3334
3335        noticeSearchInput?.addEventListener('change', () => setNoticePaginationClicked('false'));
3336        noticeSearchBtn?.addEventListener('click', () => setNoticePaginationClicked('false'));
3337
3338        noticePaginationBtns.forEach(btn => {
3339            btn.addEventListener('click', () => setNoticePaginationClicked('true'));
3340        });
3341
3342        noticePaginationBtnPrev?.addEventListener('click', () => setNoticePaginationClicked('true'));
3343        noticePaginationBtnNext?.addEventListener('click', () => setNoticePaginationClicked('true'));
3344
3345        if (localStorage.getItem("isNoticePaginationClicked") === 'false') {
3346            s.events = s.apl(s.events, 'event1', ',', 1);
3347        }
3348    }
3349
3350    if (/notices\/funeral-directors\/(\d+)\.([a-zA-Z0-9-?]+)?/.test(s.pageName)) {
3351        s.pageName = '(www) /notices/funeral-director/';
3352        s.eVar41 = '';
3353    }
3354}
3355
3356if (s.prop5 === 'NewsquestModulesNoticeModule') {
3357    s.eVar41 = '';
3358    const type = window.announcement_data?.details?.type || '';
3359    const subCategory = window.announcement_data?.details?.sub_category || '';
3360    s.eVar40 = type !== 'Tribute' ? type : `${type} - ${subCategory}`;
3361    s.eVar42 = window.announcement_data?.details?.id || '';
3362    s.eVar107 = '';
3363    s.eVar119 = '';
3364    s.eVar120 = '';
3365    s.eVar2 = "(www) /notice/";
3366}
3367
3368//New Property module
3369if (s.prop5 === 'ResponsivePropertyModule') {
3370    /*
3371        Use prop42 for single and list pages, for list pages use hyphen separate lists of id's
3372    */
3373    
3374    
3375    //Property's all over the place (homepage, searches etc - HOM-133
3376
3377    //Property Detail - HOM-131, HOM-134, HOM-130
3378
3379    //Contact us submissions - HOM-137
3380    if($('#propertyModule.agent-details').length > 0) {
3381        //Add a click handler for a.contact-detail
3382    }
3383
3384
3385}
3386
3387// is their a video tag on the page?
3388if ($('.exco-embed').length > 0) {
3389    console.log('VID: setting tracking for event50');
3390    s.events = s.apl(s.events, 'event50', ',', 1);
3391}
3392
3393var foundAutoPlayVid = false;
3394$('.jw-outer').each(function (a, domEle) {
3395    if ($(this).data('multimedia-block') === 'no' && !foundAutoPlayVid) {
3396        console.log('VID: setting tracking for event51');
3397        s.events = s.apl(s.events, 'event51', ',', 1);
3398        foundAutoPlayVid = true;
3399    }
3400});
3401
3402
3403
3404
3405
3406
3407
3408s.eVar66 = 'Ad-Full';
3409s.eVar114 = '';
3410
3411
3412
3413    // var eVar65Copy = s.getValOnce(s.eVar65, "ev65", 0);
3414    // if (eVar65Copy !== '' && s.prop20.indexOf("/my/subscription/activate/") > -1) {
3415    //     s.events = s.apl(s.events, "event4", ",", 1); // Set the subscription counter event.
3416    //     s.events = s.apl(s.events, "purchase", ",", 1); // Set the purchase event.
3417    //     s.products = "Subscription : Metered Access;" + eVar65Copy + ";1;";
3418    //     s.purchaseID = "";
3419    // }
3420
3421
3422if(qs.get('action') === 'success' && (s.prop5 === 'ArticleModule' || s.prop5 === 'BMDModule' || s.prop5 === 'BlockArticleModule')) {
3423    s.events=s.apl(s.events,'event9',',',2)
3424}
3425/* Hierarchy Variables */
3426s.hier1="newsquest," + "Taunton" + ",www.chardandilminsternews.co.uk," + path[6].replace(/\//,",");
3427
3428if (typeof MartiniFotorama !== 'undefined') {
3429    MartiniFotorama.loadOmniture(s);
3430}
3431s.prop39 = "0";
3432
3433
3434
3435// Tracking usage of Bytecast audio embeds in articles.
3436s.eVar82 = 'no';
3437s.eVar83 = '';
3438
3439    console.log('ADB: starting');
3440    console.log('Google Bot Browser: ', window.isRobot.googleBot()); //TODO Remove this log after QA
3441
3442// Tracking of Commenting Registration FLow
3443if (s.prop5 !== 'BlockArticleModule') {
3444    const storedAdobeDimensions = sessionStorage.getItem('nq_adobe_tracking_article_dimensions');
3445    if (storedAdobeDimensions) {
3446        const storedAdobeDimensionObj = JSON.parse(storedAdobeDimensions);
3447        s.eVar10 = storedAdobeDimensionObj.eVar10;
3448        s.eVar15 = storedAdobeDimensionObj.eVar15;
3449        s.eVar22 = storedAdobeDimensionObj.eVar22;
3450        s.eVar23 = storedAdobeDimensionObj.eVar23;
3451        s.eVar24 = storedAdobeDimensionObj.eVar24;
3452        s.eVar25 = storedAdobeDimensionObj.eVar25;
3453        s.eVar28 = storedAdobeDimensionObj.eVar28;
3454        s.eVar60 = storedAdobeDimensionObj.eVar60;
3455        s.eVar104 = storedAdobeDimensionObj.eVar104;
3456        s.eVar106 = storedAdobeDimensionObj.eVar106;
3457        s.eVar107 = storedAdobeDimensionObj.eVar107;
3458        s.eVar108 = storedAdobeDimensionObj.eVar108;
3459        s.prop63 = storedAdobeDimensionObj.prop63;
3460    }
3461}
3462
3463if (window.location.href.includes("/user/create-account/commenting/")) {
3464    s.eVar2 = '(www) /user/create-account/commenting/';
3465}
3466
3467/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
3468if (qs.get('callback') !== 'in' && !window.isRobot.googleBot()) {
3469    var s_code=s.t();
3470    var backupAdobe = s;
3471
3472    if(s_code)document.write(s_code)
3473}
3474
3475// Storing the visiting dimensions
3476if (s.eVar10 || s.eVar22 || s.eVar23 || s.eVar24) {
3477    const adobeTrackingVisitingDimensions = {
3478        eVar10: s.eVar10,
3479        eVar22: s.eVar22,
3480        eVar23: s.eVar23,
3481        eVar24: s.eVar24,
3482    }
3483    sessionStorage.setItem('nq_adobe_tracking_visiting_dimensions', JSON.stringify(adobeTrackingVisitingDimensions));
3484}
3485
3486//--></script>
3486
3487<!-- End SiteCatalyst code version: H.19.3. -->
3488
3489
3490
3491
3492
3493<script>
3494    if ('' !== '') {
3495        setTimeout(function() {
3496            data_layer_helper.loadScript(
3497                "/resources/responsive-static/build/mds-next/js/.js?cb=vjoPdzgg",
3498                true,
3499                null,
3500                "module"
3501            )
3502        }, 500);
3503    }
3504</script>
3504
3505
3506
3507</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.