{"id":112999,"date":"2025-02-27T08:56:39","date_gmt":"2025-02-27T08:56:39","guid":{"rendered":"https:\/\/peraltafinancing.com\/analytics\/gtmtips-add-a-load-listener-to-script-elements\/"},"modified":"2025-02-27T08:56:39","modified_gmt":"2025-02-27T08:56:39","slug":"gtmtips-add-a-load-listener-to-script-elements","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=112999","title":{"rendered":"#GTMTips: Add A Load Listener To Script Elements"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<p>One of the challenges in working with <a href=\"https:\/\/tagmanager.google.com\/\">Google Tag Manager<\/a> (or any JavaScript-based platform for that matter) is what to do with <a href=\"https:\/\/www.simoahava.com\/analytics\/google-analytics-page-load\/\">race conditions<\/a>. A <strong>race condition<\/strong> emerges when you have two resources competing for execution in the browser, and there is a degree of unpredictability to which \u201cwins\u201d the race.<\/p>\n<p>A prime example is working with <a href=\"https:\/\/www.jquery.com\/\">jQuery<\/a>. It\u2019s one of the most popular JavaScript libraries out there, and websites utilize it for a multitude of things, many useful for Google Tag Manager, too. For example, jQuery trivializes <a href=\"http:\/\/api.jquery.com\/jquery.ajax\/\">asynchronous HTTP requests<\/a> and <a href=\"https:\/\/api.jquery.com\/category\/traversing\/\">DOM traversal<\/a>, both of which can cause headaches to GTM users.<\/p>\n<p>However, since jQuery is often, and should often be, downloaded asynchronously, there\u2019s the risk that <strong>jQuery hasn\u2019t loaded yet when GTM starts executing your tags<\/strong>. Thus we need some mechanism to let Google Tag Manager know when an asynchronously downloaded or requested resource has become available.<\/p>\n<p>                <span class=\"simmer\"><br \/>\n  <span class=\"close\">X<\/span><\/p>\n<p>\n    <span class=\"fa fa-md fa-bell\"\/><br \/>\n    <strong>The Simmer Newsletter<\/strong>\n  <\/p>\n<p>\n    Subscribe to the <a href=\"https:\/\/www.simoahava.com\/newsletter\/\">Simmer newsletter<\/a> to get the latest news and content from Simo Ahava into your email inbox!\n  <\/p>\n<p>  <\/span><\/p>\n<h2 id=\"tip-66-add-a-load-listener-to-script-elements\">Tip 66: Add a load listener to script elements<\/h2>\n<div style=\"aspect-ratio: 960 \/ 540;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2017\/12\/add-load-listener-to-script-elements.jpg\" title=\"Add a load listener to script elements on the page\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"540\" width=\"960\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2017\/12\/add-load-listener-to-script-elements.jpg#ZgotmplZ\" alt=\"Add a load listener to script elements on the page\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>There are two ways you can go about this. The first one is to use a <strong>Custom HTML tag<\/strong>, and then fire a <code>dataLayer.push()<\/code> once the resource has completely loaded. The second way is to use <a href=\"https:\/\/www.simoahava.com\/analytics\/understanding-tag-sequencing-in-google-tag-manager\/\">tag sequencing<\/a>, and tell GTM that the setup tag (where you load the script) has completed by using the internal <code>onHtmlSuccess()<\/code> method. But I\u2019m getting ahead of myself.<\/p>\n<h3 id=\"datalayerpush-in-the-load-listener-callback\"><code>dataLayer.push()<\/code> in the load listener callback<\/h3>\n<p>The first method is to create a <strong>Custom HTML tag<\/strong> that fires as early as possible. So you\u2019d want to add the <strong>All Pages<\/strong> trigger to it, so that it fires as soon as the GTM container has loaded.<\/p>\n<p>At this point it\u2019s important that you <strong>do not<\/strong> load the script by simply adding the <code><script src=\"&quot;url_to_jquery&quot;\" async=\"&quot;true&quot;\"\/><\/code> into the Custom HTML tag. Instead, we\u2019ll introduce some extra control by using JavaScript to create the element, add the listener to it, and inject it manually to the page. You could use the <code>onload<\/code> attribute directly in the element, but the risk here is that you overwrite any existing <code>onload<\/code> attribute. By using JavaScript DOM manipulation methods, you won\u2019t mess with any pre-existing listeners.<\/p>\n<div class=\"highlight\">\n<pre style=\"background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-html\" data-lang=\"html\">script&gt;\n  (<span style=\"color:#00a\">function<\/span>() {\n    <span style=\"color:#00a\">var<\/span> el = <span style=\"color:#0aa\">document<\/span>.createElement(<span style=\"color:#a50\">'script'<\/span>);\n\tel.src = <span style=\"color:#a50\">'https:\/\/code.jquery.com\/jquery-3.2.1.js'<\/span>;\n\tel.async = <span style=\"color:#a50\">'true'<\/span>;\n\tel.addEventListener(<span style=\"color:#a50\">'load'<\/span>, <span style=\"color:#00a\">function<\/span>() {\n\t  <span style=\"color:#0aa\">window<\/span>.dataLayer.push({\n\t    event: <span style=\"color:#a50\">'jQueryLoaded'<\/span>\n\t  });\n    });\n    <span style=\"color:#0aa\">document<\/span>.head.appendChild(el);\n  })();\n<span style=\"color:#1e90ff;font-weight:bold\">script<\/span>&gt;<\/code><\/pre>\n<\/div>\n<p>When this Custom HTML tag is run by GTM, the browser creates an asynchronous request to download the <code>jquery-3.2.1.js<\/code> from the CDN (Content Distribution Network). Once this asynchronous process is over, a <code>dataLayer.push({event: 'jQueryLoaded'})<\/code> fires, and you can then build a <strong>Custom Event trigger<\/strong> for this event name to fire any tags that are dependent on jQuery having loaded.<\/p>\n<h3 id=\"using-tag-sequencing\">Using Tag Sequencing<\/h3>\n<p>If you only have a single tag that needs the asynchronously downloaded resource, a fairly elegant way to do this would be with <a href=\"https:\/\/www.simoahava.com\/analytics\/understanding-tag-sequencing-in-google-tag-manager\/\">tag sequencing<\/a>. With tag sequencing, you would create a <strong>Custom HTML tag<\/strong> for this code, and add it as the <strong>Setup tag<\/strong> in the sequence. The logic is that the asynchronous request is executed in the Setup tag, and once it\u2019s complete, the main tag can fire with confidence that the resource it is dependent on has completely loaded.<\/p>\n<p>This is what the Custom HTML tag for the Setup tag would look like:<\/p>\n<div class=\"highlight\">\n<pre style=\"background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-html\" data-lang=\"html\">script&gt;\n  (<span style=\"color:#00a\">function<\/span>() {\n    <span style=\"color:#00a\">var<\/span> el = <span style=\"color:#0aa\">document<\/span>.createElement(<span style=\"color:#a50\">'script'<\/span>);\n\tel.src = <span style=\"color:#a50\">'https:\/\/code.jquery.com\/jquery-3.2.1.js'<\/span>;\n\tel.async = <span style=\"color:#a50\">'true'<\/span>;\n\tel.addEventListener(<span style=\"color:#a50\">'load'<\/span>, <span style=\"color:#00a\">function<\/span>() {\n\t  <span style=\"color:#0aa\">window<\/span>.google_tag_manager[{{Container ID}}].onHtmlSuccess({{HTML ID}});\n    });\n    <span style=\"color:#0aa\">document<\/span>.head.appendChild(el);\n  })();\n<span style=\"color:#1e90ff;font-weight:bold\">script<\/span>&gt;<\/code><\/pre>\n<\/div>\n<p>Note that for this to work, you must enable the <a href=\"https:\/\/www.simoahava.com\/analytics\/variable-guide-google-tag-manager\/#built-in-variables\">Built-in variables<\/a> <strong>Container ID<\/strong> and <strong>HTML ID<\/strong>.<\/p>\n<p>The mysterious <code>window.google_tag_manager[].onHtmlSuccess()<\/code> method is an internal function you need to use in tag sequencing if you want GTM to wait for some code (e.g. asynchronous callbacks) to execute before moving from the setup tag to the main tag. If you didn\u2019t have this piece of code here, GTM would simply jump straight to the main tag after executing the last line of the setup tag, and in that case it\u2019s very possible that jQuery hasn\u2019t completely downloaded yet.<\/p>\n<h2 id=\"summary\">Summary<\/h2>\n<p>These two methods can be used to get the best of both worlds: asynchronous requests WITH predictability. Race conditions can be brutal and difficult to identify. It\u2019s only once you start logging JavaScript errors that you might notice an increase in error messages like <code>jQuery is not defined<\/code>. This is a signal that you might be trying to use a resource before it has completely loaded. Using a <code>load<\/code> listener is a handy way to combat this.<\/p>\n<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>One of the challenges in working with Google Tag Manager (or any JavaScript-based platform for that matter) is what to do with race conditions. A race condition emerges when you have two resources competing for execution in the browser, and there is a degree of unpredictability to which \u201cwins\u201d the race. A prime example is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":113002,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12033],"tags":[16353,26009,14492,32681,25619,31685],"dealstore":[],"offerexpiration":[],"class_list":["post-112999","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","tag-add","tag-elements","tag-gtmtips","tag-listener","tag-load","tag-script"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>#GTMTips: Add A Load Listener To Script Elements - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fivemor.com\/?p=112999\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"#GTMTips: Add A Load Listener To Script Elements - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"One of the challenges in working with Google Tag Manager (or any JavaScript-based platform for that matter) is what to do with race conditions. A race condition emerges when you have two resources competing for execution in the browser, and there is a degree of unpredictability to which \u201cwins\u201d the race. A prime example is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=112999\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-27T08:56:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=112999#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=112999\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"#GTMTips: Add A Load Listener To Script Elements\",\"datePublished\":\"2025-02-27T08:56:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=112999\"},\"wordCount\":712,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=112999#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg\",\"keywords\":[\"Add\",\"Elements\",\"GTMTips\",\"Listener\",\"Load\",\"Script\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=112999#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=112999\",\"url\":\"https:\/\/fivemor.com\/?p=112999\",\"name\":\"#GTMTips: Add A Load Listener To Script Elements - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=112999#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=112999#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg\",\"datePublished\":\"2025-02-27T08:56:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=112999#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=112999\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=112999#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg\",\"width\":960,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=112999#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"#GTMTips: Add A Load Listener To Script Elements\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"#GTMTips: Add A Load Listener To Script Elements - Som2ny Network","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fivemor.com\/?p=112999","og_locale":"en_US","og_type":"article","og_title":"#GTMTips: Add A Load Listener To Script Elements - Som2ny Network","og_description":"One of the challenges in working with Google Tag Manager (or any JavaScript-based platform for that matter) is what to do with race conditions. A race condition emerges when you have two resources competing for execution in the browser, and there is a degree of unpredictability to which \u201cwins\u201d the race. A prime example is [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=112999","og_site_name":"Som2ny Network","article_published_time":"2025-02-27T08:56:39+00:00","og_image":[{"width":960,"height":540,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=112999#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=112999"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"#GTMTips: Add A Load Listener To Script Elements","datePublished":"2025-02-27T08:56:39+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=112999"},"wordCount":712,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=112999#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg","keywords":["Add","Elements","GTMTips","Listener","Load","Script"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=112999#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=112999","url":"https:\/\/fivemor.com\/?p=112999","name":"#GTMTips: Add A Load Listener To Script Elements - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=112999#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=112999#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg","datePublished":"2025-02-27T08:56:39+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=112999#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=112999"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=112999#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/add-load-listener-to-script-elements.jpg","width":960,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=112999#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"#GTMTips: Add A Load Listener To Script Elements"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/112999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=112999"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/112999\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/113002"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=112999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=112999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=112999"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=112999"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=112999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}