{"id":1419,"date":"2017-07-13T19:34:59","date_gmt":"2017-07-13T19:34:59","guid":{"rendered":"https:\/\/www.searchviu.com\/?p=1419"},"modified":"2023-02-09T13:58:38","modified_gmt":"2023-02-09T13:58:38","slug":"javascript-seo-experiment-hreflang","status":"publish","type":"post","link":"https:\/\/www.searchviu.com\/de\/javascript-seo-experiment-hreflang\/","title":{"rendered":"JavaScript SEO Test: Verwendet Google Pre- oder Post-DOM-HTML f\u00fcr die Interpretation von hreflang?"},"content":{"rendered":"<p><strong>In times of JavaScript crawling and indexing, it is crucial to understand how Google deals with the two HTML versions of each page of a website that uses JavaScript: the pre-DOM and the post-DOM HTML. Out of curiosity, we set up a little test to find out which of the two versions Google uses to interpret hreflang annotations implemented in the head of the HTML document.<\/strong><\/p>\n<p>If you are not familiar with the basics of JavaScript SEO, or if\u00a0<em>pre-DOM and post-DOM HTML<\/em>\u00a0don\u2019t mean anything to you yet, we highly recommend\u00a0<a href=\"https:\/\/twitter.com\/justinrbriggs\" target=\"_blank\" rel=\"noopener noreferrer\">Justin Briggs<\/a>\u2018 article\u00a0<a href=\"https:\/\/www.briggsby.com\/dealing-with-javascript-for-seo\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u201cThe core principles of SEO for JavaScript\u201d<\/a>, a piece that everybody interested in the more technical side of SEO should read and digest.<\/p>\n<p>The idea for this little test emerged while we were preparing a different experiment that we are going to publish soon: We had been wondering if it\u2019s possible to\u00a0<a href=\"https:\/\/www.searchviu.com\/en\/hreflang-google-tag-manager\/\">implement hreflang with Google Tag Manager<\/a><em>\u00a0(Spoiler: the answer is\u00a0<strong>yes!<\/strong>)<\/em>.<\/p>\n<p>In order to test this on our own website,\u00a0<a href=\"https:\/\/www.searchviu.com\/\">searchVIU.com<\/a>, we first of all had to remove the hreflang annotations that were already in place. Due to our technical setup (hreflang had been automatically added by the great multilingual WordPress plugin\u00a0<a href=\"https:\/\/polylang.pro\/\">Polylang<\/a>), we did not find a quick and easy way to remove hreflang from our website. So we decided to just use Google Tag Manager to\u00a0<strong>remove<\/strong>\u00a0the hreflang annotations from our website before adding them again (also with Google Tag Manager).<\/p>\n<h2>Removing hreflang from the website with Google Tag Manager<\/h2>\n<p>The configuration in Google Tag Manager for removing all\u00a0<a href=\"https:\/\/www.rebelytics.com\/hreflang-annotations\/\" target=\"_blank\" rel=\"noopener noreferrer\">hreflang tags<\/a>\u00a0from the HTML code of a page is extremely simple:<\/p>\n<p><a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/remove-hreflang-with-google-tag-manager.jpeg\" rel=\"prettyPhoto[gallery-BWeQ]\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1439\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/remove-hreflang-with-google-tag-manager.jpeg\" sizes=\"(max-width: 1670px) 100vw, 1670px\" srcset=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/remove-hreflang-with-google-tag-manager.jpeg 1670w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/remove-hreflang-with-google-tag-manager-500x288.jpeg 500w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/remove-hreflang-with-google-tag-manager-1030x593.jpeg 1030w\" alt=\"Script for removing hreflang with Google Tag Manager\" width=\"100%\" data-cmp-info=\"9\" \/><\/a><\/p>\n<p>The script you see in the screenshot removes all link elements that have hreflang attributes from the HTML source code (hat tip to\u00a0<a href=\"https:\/\/twitter.com\/samnemzer\" target=\"_blank\" rel=\"noopener noreferrer\">Sam Nemzer<\/a>\u00a0for sharing the scripts we used as inspiration for this in his masterpiece\u00a0<a href=\"https:\/\/moz.com\/blog\/seo-changes-using-google-tag-manager\" target=\"_blank\" rel=\"noopener noreferrer\">\u201cHow to Implement SEO Changes Using Google Tag Manager\u201d<\/a>).<\/p>\n<p>This implementation with Google Tag Manager results in a conflict between the pre- and the post-DOM HTML: The hreflang annotations are present in the HTML source document (pre-DOM), but absent in the rendered HTML (post-DOM). Let\u2019s break this down for those of you that are less familiar with these concepts:<\/p>\n<p>You can access the pre-DOM HTML code of a page by right clicking in your browser and selecting \u201cView source code\u201d. On\u00a0<a href=\"https:\/\/www.searchviu.com\/\">searchVIU.com<\/a>, while this test is still active\u00a0<em>(maybe not anymore right now, depending on when you are reading this)<\/em>, the hreflang annotations are visible in the pre-DOM HTML source document of each page:<\/p>\n<p><a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-in-html-source-code.jpeg\" rel=\"prettyPhoto[gallery-BWeQ]\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1441\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-in-html-source-code.jpeg\" sizes=\"(max-width: 1822px) 100vw, 1822px\" srcset=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-in-html-source-code.jpeg 1822w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-in-html-source-code-500x227.jpeg 500w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-in-html-source-code-1030x467.jpeg 1030w\" alt=\"hreflang annotations in HTML source code\" width=\"100%\" data-cmp-info=\"9\" \/><\/a><\/p>\n<p>In the rendered HTML version (the post-DOM HTML), which you can access by right clicking in your browser and selecting \u201cInspect\u201d (or the equivalent term your browser uses), the hreflang annotations are absent, as they have been removed with the help of Google Tag Manager, using JavaScript. In this screenshot you see the same area of the HTML code, but there are no hreflang annotations to be seen:<\/p>\n<p><a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/no-hreflang-in-rendered-html.jpeg\" rel=\"prettyPhoto[gallery-BWeQ]\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1443\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/no-hreflang-in-rendered-html.jpeg\" sizes=\"(max-width: 2550px) 100vw, 2550px\" srcset=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/no-hreflang-in-rendered-html.jpeg 2550w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/no-hreflang-in-rendered-html-500x222.jpeg 500w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/no-hreflang-in-rendered-html-1030x456.jpeg 1030w\" alt=\"No hreflang in the rendered HTML version\" width=\"100%\" data-cmp-info=\"9\" \/><\/a><\/p>\n<h2>How does Google deal with hreflang being present in the HTML source, but absent in the rendered HTML?<\/h2>\n<p>To be honest, we had no clue how this would work out. Would Google ignore the hreflang annotations in the HTML source because they were missing in the rendered HTML? We were of course hoping this would be the case, otherwise we wouldn\u2019t have set up this test.<\/p>\n<p>The simple answer to this question is that\u00a0<strong>Google doesn\u2019t care about the HTML source document (the pre-DOM HTML) and only looks at the rendered HTML (the post-DOM HTML).<\/strong><\/p>\n<p>Shortly after removing the hreflang annotations, Google started ranking the root URL with an English snippet in position 2 in the German search results (on google.de), right after the German home page:<\/p>\n<p><a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/search-result-for-searchviu-after-removing-hreflang.jpeg\" rel=\"prettyPhoto[gallery-BWeQ]\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1445\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/search-result-for-searchviu-after-removing-hreflang.jpeg\" sizes=\"(max-width: 1706px) 100vw, 1706px\" srcset=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/search-result-for-searchviu-after-removing-hreflang.jpeg 1706w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/search-result-for-searchviu-after-removing-hreflang-500x292.jpeg 500w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/search-result-for-searchviu-after-removing-hreflang-1030x603.jpeg 1030w\" alt=\"Search results for searchVIU after removing hreflang\" width=\"100%\" data-cmp-info=\"9\" \/><\/a><\/p>\n<p>Before, with hreflang still implemented correctly, only the German version ranked in the German search results, just as expected when hreflang is implemented correctly.<\/p>\n<p>We, of course, wanted more proof for this, so we kept an eye on the hreflang report in Google Search Console. For about two weeks after the removal of the hreflang annotations, nothing happened. We already started thinking that the bad international SERP display we were suffering since the change might have been a coincidence, but then things finally started to move:<\/p>\n<p><a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-count-in-google-search-console-going-down.jpeg\" rel=\"prettyPhoto[gallery-BWeQ]\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1446\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-count-in-google-search-console-going-down.jpeg\" sizes=\"(max-width: 1496px) 100vw, 1496px\" srcset=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-count-in-google-search-console-going-down.jpeg 1496w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-count-in-google-search-console-going-down-500x317.jpeg 500w, https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/hreflang-count-in-google-search-console-going-down-1030x653.jpeg 1030w\" alt=\"The hreflang count in Google Search Console went down\" width=\"100%\" data-cmp-info=\"9\" \/><\/a><\/p>\n<p>This, together with the fact that our international versions are displayed in the wrong way since the change, is enough evidence to say that Google ignores our HTML source document and only pays attention to the rendered HTML for the interpretation of hreflang. Quite interesting, huh?<\/p>\n<h2>Conclusion and outlook<\/h2>\n<p>We were surprised and happy to find out that Google behaves this way. We thought that Google might process both the pre- and the post-DOM HTML and use some of the information it finds in both. But then again, it would probably be quite difficult for them to determine which version to trust if there are conflicts. So it looks like they are moving (or have moved) to strictly working with the rendered HTML and ignoring the pre-DOM HTML. In hindsight, this probably makes sense and we should have expected the results we saw.<\/p>\n<p>What do you think? Have you made similar observations? Or contrary ones? Do you know of current cases where Google ignores the rendered HTML and uses the pre-DOM HTML? We would love to hear from you in the comments.<\/p>\n<p>Also, if you\u2019re interested in part two of this experiment, stay tuned! We will implement hreflang using Google Tag Manager next and share a step-by-guide on this blog to show you how to do it yourself. We obviously expect Google to process hreflang annotations implemented this way just fine after having seen the results above, but we\u2019ll let you know how it goes anyhow. Just follow us on\u00a0<a href=\"https:\/\/twitter.com\/searchviu\/\" target=\"_blank\" rel=\"noopener noreferrer\">Twitter<\/a>,\u00a0<a href=\"https:\/\/www.facebook.com\/searchVIU\/\" target=\"_blank\" rel=\"noopener noreferrer\">Facebook<\/a>, or wherever you like, so you don\u2019t miss it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wir wollten wissen, ob Google Pre- oder Post-DOM-HTML f\u00fcr die Interpretation von hreflang verwendet, also haben wir ein Experiment durchgef\u00fchrt. Die \u00fcberraschenden Ergebnisse findest du hier!<\/p>","protected":false},"author":3,"featured_media":1124,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1],"tags":[30],"class_list":["post-1419","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo-experiments","tag-english"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DOM SEO test: Does Google use pre- or post-DOM HTML for hreflang?<\/title>\n<meta name=\"description\" content=\"We wanted to know if Google uses pre- or post-DOM HTML for interpreting hreflang, so we did an experiment. See the surprising results here!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.searchviu.com\/de\/javascript-seo-experiment-hreflang\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript SEO test: Does Google use pre- or post-DOM HTML for interpreting hreflang?\" \/>\n<meta property=\"og:description\" content=\"We wanted to know if Google uses pre- or post-DOM HTML for interpreting hreflang, so we did an experiment. See the surprising results here!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.searchviu.com\/de\/javascript-seo-experiment-hreflang\/\" \/>\n<meta property=\"og:site_name\" content=\"SEO Data Warehouse And Monitoring\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-13T19:34:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-09T13:58:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/javascript-seo-test-400x269-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"269\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Eoghan Henn\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@searchviu\" \/>\n<meta name=\"twitter:site\" content=\"@searchviu\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eoghan Henn\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/\"},\"author\":{\"name\":\"Eoghan Henn\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#\\\/schema\\\/person\\\/7a031e5565b9ece3fd77be3c7f19381c\"},\"headline\":\"JavaScript SEO test: Does Google use pre- or post-DOM HTML for interpreting hreflang?\",\"datePublished\":\"2017-07-13T19:34:59+00:00\",\"dateModified\":\"2023-02-09T13:58:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/\"},\"wordCount\":988,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/javascript-seo-test-400x269-1.jpg\",\"keywords\":[\"english\"],\"articleSection\":[\"SEO experiments\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/\",\"url\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/\",\"name\":\"DOM SEO test: Does Google use pre- or post-DOM HTML for hreflang?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/javascript-seo-test-400x269-1.jpg\",\"datePublished\":\"2017-07-13T19:34:59+00:00\",\"dateModified\":\"2023-02-09T13:58:38+00:00\",\"description\":\"We wanted to know if Google uses pre- or post-DOM HTML for interpreting hreflang, so we did an experiment. See the surprising results here!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/javascript-seo-test-400x269-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/javascript-seo-test-400x269-1.jpg\",\"width\":400,\"height\":269},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/javascript-seo-experiment-hreflang\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.searchviu.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript SEO test: Does Google use pre- or post-DOM HTML for interpreting hreflang?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#website\",\"url\":\"https:\\\/\\\/www.searchviu.com\\\/\",\"name\":\"SEO Data Warehouse And Monitoring\",\"description\":\"SEO Solutions For Teams And Agencies\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.searchviu.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#organization\",\"name\":\"searchVIU\",\"url\":\"https:\\\/\\\/www.searchviu.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/d3babe41-searchviu-logo2x.png\",\"contentUrl\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/d3babe41-searchviu-logo2x.png\",\"width\":340,\"height\":340,\"caption\":\"searchVIU\"},\"image\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/searchviu\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/searchviu\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#\\\/schema\\\/person\\\/7a031e5565b9ece3fd77be3c7f19381c\",\"name\":\"Eoghan Henn\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/88ecd619af8b41640851bdb169ff87f2ddec10119431686bd36effdde5ff2eb8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/88ecd619af8b41640851bdb169ff87f2ddec10119431686bd36effdde5ff2eb8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/88ecd619af8b41640851bdb169ff87f2ddec10119431686bd36effdde5ff2eb8?s=96&d=mm&r=g\",\"caption\":\"Eoghan Henn\"},\"url\":\"https:\\\/\\\/www.searchviu.com\\\/de\\\/author\\\/eoghan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DOM SEO Test: Verwendet Google Pr\u00e4- oder Post-DOM-HTML f\u00fcr hreflang?","description":"Wir wollten wissen, ob Google Pre- oder Post-DOM-HTML f\u00fcr die Interpretation von hreflang verwendet, also haben wir ein Experiment durchgef\u00fchrt. Die \u00fcberraschenden Ergebnisse findest du hier!","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:\/\/www.searchviu.com\/de\/javascript-seo-experiment-hreflang\/","og_locale":"de_DE","og_type":"article","og_title":"JavaScript SEO test: Does Google use pre- or post-DOM HTML for interpreting hreflang?","og_description":"We wanted to know if Google uses pre- or post-DOM HTML for interpreting hreflang, so we did an experiment. See the surprising results here!","og_url":"https:\/\/www.searchviu.com\/de\/javascript-seo-experiment-hreflang\/","og_site_name":"SEO Data Warehouse And Monitoring","article_published_time":"2017-07-13T19:34:59+00:00","article_modified_time":"2023-02-09T13:58:38+00:00","og_image":[{"width":400,"height":269,"url":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/javascript-seo-test-400x269-1.jpg","type":"image\/jpeg"}],"author":"Eoghan Henn","twitter_card":"summary_large_image","twitter_creator":"@searchviu","twitter_site":"@searchviu","twitter_misc":{"Verfasst von":"Eoghan Henn","Gesch\u00e4tzte Lesezeit":"5\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/#article","isPartOf":{"@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/"},"author":{"name":"Eoghan Henn","@id":"https:\/\/www.searchviu.com\/#\/schema\/person\/7a031e5565b9ece3fd77be3c7f19381c"},"headline":"JavaScript SEO test: Does Google use pre- or post-DOM HTML for interpreting hreflang?","datePublished":"2017-07-13T19:34:59+00:00","dateModified":"2023-02-09T13:58:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/"},"wordCount":988,"commentCount":3,"publisher":{"@id":"https:\/\/www.searchviu.com\/#organization"},"image":{"@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/#primaryimage"},"thumbnailUrl":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/javascript-seo-test-400x269-1.jpg","keywords":["english"],"articleSection":["SEO experiments"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/","url":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/","name":"DOM SEO Test: Verwendet Google Pr\u00e4- oder Post-DOM-HTML f\u00fcr hreflang?","isPartOf":{"@id":"https:\/\/www.searchviu.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/#primaryimage"},"image":{"@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/#primaryimage"},"thumbnailUrl":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/javascript-seo-test-400x269-1.jpg","datePublished":"2017-07-13T19:34:59+00:00","dateModified":"2023-02-09T13:58:38+00:00","description":"Wir wollten wissen, ob Google Pre- oder Post-DOM-HTML f\u00fcr die Interpretation von hreflang verwendet, also haben wir ein Experiment durchgef\u00fchrt. Die \u00fcberraschenden Ergebnisse findest du hier!","breadcrumb":{"@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/#primaryimage","url":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/javascript-seo-test-400x269-1.jpg","contentUrl":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/javascript-seo-test-400x269-1.jpg","width":400,"height":269},{"@type":"BreadcrumbList","@id":"https:\/\/www.searchviu.com\/javascript-seo-experiment-hreflang\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.searchviu.com\/en\/"},{"@type":"ListItem","position":2,"name":"JavaScript SEO test: Does Google use pre- or post-DOM HTML for interpreting hreflang?"}]},{"@type":"WebSite","@id":"https:\/\/www.searchviu.com\/#website","url":"https:\/\/www.searchviu.com\/","name":"SEO Data Warehouse und Monitoring","description":"SEO-L\u00f6sungen f\u00fcr Teams und Agenturen","publisher":{"@id":"https:\/\/www.searchviu.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.searchviu.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.searchviu.com\/#organization","name":"searchVIU","url":"https:\/\/www.searchviu.com\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.searchviu.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/d3babe41-searchviu-logo2x.png","contentUrl":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/d3babe41-searchviu-logo2x.png","width":340,"height":340,"caption":"searchVIU"},"image":{"@id":"https:\/\/www.searchviu.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/searchviu","https:\/\/www.linkedin.com\/company\/searchviu\/"]},{"@type":"Person","@id":"https:\/\/www.searchviu.com\/#\/schema\/person\/7a031e5565b9ece3fd77be3c7f19381c","name":"Eoghan Henn","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/88ecd619af8b41640851bdb169ff87f2ddec10119431686bd36effdde5ff2eb8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/88ecd619af8b41640851bdb169ff87f2ddec10119431686bd36effdde5ff2eb8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/88ecd619af8b41640851bdb169ff87f2ddec10119431686bd36effdde5ff2eb8?s=96&d=mm&r=g","caption":"Eoghan Henn"},"url":"https:\/\/www.searchviu.com\/de\/author\/eoghan\/"}]}},"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/posts\/1419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/comments?post=1419"}],"version-history":[{"count":1,"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/posts\/1419\/revisions"}],"predecessor-version":[{"id":6091,"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/posts\/1419\/revisions\/6091"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/media\/1124"}],"wp:attachment":[{"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/media?parent=1419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/categories?post=1419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.searchviu.com\/de\/wp-json\/wp\/v2\/tags?post=1419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}