johnnydeppweb.com Ads.txt file

<!DOCTYPE html><!-- Last Published: Tue Sep 09 2025 13:37:21 GMT+0000 (Coordinated Universal Time) --><html data-wf-domain="essayservice.com" data-wf-page="631b5df36e694c450375e09e" data-wf-site="5e6bef914570bffc8bc80080" lang="en"><head><meta charset="utf-8"/><title>In the Name of the Son: The Gerry Conlon Story</title><meta content="In the Name of the Son: The Gerry Conlon Story" property="og:title"/><meta content="In the Name of the Son: The Gerry Conlon Story" property="twitter:title"/><meta content="width=device-width, initial-scale=1" name="viewport"/><link href="https://cdn.prod.website-files.com/5e6bef914570bffc8bc80080/css/essayservice.shared.be2d67a2d.min.css" rel="stylesheet" type="text/css"/><link href="https://fonts.googleapis.com" rel="preconnect"/><link href="https://fonts.gstatic.com" rel="preconnect" crossorigin="anonymous"/><script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script><script type="text/javascript">WebFont.load({ google: { families: ["Lato:100,100italic,300,300italic,400,400italic,700,700italic,900,900italic"] }});</script><script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script><link href="https://cdn.prod.website-files.com/5e6bef914570bffc8bc80080/673da5d5d4407d5fb26df3be_logo-mod.png" rel="shortcut icon" type="image/x-icon"/><link href="https://cdn.prod.website-files.com/5e6bef914570bffc8bc80080/659bb89d541e78000e31d774_Webclip.webp" rel="apple-touch-icon"/><meta name="viewport" content= "width=device-width, user-scalable=no">
<meta name="referrer" content="no-referrer-when-downgrade"/>
<meta name='dmca-site-verification'
content='bitNSDRFUGFXOXFObnFWakJuYkVDbGdiV1VUUXNDMmNPelptZWx5aTlYMD01' />

<style>
.e-calc {
border-radius: 18px;
box-shadow: 0 3px 30px 0 rgb(15 56 112 / 15%);
}
.seo__row {
height: 420px;
}
.seo__raw::-webkit-scrollbar {
background-color: transparent;
}
.reviews-tabs__link.w--current .reviews-tabs__icon--active {
display: block;
}
.reviews-tabs__link.w--current .reviews-tabs__icon--normal {
display: none;
}
.reviews-tabs__link:hover .reviews-tabs__icon--active {
display: block;
}
.reviews-tabs__link:hover .reviews-tabs__icon--normal {
display: none;
}
.reviews-card__description {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
}
@media screen and (max-width: 991px){
.features__mask {
display: flex;
flex-direction: column;
align-items: flex-start;
}
}
.anchor {
position: relative;
top: -100px;
margin-top: 0;
}
@media screen and (max-width: 767px){
.anchor {
top: -270px;
}
}
.slide-nav-new .w-slider-dot {
color: #B7CCEE;
min-width: 25px;
padding: 0px;
margin: 0px;
border-radius: 2px;
height: 3px;
background-color: #B7CCEE;
}
.slide-nav-new .w-slider-dot.w-active {
color: #0F3870;
width: 30px;
height: 6px;
border-radius: 6px;
background-color: #0F3870;
}
.slide-nav-new .w-slider-dot:focus {
box-shadow: none;
}
.experts-card-left:hover .experts-avatar {
background-color: #FFA900;
}
.pricing-link:hover .arrow-icon-new,
.service-works-tab:hover .arrow-icon-new,
.faq-container-new:hover .light-arrow {
background-image: url(https://cdn.prod.website-files.com/5e6bef914570bffc8bc80080/61780f6c7a0b95867a2b3d0d_icon.svg);
}
.faq-container-new:hover {
border-color: #0F3870 !important;
}
@media screen and (max-width: 767px){
.seo-grid-container::-webkit-scrollbar {
width: 24px !important;
}
}
.team::-webkit-scrollbar {
-webkit-appearance: none;
width: 0;
background-color: transparent;
}
.team::-webkit-scrollbar-track {
background-color: transparent;
}
.team::-webkit-scrollbar-thumb {
background-color: transparent;
}
.skeleton__title,
.skeleton__work,
.skeleton__type,
.skeleton__level,
.skeleton__deadline,
.skeleton__pages,
.skeleton__check,
.skeleton__spaces,
.skeleton__price,
.skeleton__number,
.skeleton__button {
display: inline-block;
position: relative;
overflow: hidden;
background-color: rgba(190,190,190,.2);
}
.skeleton__title::after,
.skeleton__work::after,
.skeleton__type::after,
.skeleton__level::after,
.skeleton__deadline::after,
.skeleton__pages::after,
.skeleton__check::after,
.skeleton__spaces::after,
.skeleton__price::after,
.skeleton__number::after,
.skeleton__button::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
transform: translateX(-100%);
background-image: linear-gradient(90deg, rgba(190,190,190, 0) 0, rgba(124,124,124,.2) 20%,rgba(190,190,190,.5) 60%,rgba(190,190,190, 0));
animation: shimmer 1.4s infinite;
content: '';
}
@keyframes shimmer {
100% {
transform: translateX(100%);
}
}

/* Google one tap z-index */
#credential_picker_iframe {
z-index: 2147483002 !important;
}
/* Start redesign styles */
input:focus {
outline: none;
}
:focus {
outline: none !important;
}
* {
-webkit-tap-highlight-color: transparent;
}
.r-experts::-webkit-scrollbar, .r-experts::-webkit-scrollbar-thumb, .r-experts::-webkit-scrollbar-track, .r-pricing::-webkit-scrollbar, .r-pricing::-webkit-scrollbar-thumb, .r-pricing::-webkit-scrollbar-track,
.r-tabs__menu::-webkit-scrollbar, .r-tabs__menu::-webkit-scrollbar-thumb, .r-tabs__menu::-webkit-scrollbar-track,
.r-reviews__menu::-webkit-scrollbar, .r-reviews__menu::-webkit-scrollbar-thumb, .r-reviews__menu::-webkit-scrollbar-track,
.r-reviews__wrap::-webkit-scrollbar, .r-reviews__wrap::-webkit-scrollbar-thumb, .r-reviews__wrap::-webkit-scrollbar-track,
.r-navbar__menu::-webkit-scrollbar, .r-navbar__menu::-webkit-scrollbar-thumb, .r-navbar__menu::-webkit-scrollbar-track {
background: transparent;
height: 0;
width: 0;
}
.r-footer__drop-list::-webkit-scrollbar,
.r-search__wrap::-webkit-scrollbar,
.r-seo__scroll::-webkit-scrollbar {
background: transparent;
width: 4px;
border-radius: 2px;
}
.r-footer__drop-list::-webkit-scrollbar-thumb,
.r-search__list::-webkit-scrollbar-thumb,
.r-footer__drop-list::-webkit-scrollbar-thumb,
.r-seo__scroll::-webkit-scrollbar-thumb {
background: #DADEF1;
border-radius: 2px;
}
.r-pricing__card {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media (max-width: 768px) {
.r-btn--gradient-18-anim {
background-size: 200% 200%;
animation: gradientAnimation 2s linear infinite;
}
}
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.r-hero--tag::after {
content: "";
position: absolute;
left: -3%;
top: 10%;
width: 106%;
height: 90%;
background-image: linear-gradient(-270deg, #a451ee1f, #5c5cd71f);
border-radius: 500px;
z-index: -1;
}
@media (max-width: 991px) {
.r-hero--tag::after {
top: 8%;
height: 100%;
}
}
.r-form__input::placeholder {
color: #42445A !important;
}
.r-form__title {
color: #456990;
font-size: 12px;
padding-left: 16px;
cursor: default;
}
.r-form__value {
color: #42445A;
font-size: 14px;
transition: all 0.2s ease;
padding: 4px 16px;
}
.r-form__value:hover {
background-color: rgba(93, 92, 216, 0.16);
cursor: pointer;
}
@media only screen and (max-width: 991px) {
.r-form__title {
color: #797583;
padding-left: 0;
}
.r-form__value {
margin-top: 4px;
margin-bottom: 4px;
border-radius: 8px;
background-color: #F1F4F8;
}
.r-form__value:hover {
background-color: none
}
.w-nav-overlay:before {
content: '';
position: fixed;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
}
.r-reviews__menu {
scrollbar-width: none;
-ms-overflow-style: none;
}
.r-reviews__menu::-webkit-scrollbar {
display: none;
}
.r-reviews__wrap, .r-advantages__inner, .r-experts, .team {
scrollbar-width: none;
-ms-overflow-style: none;
}
.r-reviews__wrap::-webkit-scrollbar, .r-advantages__inner::-webkit-scrollbar, .r-experts::-webkit-scrollbar, .r-team::-webkit-scrollbar {
display: none;
}
.r-advantages__link.w--current .r-tabs__line{
opacity: 1 !important;
}

.r-reviews__list {
display: inline-flex;
animation: scroll-left 100s linear infinite;
}
@keyframes scroll-left {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
.r-link {
position: relative;
}
.r-link:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 1px;
background: linear-gradient(135deg, #b36eff, #7e5fff);
transition: width 0.3s ease;
}
.r-link:hover:after {
width: 100%;
}
@media only screen and (992px <= width <= 1170px) {
.r-navbar__brand-text {
display: none;
}
.r-navbar__menu {
gap: 8px;
}
}
/* END redesign styles */
</style>

<script>
// Affiliates
"use strict";var subName=getArgument("subName",document.currentScript.src)||"app",affiliateConfig={objects:[{track_everything:!1,keyword:"adpump",config:{script:null}},{track_everything:!0,keyword:"tap_s",config:{script:"https://".concat(subName,".").concat(getDomain(),"/utils/script_.min.js"),default_domain:"essaypro.com"}},{track_everything:!1,keyword:"clickid_",config:{script:null}}]};function setCookie_(e,t,n){var o=new Date;t=encodeURIComponent(t),o.setTime(o.getTime()+24*n*60*60*1e3);var r="expires="+o.toUTCString();document.cookie=e+"="+t+"; "+r+"; domain=."+getDomain()+"; path=/; SameSite=None; Secure"}function defineSourceUrl(){var e=document.domain.split("."),t="";return e[0].split("-")[1]?-1!==["develop","app-dev","app-local","mob-dev"].indexOf(e[0])?t="api-dev":-1!==["app-stage","mob-stage","app-local","mob-dev"].indexOf(e[0])&&(t="api-staging"):t="external-api",t}function getDomain(){var e=window.location.hostname;return e.substring(e.lastIndexOf(".",e.lastIndexOf(".")-1)+1)}function getAffiliateSourceName(){return"".concat(defineSourceUrl(),".").concat(getDomain())}function keywordMatch(e){var t=getArgument("proxy_domain")?!!getArgument(e,document.referrer):!!getArgument(e);return t&&setCookie_(e,getArgument("proxy_domain")?getArgument(e,document.referrer):getArgument(e),15),t}function getArgument(e,t){if(e=new RegExp("[?&]"+encodeURIComponent(e)+"=([^#&]*)").exec(t||location.search||location.hash))return decodeURIComponent(e[1])}function loadScript(e){var t=document.createElement("script");t.type="text/javascript",t.src=e,t.id="scriptAffiliate",document.getElementsByTagName("head")[0].appendChild(t),setTimeout(function(){t.remove()},6e4)}!function(){var e=getArgument("promocode");e&&"undefined"!==e&&setCookie_("promo_code",e,15),affiliateConfig.objects.forEach(function(e){if(e.track_everything||keywordMatch(e.keyword)){var t=e.config.script;t&&loadScript(t)}})}();

</script>

<!-- Start VWO Async SmartCode -->
<link rel="preconnect" href="https://dev.visualwebsiteoptimizer.com" />
<script type='text/javascript' id='vwoCode'>
window._vwo_code || (function() {
var account_id=942701,
version=2.1,
settings_tolerance=2000,
hide_element='body',
hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;',
/* DO NOT EDIT BELOW THIS LINE */
f=false,w=window,d=document,v=d.querySelector('#vwoCode'),cK='_vwo_'+account_id+'_settings',cc={};try{var c=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=c&&typeof c==='object'?c:{}}catch(e){}var stT=cc.stT==='session'?w.sessionStorage:w.localStorage;code={nonce:v&&v.nonce,use_existing_jquery:function(){return typeof use_existing_jquery!=='undefined'?use_existing_jquery:undefined},library_tolerance:function(){return typeof library_tolerance!=='undefined'?library_tolerance:undefined},settings_tolerance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES||hide_element_style)+'}'},hide_element:function(){if(performance.getEntriesByName('first-contentful-paint')[0]){return''}return typeof cc.hE==='string'?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){if(!f){f=true;var t=d.getElementById('_vis_opt_path_hides');if(t)t.parentNode.removeChild(t);if(e)(new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e}},finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript';if(e.src){t.src=e.src}else{t.text=e.text}v&&t.setAttribute('nonce',v.nonce);d.getElementsByTagName('head')[0].appendChild(t)},load:function(e,t){var n=this.getSettings(),i=d.createElement('script'),r=this;t=t||{};if(n){i.textContent=n;d.getElementsByTagName('head')[0].appendChild(i);if(!w.VWO||VWO.caE){stT.removeItem(cK);r.load(e)}}else{var o=new XMLHttpRequest;o.open('GET',e,true);o.withCredentials=!t.dSC;o.responseType=t.responseType||'text';o.onload=function(){if(t.onloadCb){return t.onloadCb(o,e)}if(o.status===200||o.status===304){_vwo_code.addScript({text:o.responseText})}else{_vwo_code.finish('&e=loading_failure:'+e)}};o.onerror=function(){if(t.onerrorCb){return t.onerrorCb(e)}_vwo_code.finish('&e=loading_failure:'+e)};o.send()}},getSettings:function(){try{var e=stT.getItem(cK);if(!e){return}e=JSON.parse(e);if(Date.now()>e.e){stT.removeItem(cK);return}return e.s}catch(e){return}},init:function(){if(d.URL.indexOf('__vwo_disable__')>-1)return;var e=this.settings_tolerance();w._vwo_settings_timer=setTimeout(function(){_vwo_code.finish();stT.removeItem(cK)},e);var t;if(this.hide_element()!=='body'){t=d.createElement('style');var n=this.hide_element(),i=n?n+this.hide_element_style():'',r=d.getElementsByTagName('head')[0];t.setAttribute('id','_vis_opt_path_hides');v&&t.setAttribute('nonce',v.nonce);t.setAttribute('type','text/css');if(t.styleSheet)t.styleSheet.cssText=i;else t.appendChild(d.createTextNode(i));r.appendChild(t)}else{t=d.getElementsByTagName('head')[0];var i=d.createElement('div');i.style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;';i.setAttribute('id','_vis_opt_path_hides');i.classList.add('_vis_hide_layer');t.parentNode.insertBefore(i,t.nextSibling)}var o=window._vis_opt_url||d.URL,s='https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(o)+'&vn='+version;if(w.location.search.indexOf('_vwo_xhr')!==-1){this.addScript({src:s})}else{this.load(s+'&x=true')}}};w._vwo_code=code;code.init();})();
</script>
<!-- End VWO Async SmartCode -->

<script>
// Set up referrer before gtm
const referrer = localStorage.getItem('referrer');
if (referrer && window.location.pathname === '/new') {
Object.defineProperty(document, "referrer", {get: function(){ return referrer; }});
localStorage.removeItem('referrer')
}


// Google Tag Manager
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://metrics.essayservice.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NXPJJ2Q');

// Calculator
function readyCalc() {
var el = document.getElementById('skeleton-block');
if (el) {
el.remove();
}
}

// Clarity
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "gv5ezs7xc1");

// Datadog
(function(h,o,u,n,d) {
h=h[d]=h[d]||{q:[],onReady:function(c){h.q.push(c)}}
d=o.createElement(u);d.async=1;d.src=n
n=o.getElementsByTagName(u)[0];n.parentNode.insertBefore(d,n)
})(window,document,'script','https://www.datadoghq-browser-agent.com/us3/v5/datadog-rum.js','DD_RUM')
window.DD_RUM.onReady(function() {
let botPattern = "(googlebot\/|bot|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis|CloudWatchSynthetics)";
let regexBot = new RegExp(botPattern, 'i');
let conditionalSampleRate = regexBot.test(navigator.userAgent) ? 0 : 25

window.DD_RUM.init({
clientToken: 'pub771418ee892c26a57ad67bbe2c6fa59a',
applicationId: '81d05faa-a697-4467-ba45-58b073d208d5',
site: 'us3.datadoghq.com',
service: 'webflow-sites',
env: 'prod',
sessionSampleRate: conditionalSampleRate,
sessionReplaySampleRate: 0,
trackUserInteractions: true,
trackResources: true,
trackLongTasks: true,
defaultPrivacyLevel: 'mask-user-input',
});


setTimeout(() => {
const parseCookie = str =>
str.split(';')
.map(v => v.split('='))
.reduce((acc, v) => {
acc[decodeURIComponent(v[0].trim())] = decodeURIComponent(v[1].trim());
return acc;
}, {});
let cookie = parseCookie(document.cookie);

window.DD_RUM.setGlobalContextProperty('cookies', {
tr_visit_id: cookie.tr_visit_id,
_ga: cookie._ga,
price_id: cookie.p_id,
});

}, 2000);
})
</script>

<script>
// Additional function for trigger events after VWO initialization
function waitForVWO(callback) {
const interval = setInterval(() => {
if (window.VWO) {
clearInterval(interval); // Stop the interval once VWO is available
callback();
}
}, 1000); // Check every 1 second
}

waitForVWO(() => {
// Optional timeout if `dataLayer` might update asynchronously
setTimeout(() => {
if (window.dataLayer && Array.isArray(window.dataLayer)) {
window.dataLayer.forEach(obj => {
// Check for keys matching the pattern "Campaign-"
for (const key in obj) {
if (key.startsWith("Campaign-")) {
window.clarity("event","VWOExperiment");
window.clarity("set", "ExperimentID", obj[key]);
}
}
});
} else {
console.error("dataLayer is not defined or not an array.");
}
}, 3000); // Delay processing by 3 seconds
});
</script>
<!-- Ahrefs analytics -->
<script src="https://analytics.ahrefs.com/analytics.js" data-key="Oyfny1oaUenTZRlJ6uxR+Q" async></script><meta name="robots" content="noindex, follow" />
<link href="https://essayservice.com/johnnydeppweb-com" rel="canonical"/></head><body><header class="header pad-bot--d100-t80-m60"><div class="container w-container"><div class="hero"><div class="hero__left--w980"><h1 class="hero__heading--60">Johnny Depp opens up on his friendship with Gerry Conlon in his new book</h1></div></div></div></header><main class="main"><section class="section"><div class="container w-container"><div class="drop-text w-richtext"><p>Renowned Hollywood movie actor Johnny Depp has described Gerry Conlon as his long-lost brother. In a touching tribute to the man from Belfast, the Tinseltown star opens up on how the two of them became bosom friends after Conlon was released from prison.</p><p>The new details about this unending relationship are contained in a new book about the life of Mr. Conlon, who passed away at 60 years of age in June 2014.</p><p>The details are contained in the foreword of the book penned by Johnny Depp.</p><p>The Hollywood movie maestro reveals that he still carries a wallet that Mr. Conlon gave him emblazoned with the word “Saoirse”- which translates loosely to “freedom” in Irish. Johnny Depp’s foreword is an exceptional piece of writing that both high school and college students should consider analyzing. It can help them significantly improve their own writing skills and submit essays worth the highest praise of an expert <a href="/">essay writer</a>. Paper writing service professionals also use pieces written by famous people for inspiration or as samples of good writing. They are also often used as primary sources. The best example here would <strong>EssayService</strong>, professional academic writing service for college students. It encourages its writers to read such works to expand their knowledge base and find new perspectives.</p><h2>Little-known details</h2><p>In the book titled “In the Name of the Son: The Gerry Conlon Story”, hitherto  details of Conlon’s wrongful arrest and conviction for the Guildford Pub bombing of 1974 are revealed, as are the struggles he encountered upon being freed from the prison.The book is authored by Richard O’Rawe, a former Republican convict who grew up in west Belfast with Mr. Conlon. He remained friends with the deceased throughout their adult lives.</p><p>Mr. Depp, featured in several Hollywood Blockbusters such as the Black Mass and Pirates of the Caribbean, has written a lengthy eight-page foreword for the book that went on sale on October 5, 2017.</p><p>It is not every day that a movie star of Mr. Depp’s standing throws their weight behind a project like this.In the expose’, Depp reveals that he first saw Mr. Conlon in 1989 as he swaggered out of a London prison with his fists raised after completing 15 years in the penitentiary.</p><p>The pair was to meet the following year in the corridors of a Los Angeles talent agency. From there on, their friendship grew into a rock-solid bond.</p><p>In the whole foreword, Mr. Depp has only kind words for his old friend.</p><p>“He was an incredible gentleman who had great mastery in the understanding of the law of streets in the Irish capital of Belfast,” Depp writes.He describes Mr. Conlon as loyal, chivalrous, and extremely sensitive to injustices, irrespective of how big or small.</p><p>He also opens up about the time he visited Mr. Colon in Belfast and spent time with his family.After being released from prison, Mr. Conlon vigorously campaigned for others who faced similar injustices as him. Many people regarded him as an articulate and eloquent spokesman.</p><h2>About the guildford bombings</h2><p>The Guildford bombings took place in 1974 where one civilian and four British soldiers lost their lives.In the wake of the attack, three men, Conlon, Paddy Armstrong, Paul Hill, and Carol Richardson, were wrongfully arrested and convicted as being the masterminds of the attacks.</p><p>Several other people closely related to Mr. Conlon, including his own father ‘Giuseppe’ who died in prison in 1980 while serving his prison term, were later wrongly arrested and convicted.</p><p>The people arrested after the Guildford bombings later formed a group called the ‘Maguire Seven.</p><p>’The hit movie of 1993 called In the Name of the Father was derived from the prison experience of the father and the son. Gerry Conlon played the part of Daniel Day-Lewis in that movie.</p></div></div></section></main><script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=5e6bef914570bffc8bc80080" type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script><script src="https://cdn.prod.website-files.com/5e6bef914570bffc8bc80080/js/essayservice.schunk.36b8fb49256177c8.js" type="text/javascript"></script><script src="https://cdn.prod.website-files.com/5e6bef914570bffc8bc80080/js/essayservice.schunk.72c0f7b3f72b7291.js" type="text/javascript"></script><script src="https://cdn.prod.website-files.com/5e6bef914570bffc8bc80080/js/essayservice.08377c3b.13961e0c7a0c5e45.js" type="text/javascript"></script><script>
// Clarity Events
window.clarity = window.clarity || [];

function getCookie(name) {
let cookieArr = document.cookie.split(';');
for (let i = 0; i < cookieArr.length; i++) {
let cookiePair = cookieArr[i].split('=');
if (name === cookiePair[0].trim()) {
return decodeURIComponent(cookiePair[1]);
}
}
return null;
}

function setCookie(name, value, days) {
let date = new Date();
date.setTime(date.getTime() + (days*24*60*60*1000));
let expires = "expires=" + date.toUTCString();
document.cookie = name + "=" + value + ";" + expires + ";path=/";
}

function sendClarityEvents() {
let gaValue = getCookie('_ga');
let gaParts = gaValue.split('.');

if (gaParts.length > 2) {
let gaAfterSecondDot = gaParts.slice(2).join('.');
window.clarity("event","FirstSession");
window.clarity("set", "ga_client_id", gaAfterSecondDot);
}
setCookie('is_first', '0', 365);
}

function checkCookies() {
let gaCookieExists = getCookie('_ga_K8E6MXZ9H3');
let gaExists = getCookie('_ga');

if (gaCookieExists && gaExists) {
let cookieParts = gaCookieExists.split('.');
if (cookieParts.length > 3 && cookieParts[3] === '1' && !getCookie('is_first')) {
sendClarityEvents();
}
clearInterval(cookieCheckInterval);
}
}

const cookieCheckInterval = setInterval(checkCookies, 100);

document.querySelectorAll('a').forEach(link => {
link.addEventListener('click', event => {
if (link.href.includes('/auth/register')) {
window.clarity("event","ClickSignUpButton");
} else if (link.href.includes('/auth/login')) {
window.clarity("event","ClickLoginButton");
}
});
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js"
integrity="sha512-aUhL2xOCrpLEuGD5f6tgHbLYEXRpYZ8G5yD+WlFrXrPy2IrWBlu6bih5C9H6qGsgqnU6mgx6KtU8TreHpASprw=="
crossorigin="anonymous">
</script>

<script>
// Calculator connection
const appCalcId = $("#appCalc");
if (appCalcId.length > 0) {
const appCalcLink = $("<script>", {
defer: "defer",
type: "text/javascript",
src: "https://calc.essayservice.com/v2/calc-widget.js",
});

$("body").append(appCalcLink);
}

// Text scroll functionality for seo buttons
const btnTop = document.querySelector('.seo__arrow--top');
const btnBottom = document.querySelector('.seo__arrow--bot');

if(btnTop && btnBottom) {
const scrollElem = document.querySelector('.seo__row');

btnTop.onclick = function() {
scrollElem.scrollTo({
top: scrollElem.scrollTop - 400,
behavior: 'smooth'
});
}

btnBottom.onclick = function() {
scrollElem.scrollTo({
top: scrollElem.scrollTop + 400,
behavior: 'smooth'
});
};
};

// Status of the writer
const timerTime = 8 * 60 * 1000; // 8min

class LocalStorageHandler {
constructor(key, defaultValue, ttl = timerTime) {
this.key = key;
this.defaultValue = defaultValue;
this.ttl = ttl;
}
getData() {
const rawData = localStorage.getItem(this.key);
if (!rawData) {
this.setData(this.defaultValue);
return this.defaultValue;
}
const storedData = JSON.parse(rawData);
if (Date.now() - storedData.timestamp > this.ttl) {
this.setData(this.defaultValue);
return this.defaultValue;
}
return storedData.data;
}
setData(data) {
const dataToStore = {
timestamp: Date.now(),
data,
};
localStorage.setItem(this.key, JSON.stringify(dataToStore));
}
}
const elementsToChange = document.querySelectorAll('.status__circle');
const textToChange = document.querySelectorAll('.status__text');
const writersList = document.querySelectorAll('.status-name');
const writersNames = [];
writersList.forEach((writer) => {
let writerName = $(writer).text();
if (!writersNames.includes(writerName)) {
writersNames.push(writerName);
}
});
function updateStatus() {
for (let i = 0; i < writersNames.length; i++) {
const circle = elementsToChange[i];
const text = textToChange[i];
let color, textcolor, status;
const handler = new LocalStorageHandler(writersNames[i], Math.random() < 0.6); // 60% writers online
if (handler.getData()) {
color = '#4ABE71';
textcolor = '#0F3870';
status = 'Writer online';
} else {
color = '#B0BDCE';
textcolor = '#B0BDCE';
status = 'Writer offline';
}
if (circle) {
circle.style.backgroundColor = color;
}
if (text) {
text.innerHTML = status;
text.style.color = textcolor;
}
}
}
updateStatus();
setInterval(updateStatus, 60 * 1000);

// Query Parameters
function getQueryParams() {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.toString() ? '?' + urlParams.toString() : '';
}
document.addEventListener("DOMContentLoaded", function() {
// Annual update of the copyright year
const year = document.querySelector('.copyright-year');
year ? year.textContent = new Date().getFullYear() : console.log('copyright-year is missed');

const queryParams = getQueryParams();
const authButtons = document.querySelectorAll("a[href*='app.essayservice.com']");

authButtons.forEach(button => {
const originalUrl = button.getAttribute('href');

if (originalUrl) {
const newUrl = new URL(originalUrl, window.location.origin);
newUrl.search = newUrl.search + queryParams;

button.setAttribute('href', newUrl.toString());
}
});
});
</script>

<!-- Scripts for redesign elements -->
<script>
//reviews slider animation
document.addEventListener("DOMContentLoaded", () => {
const lists = document.querySelectorAll('.r-reviews__list');

// Якщо нічого не знайдено — просто виходимо
if (!lists.length) return;

lists.forEach(list => {
if (!list.classList.contains('cloned')) {
const items = Array.from(list.children);
items.forEach(item => {
const clone = item.cloneNode(true);
list.appendChild(clone);
});
list.classList.add('cloned');
}
});
});
// Address change
fetch("https://app.essaypro.com/country/")
.then((response) => {
return response.json();
})
.then((json) => {
let countryCode = json.country_code;
let footerAddress = document.querySelector("[address]");

if (footerAddress) {
if (countryCode === "AE") {
footerAddress.textContent = "ESSAYSERVICE, IFZA Business Park, DDP, PO Box 342001, Dubai, United Arab Emirate";
} else {
footerAddress.textContent = "Devellux Inc, 8 The Green, Ste A, Dover, Kent, DE, 19901, the USA";
}
}
})
.catch(error => console.error('Error accessing the API', error));


document.addEventListener('DOMContentLoaded', () => {

const itemTops = document.querySelectorAll('.r-work__item-top');

itemTops.forEach((itemTop) => {
itemTop.addEventListener('click', function () {
if (window.innerWidth > 991) {
return;
}

const currentItem = itemTop.closest('.r-work__item');
const arrow = itemTop.querySelector('.r-work__item-arrow');
const content = currentItem.querySelector('.r-work___item-content');
const isActive = content.classList.contains('is-active');

// Remove classes from all other items
itemTops.forEach((otherItemTop) => {
const otherItem = otherItemTop.closest('.r-work__item');
if (otherItem !== currentItem) {
const otherArrow = otherItemTop.querySelector('.r-work__item-arrow');
const otherContent = otherItem.querySelector('.r-work___item-content');
otherArrow.classList.remove('arrow-rotate');
otherContent.classList.remove('is-active');
}
});

// Toggle classes on the current item
if (isActive) {
arrow.classList.remove('arrow-rotate');
content.classList.remove('is-active');
} else {
arrow.classList.add('arrow-rotate');
content.classList.add('is-active');
}
});
});

// Swipe with scroll
const sliders = document.querySelectorAll('.r-pricing, .r-experts');

sliders.forEach(slider => {
let isDown = false;
let startX;
let scrollLeft;
let velX = 0;
let momentumID;

slider.addEventListener('mousedown', (e) => {
isDown = true;
startX = e.pageX - slider.offsetLeft;
scrollLeft = slider.scrollLeft;
cancelMomentumTracking();
});

slider.addEventListener('mouseleave', () => {
isDown = false;
});

slider.addEventListener('mouseup', () => {
isDown = false;
beginMomentumTracking();
});

slider.addEventListener('mousemove', (e) => {
if (!isDown) return;
e.preventDefault();
const x = e.pageX - slider.offsetLeft;
const walk = (x - startX) * 3;
const prevScrollLeft = slider.scrollLeft;
slider.scrollLeft = scrollLeft - walk;
velX = slider.scrollLeft - prevScrollLeft;
});

slider.addEventListener('wheel', () => {
cancelMomentumTracking();
});

function beginMomentumTracking() {
cancelMomentumTracking();
momentumID = requestAnimationFrame(momentumLoop);
}

function cancelMomentumTracking() {
cancelAnimationFrame(momentumID);
}

function momentumLoop() {
slider.scrollLeft += velX;
velX *= 0.95;
if (Math.abs(velX) > 0.5) {
momentumID = requestAnimationFrame(momentumLoop);
}
}
});
});
</script>
<script>
document.addEventListener("DOMContentLoaded", () => {
const url = new URL(window.location);
const params = url.searchParams;

['assignmentType', 'subject', 'deadline'].forEach((param) => params.delete(param));

if (window.location.search !== url.search) {
window.history.replaceState(
{},
document.title,
url.pathname + (params.toString() ? `?${params.toString()}` : '')
);
}

const searchData = {
subject: [],
type: [],
deadline: [],
};

const isMobile = window.innerWidth <= 991;
const body = document.querySelector('body');
const searchInputs = Array.from(document.querySelectorAll('[search-input]'));
const searchTags = Array.from(document.querySelectorAll('[search-tags]'));
const resultWraps = Array.from(document.querySelectorAll('.r-form__content'));
const resultLists = Array.from(document.querySelectorAll('.r-form__list'));
const searchTriggers = Array.from(document.querySelectorAll('.r-form__mob-text'));
const searchPops = Array.from(document.querySelectorAll('.r-form__pop'));
const searchCloses = Array.from(document.querySelectorAll('.r-form__close'));
const popupOverlay = document.querySelector('.popup-overlay');

fetchData('https://app.essayservice.com/api/directory/external/');

function fetchData(url) {
fetch(url)
.then((response) => {
if (!response.ok) throw new Error('Network response was not ok');
return response.json();
})
.then((json) => {
addData(json.subjects, searchData.subject, 'subject');
addData(json.types, searchData.type, 'type');
addData(json.urgencies, searchData.deadline, 'deadline');
})
.catch((error) => console.error('Error accessing the API:', error));
}

function addData(items, array, type) {
items.forEach((item) => {
let idValue;
if (type === 'deadline') {
if (item.urgency <= 12) {
idValue = `deadline=${item.urgency}hours`;
} else {
const currentDate = new Date();
const deadlineTimestamp = currentDate.getTime() + item.urgency * 60 * 60 * 1000;
const deadline = new Date(deadlineTimestamp);
const year = deadline.getFullYear();
const month = String(deadline.getMonth() + 1).padStart(2, '0');
const day = String(deadline.getDate()).padStart(2, '0');
idValue = `deadline=${year}-${month}-${day}`;
}
} else {
const paramName = type === 'subject' ? 'subject' : 'assignmentType';
idValue = `${paramName}=${item.value}`;
}
array.push({
name: item.title,
group: type === 'deadline' ? processString(item.title) : item[`${type}_group_title`],
paramVal: idValue,
});
});
}

function processString(input) {
let word = input.split(' ')[1];
if (!word.endsWith('s')) word += 's';
return word.charAt(0).toUpperCase() + word.slice(1);
}

document.addEventListener('click', (event) => {
if (!event.target.closest('[search-item]')) closeDrop();
});

function setSelectedTag(text, index) {
if (searchInputs[index]) searchInputs[index].value = text;
if (searchTriggers[index]) searchTriggers[index].innerHTML = text;
}

function openPopUp(index) {
if (searchPops[index]) {
searchPops[index].classList.add('open');
setTimeout(() => {
searchPops[index].style.transform = 'translateY(0vh)';
}, 50);
}
if (popupOverlay) popupOverlay.classList.add('show');
if (body) body.style.overflow = 'hidden';
if (searchInputs[index]) updateResult(searchInputs[index].value, index);
}

function closePopOrDrop() {
isMobile ? closePop() : closeDrop();
}

function closeDrop() {
resultWraps.forEach((wrap) => wrap && (wrap.style.display = 'none'));
}

function closePop() {
searchPops.forEach((pop) => {
if (pop) {
pop.style.transform = 'translateY(100vh)';
setTimeout(() => pop.classList.remove('open'), 300);
}
});
if (popupOverlay) popupOverlay.classList.remove('show');
if (body) body.style.overflow = 'visible';
}

function updateResult(query, index) {
closeDrop();
const searchType = searchInputs[index]?.getAttribute('search-input');
if (!searchType) return;
const searchItems = searchData[searchType];
if (!resultWraps[index] || !resultLists[index]) return;
resultWraps[index].style.display = 'block';
query = query.toLowerCase();

const results = searchType === 'deadline'
? searchItems
: searchItems.filter((el) => el.name.toLowerCase().includes(query));

resultLists[index].innerHTML = results.length
? renderResults(results, searchType)
: '<p class="r-form__value">Nothing was found</p>';

addResult(index);
}

function renderResults(results) {
const groupedResults = results.reduce((groups, item) => {
groups[item.group] = groups[item.group] || [];
groups[item.group].push(item);
return groups;
}, {});

return Object.keys(groupedResults).sort().map((group) => `
<div class="r-form__title">${group}</div>
${groupedResults[group]
.sort((a, b) => {
const numA = extractNumber(a.name);
const numB = extractNumber(b.name);
return numA !== null && numB !== null ? numA - numB : a.name.localeCompare(b.name);
})
.map((item) => `<p class="r-form__value" data-param-val=${item.paramVal}>${item.name}</p>`)
.join('')}
`).join('');
}

function extractNumber(str) {
const match = str.match(/\d+/);
return match ? parseInt(match[0], 10) : null;
}

function addResult(index) {
if (!resultLists[index]) return;
resultLists[index].querySelectorAll('.r-form__value').forEach((item) => {
item.addEventListener('click', () => {
if (body) body.style.overflow = 'visible';
setSelectedTag(item.innerText, index);
closePopOrDrop();
const paramValue = item.getAttribute('data-param-val');
if (paramValue) updateUrlParam(paramValue);
if (searchInputs[index]?.getAttribute('search-field')) {
dataLayer.push({
event: 'hero_form_value_click',
click_text: item.textContent,
method: searchInputs[index].getAttribute('search-field'),
});
}
});
});
}

function updateUrlParam(paramValue) {
const url = new URL(window.location.href);
const [key, value] = paramValue.split('=');
if (key && value) url.searchParams.set(key, value);
window.history.pushState({}, '', url);
updateLinksWithParams();
}

function removeUrlParam(key) {
const url = new URL(window.location.href);
url.searchParams.delete(key);
window.history.pushState({}, '', url);
updateLinksWithParams();
}

searchInputs.forEach((input, index) => {
input.addEventListener('focus', () => updateResult(input.value, index));
input.addEventListener('input', () => updateResult(input.value, index));
});

searchTags.forEach((tagContainer, index) => {
tagContainer.querySelectorAll('[search-tag]').forEach((tag) => {
tag.addEventListener('click', () => {
closePopOrDrop();
normalIcon(index);
setSelectedTag(tag.textContent, index);

let paramValue = tag.getAttribute('data-param-val');
if (tag.getAttribute('search-tag') === 'Deadline') {
const hours = parseInt(tag.getAttribute('data-val'), 10);
if (!isNaN(hours)) {
if (hours <= 12) {
paramValue = `deadline=${hours}hours`;
} else {
const currentDate = new Date();
const deadlineTimestamp = currentDate.getTime() + hours * 60 * 60 * 1000;
const deadline = new Date(deadlineTimestamp);
const year = deadline.getFullYear();
const month = String(deadline.getMonth() + 1).padStart(2, '0');
const day = String(deadline.getDate()).padStart(2, '0');
paramValue = `deadline=${year}-${month}-${day}`;
}
tag.setAttribute('data-param-val', paramValue);
}
}
if (paramValue) updateUrlParam(paramValue);
});
});
});

searchCloses.forEach((closeBtn) => {
closeBtn.addEventListener('click', () => closePopOrDrop());
});

if (popupOverlay) {
popupOverlay.addEventListener('click', () => closePopOrDrop());
}

searchTriggers.forEach((trigger, index) => {
trigger.addEventListener('click', () => openPopUp(index));
});

document.querySelectorAll('.r-form__input-wrap').forEach((inputWrap) => {
const searchField = inputWrap.querySelector('input[search-field]');
const searchClear = inputWrap.querySelector('.r-form__clear');
if (!searchField || !searchClear) return;

function updateClearButtonVisibility() {
searchClear.classList.toggle('active', searchField.value.trim() !== '');
}

searchField.addEventListener('focus', updateClearButtonVisibility);
searchField.addEventListener('input', updateClearButtonVisibility);

searchClear.addEventListener('click', () => {
if (!searchClear.classList.contains('active')) return;
searchField.value = '';
searchClear.classList.remove('active');
const searchFieldAttr = searchField.getAttribute('search-field');
const index = searchInputs.findIndex((input) => input.getAttribute('search-field') === searchFieldAttr);
if (index !== -1) updateResult('', index);
if (searchFieldAttr === 'Subject') removeUrlParam('subject');
else if (searchFieldAttr === 'Deadline') removeUrlParam('deadline');
else if (searchFieldAttr === 'AssignmentType') removeUrlParam('assignmentType');
updateLinksWithParams();
});

searchField.addEventListener('blur', () => {
setTimeout(() => {
updateClearButtonVisibility();
searchClear.classList.remove('active');
}, 200);
});
});

function updateLinksWithParams() {
const currentParams = window.location.search;
document.querySelectorAll('a').forEach((link) => {
const originalHref = link.getAttribute('href');
if (originalHref && originalHref.includes('https://app.essayservice.com/auth/register')) {
const url = new URL(originalHref, window.location.origin);
currentParams.replace(/^\?/, '').split('&').forEach((param) => {
const [key, value] = param.split('=');
if (key && value) url.searchParams.set(key, value);
});
link.setAttribute('href', url.toString());
}
});
}

function getQueryParams() {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.toString() ? '?' + urlParams.toString() : '';
}

function cleanParamsFromLinks() {
const paramsToRemove = ['assignmentType', 'subject', 'deadline'];
document.querySelectorAll('a').forEach((link) => {
try {
const url = new URL(link.href, window.location.origin);
paramsToRemove.forEach((param) => url.searchParams.delete(param));
link.href = url.toString();
} catch (e) {
console.error('Invalid URL in link:', link.href, e);
}
});
}

cleanParamsFromLinks();
});
</script>
<!-- Start Google One Tap -->
<div id="g_id_onload"></div>
<script src="https://accounts.google.com/gsi/client" async defer></script>
<script src="https://cdn.jsdelivr.net/npm/jwt-decode/build/jwt-decode.min.js"></script>
<script>
function isMobileDevice() {
return /Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent);
}

function setCookie({ name, value, domain }) {
document.cookie = name + "=" + encodeURIComponent(value) + "; domain=" + domain + "; path=/";
}

function getCookie(name) {
const value = `; ${document.cookie}`;
const parts = value.split(`; ${name}=`);
if (parts.length === 2) return parts.pop().split(';').shift();
}


function initializeGoogleOneTap() {
if (!window.google || !window.google.accounts || !window.google.accounts.id) {
console.error("Google Identity Services не завантажені");
return;
}

google.accounts.id.initialize({
client_id: '237794870555-2ik04u9ja52namqbji11lc6tj8pblkmg.apps.googleusercontent.com',
cancel_on_tap_outside: false,
callback: handleCredentialResponse
});

google.accounts.id.prompt(); // Відкриває One Tap
}

function handleCredentialResponse(response) {
const decodedToken = jwt_decode(response.credential);


const authForm = document.getElementById('auth-form');
const isAuthFormActive = authForm && authForm.classList.contains('is-active');


fetch('https://app.essayservice.com/api/social/auth/signin/google-oauth2/', {
method: 'POST',
body: JSON.stringify({
access_token: response.credential,
signup_method: 'ontapgoogle',
activate: false,
client_id: 'pgnfidgwuKhlfrh4jRuIirRpvteChDGnga9I4hmj',
is_test: false,
role: 'customer',
site: 'app.essayservice.com'
}),
headers: {
'Content-Type': 'application/json',
},
credentials: 'include',
})
.then(response => {
if (!response.ok) {
throw new Error(`HTTP error! Status: ${response.status}`);
}
return response.json();
})
.then((data) => {
const queryParams = getQueryParams();
const twoFactor = data.is_sms_otp_allow;
if(twoFactor){
if(isAuthFormActive) {
toggleIsActive('auth-form', true);
toggleIsActive('initial-state', false);
toggleIsActive('auth-form-social', false);
toggleIsActive('code-state', true);
loginToken = data.token;
} else {
window.location.href = `https://app.essayservice.com/auth/two-factor?token=${data.token}&is_sms_otp_allow=${twoFactor}` + queryParams;
}
} else {

const userId = getCookie('extra_metadata');

const isNewUser = data.is_new;

// Default login/signup method
const DEFAULT_METHOD = 'ontapgoogle';

// Determine the event type based on user status
const eventType = isNewUser ? 'CompleteRegistration' : 'user_id';

// Store tokens on successful login
setCookie({ name: 'accessToken', value: data.access_token, domain: '.essayservice.com' });
setCookie({ name: 'refreshToken', value: data.refresh_token, domain: '.essayservice.com' });

if (isNewUser) {
setCookie({ name: 'new_user', value: 'true', domain: '.essayservice.com' });
}

window.dataLayer = window.dataLayer || [];

// Push the main event
window.dataLayer.push({
event: eventType,
method: DEFAULT_METHOD,
user_id: userId,
});

// Push the login event for existing users
if (!isNewUser) {
window.dataLayer.push({
event: 'user_login',
method: DEFAULT_METHOD,
user_id: userId,
});
}

if (window.location.pathname === '/' || window.location.pathname === '/new') {
const newUrl = isNewUser ? 'https://app.essayservice.com/customer/draft/new' : 'https://app.essayservice.com/customer/orders/open';
window.location.href = newUrl + queryParams;
} else {
document.getElementById("signup").style.display="none";
document.getElementById("login").style.display="flex";
}
}
})
.catch(error => {
console.error('Error during login', error);
});
}

window.addEventListener("load", function() {
const cookieExists = document.cookie.includes("extra_metadata");

/*
const extractNumber = (data) => {
for (const obj of data) {
for (const key in obj) {
const match = obj[key].match?.(/:(\d+)$/);
if (match) {
return Number(match[1]);
}
}
}
return null; // If no experiment
};

const experimentVariant = extractNumber(window.dataLayer);
*/

if ((window.location.pathname === '/' || window.location.pathname === '/new') && cookieExists) {
const queryParams = getQueryParams();
window.location.href = 'https://app.essayservice.com/customer/orders/open' + queryParams;
} else if (cookieExists) {
document.getElementById("signup").style.display = "none";
document.getElementById("login").style.display = "flex";
} else {
setTimeout(() => {
initializeGoogleOneTap();
}, 5000);
}
});

</script>
<!-- End Google One Tap --></body></html>

Ads.Txt Alerts - A trading name of Red Volcano Limited

Waterloo Buildings, Second Floor Rear, 53 London Road, Southampton, Hampshire, United Kingdom, SO15 2AD

© Red Volcano 2020. All Rights Reserved.