{"id":1494,"date":"2017-08-11T14:03:23","date_gmt":"2017-08-11T14:03:23","guid":{"rendered":"https:\/\/www.searchviu.com\/?p=1494"},"modified":"2025-09-22T09:47:45","modified_gmt":"2025-09-22T09:47:45","slug":"hreflang-google-tag-manager","status":"publish","type":"post","link":"https:\/\/www.searchviu.com\/en\/hreflang-google-tag-manager\/","title":{"rendered":"How to implement hreflang with Google Tag Manager"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1494\" class=\"elementor elementor-1494\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6060db6a e-flex e-con-boxed e-con e-parent\" data-id=\"6060db6a\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4bf27a9e elementor-widget elementor-widget-text-editor\" data-id=\"4bf27a9e\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<strong>Have you ever wondered if you can implement hreflang with Google Tag Manager? Yes, you can! Or are you just looking for the easiest way to implement hreflang on your website if you&#8217;re not a developer? Well, here it is. In this article, we show you how to implement hreflang using Google Tag Manager in three easy (well, <em>kind of easy<\/em>) steps.<\/strong>\n\nAll you need is a website with more than one country or language version that have links pointing to each other and an implementation of Google Tag Manager on your website. So here we go!\n<h2>The challenge: Every group of language versions gets its own set of hreflang annotations<\/h2>\nIf you are reading this post, I assume that you already <a href=\"https:\/\/www.rebelytics.com\/hreflang-annotations\/\" target=\"_blank\" rel=\"noopener noreferrer\">understand the basic concept of hreflang<\/a>: Every page on your website needs hreflang annotations pointing to all of its different country and language versions, including one pointing to the URL itself.\n\nHere&#8217;s an example.\n\nOur blog page exists in English (<a href=\"https:\/\/www.searchviu.com\/en\/blog\/\">https:\/\/www.searchviu.com\/en\/blog\/<\/a>) and German (<a href=\"https:\/\/www.searchviu.com\/de\/searchviu-blog\/\">https:\/\/www.searchviu.com\/de\/searchviu-blog\/<\/a>), so both versions need\nthe following hreflang annotations (pointing to themselves and to each other):\n\n<code>&lt;link rel=\"alternate\" href=\"https:\/\/www.searchviu.com\/en\/blog\/\" hreflang=\"en\"&gt;\n&lt;link rel=\"alternate\" href=\"https:\/\/www.searchviu.com\/de\/searchviu-blog\/\" hreflang=\"de\"&gt;<\/code>\n\nThe same goes for the two versions of our home page (<a href=\"https:\/\/www.searchviu.com\/en\/\">https:\/\/www.searchviu.com\/en\/<\/a> and <a href=\"https:\/\/www.searchviu.com\/de\/\">https:\/\/www.searchviu.com\/de\/<\/a>):\n\n<code>&lt;link rel=\"alternate\" href=\"https:\/\/www.searchviu.com\/en\/\" hreflang=\"en\"&gt;\n&lt;link rel=\"alternate\" href=\"https:\/\/www.searchviu.com\/de\/\" hreflang=\"de\"&gt;<\/code>\n\nAnd so on, for every pair of English and German pages&#8230;\n\nImportant note: The solution presented in this post works for websites with any number of country\/language versions. In the case described here, there are only two versions, German and English, but we also explain what you need to do if you have more versions than that.\n\nAs we don&#8217;t want to add hreflang annotations manually to every page on our website, but dynamically to all of our pages at once, we need a way to extract the URLs of all language and country versions for each set of pages.\n\n<em>If you find the next part a bit challenging, don&#8217;t despair. Just do it! The rest is a lot easier. And if anything remains unclear or if you have any questions, please don&#8217;t hesitate to get in touch. We&#8217;ll be happy to help!<\/em>\n<h2>Step 1: Extract the internal links to the different country and language versions from your website using &#8220;DOM Element&#8221; GTM variables.<\/h2>\nThe URLs of the other language or country versions of a page can normally be found in some kind of language or country switcher on the page that contains links to the other versions. This is where we can extract the URLs we need for the hreflang annotations.\n\nGoogle Tag Manager has a variable type called &#8220;DOM Element&#8221;, that allows us to extract information from the HTML code of a page. I will now show you exactly how to create a variable of this type for every language and country version of your website.\n\nIn Google Tag Manager, go to &#8220;Variables&#8221;, scroll down to &#8220;User-Defined Variables&#8221; and click on &#8220;NEW&#8221;. In the new dialogue that opens, click on the variable configuration and select the variable type &#8220;DOM Element&#8221;. The variable has two selection types, &#8220;ID&#8221; and &#8220;CSS selector&#8221;. In this case, we will need the one that is called &#8220;CSS selector&#8221;. You should now see this:\n\n<a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/dom-element-variable-css-selector.jpeg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1497\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/dom-element-variable-css-selector.jpeg\" alt=\"DOM element GTM variable with CSS selector option enabled\" width=\"100%\"><\/a>\n\nLet&#8217;s start filling the empty fields now. The variable name at the top is a no-brainer. Give it the name of the country or language version you want to start with (remember, we are extracting links to country or language versions and creating one variable for each of them). In this case, I want to start with the German version of searchVIU, so I call the variable &#8220;Link to German version&#8221;.\n\nThe &#8220;Element Selector&#8221; part is probably the trickiest part of this whole instruction. I am going to show you the easiest way, not the most sophisticated way, to fill it. If you find some time to learn how CSS selectors work, you will find nicer ways of filling this field, but for now, the basic variant will do.\n\nThe easiest way to identify the CSS selector of a link to another language or country version on one of your pages is by right-clicking on the link in Chrome and selecting &#8220;Inspect&#8221;. Chrome&#8217;s developer tools will open with the HTML code of the link already highlighted. On the English blog page on the searchVIU website (<a href=\"https:\/\/www.searchviu.com\/en\/blog\/\">https:\/\/www.searchviu.com\/en\/blog\/<\/a>), after doing the above for the link to the German version, we see this:\n\n<a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/html-code-of-link-highlighted-in-chrome-dev-tools.jpeg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1498\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/html-code-of-link-highlighted-in-chrome-dev-tools.jpeg\" alt=\"HTML code of link to German website version highlighted in Chrome's developer tools\" width=\"100%\"><\/a>\n\nNow, in order to get the CSS selector of this link, we just right-click on the highlighted bit of code in Chrome&#8217;s developer code and select &#8220;Copy &gt; Copy selector&#8221;. We then paste this value (&#8220;#menu-item-443-de &gt; a&#8221; in our case) into the field &#8220;Element Selector&#8221; back in the variable we are creating in Google Tag Manager.\n\nNow we have the field &#8220;Attribute Name&#8221; left. If we left this blank, the variable would give back the link text, &#8220;DE&#8221; in this case. But we want the URL, so we fill the field with &#8220;href&#8221;, the name of the attribute of the &lt;a&gt; element that has the URL as its value.\n\nHere&#8217;s how this should look for you now, except for the value in the field &#8220;Element Selector&#8221;, which you will need to replace with the individual value that works for your website:\n\n<a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/configured-variable-for-link-to-other-language-version.jpeg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-1499\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/07\/configured-variable-for-link-to-other-language-version.jpeg\" alt=\"Configured variable for link to other language version\" width=\"1698\" height=\"918\"><\/a>\n\nIn our case, we need to do this once for links pointing to the German versions of our pages, and once for links pointing to the English versions. If you have more language or country versions than we have, you can repeat this process for every one of them. In Chrome, right-click on a link to the language version, choose &#8220;Inspect&#8221;, right-click on the highlighted bit of code in Chrome&#8217;s developer tools, select &#8220;Copy &gt; Copy selector&#8221; and paste the copied value into the &#8220;Element Selector&#8221; field of a new user-defined variable in GTM. Fill the &#8220;Attribute&#8221; field with &#8220;href&#8221; and give the variable the name of the country or language version the link points to. Repeat for each country or language version on your website.\n\nBefore moving on, you can check if your variables are working by activating GTM&#8217;s preview mode, visiting your pages, and selecting the &#8220;Variables&#8221; tab in the GTM debugging overlay. You should see the correct values for the variables of all other language\/country versions of the page you are on (not for the page itself). For searchVIU&#8217;s home page, it looks like this:\n\n<a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/checking-variables-gtm.jpeg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1578\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/checking-variables-gtm.jpeg\" alt=\"Checking variables in GTM\" width=\"100%\"><\/a>\n<h2>Step 2: Create a GTM tag with a script that generates hreflang annotations for each language version.<\/h2>\nCongratulations! If you&#8217;ve made it up to here, you&#8217;ve managed the hardest part of this implementation. Now that we&#8217;ve got the GTM variables for the URLs of the different language\/country versions set up, let&#8217;s add the hreflang annotations to our pages!\n\nHere&#8217;s the script we will need for the hreflang implementation on the English version of all pages on our website, with a quick explanation of each line below.\n\n<code>&lt;script&gt;\nvar link_en = document.createElement('link');\nlink_en.rel = 'alternate';\nlink_en.href = '{{Page URL}}';\nlink_en.hreflang = 'en';\njQuery('head').append(link_en);\nvar link_de = document.createElement('link');\nlink_de.rel = 'alternate';\nlink_de.href = '{{Link to German version}}';\nlink_de.hreflang = 'de';\njQuery('head').append(link_de);\n&lt;\/script&gt;<\/code>\n\nThe first line creates a &lt;link&gt; HTML element:\n<code>&lt;link&gt;<\/code>\n\nThe second line adds a rel attribute with the value &#8220;alternate&#8221; to the link element.\n<code>&lt;link rel=\"alternate\"&gt;<\/code>\n\nThe third line adds an &#8220;href&#8221; attribute with the value of the current page to the link element. {{Page URL}} is a built-in variable in GTM and always gives back the full URL of the current page. When we implement this script on the English blog page, we get the following result:\n<code>&lt;link rel=\"alternate\" href=\"https:\/\/www.searchviu.com\/en\/blog\/\"&gt;<\/code>\n\nThe fourth line adds an hreflang attribute with the value &#8220;en&#8221; to the link element. The hreflang value can be hard-coded here, as we will be adding this script to the English version of our website only, and a separate script to each other language version:\n<code>&lt;link rel=\"alternate\" href=\"https:\/\/www.searchviu.com\/en\/blog\/\" hreflang=\"en\"&gt;<\/code>\n\nThe fifth line bangs this into the header of the post-DOM HTML (aka rendered HTML) of your page, once the script is executed in Google Tag Manager.\n\nSo, with the first five lines of this script, we have generated the self-referencing hreflang annotations for the English version of the blog page. As the page URL is added dynamically with the help of a GTM variable, this exact same script will work for all English URLs on the entire website.\n\nLet&#8217;s now have a look at the next five lines of the script. They are very similar to the first five lines, with the slight difference that they don&#8217;t generate a self-referencing hreflang annotation, but the one that references the German version of the English blog page, using the custom variable we set up in the previous step:\n\n<code>&lt;link rel=\"alternate\" href=\"https:\/\/www.searchviu.com\/de\/searchviu-blog\/\" hreflang=\"de\"&gt;<\/code>\n\nAgain, as the script uses the variable we set up in step 1 for extracting the URL to the German version from the page, this exact script will work on all pages of the English website version.\n\nYou can repeat the last five lines for every additional language or country version your website might have, so that the English pages don&#8217;t just point to one other version, like in our case, but to all country\/language versions you might have.\n\nNext, we add the above script to a &#8220;Custom HTML&#8221; tag in Google Tag Manager and set the triggering options so that it executes on all English pages:\n\n<a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/hreflang-script-for-english-pages.jpeg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1565\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/hreflang-script-for-english-pages.jpeg\" alt=\"hreflang script for English pages\" width=\"100%\"><\/a>\n\nWe will need a tag of this kind to execute on all pages of each language version, so next, we create the same script for all German pages, with the variables and hreflang values replaced accordingly:\n\n<a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/hreflang-script-for-german-pages.jpeg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1566\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/hreflang-script-for-german-pages.jpeg\" alt=\"hreflang script for German pages\" width=\"100%\"><\/a>\n\nYou can repeat this step for every single one of your language\/country versions.\n\n<em>Note: If you have lots of language\/country versions, and if you&#8217;re a real GTM ninja, you might want to work with variables for the hreflang values too.<\/em>\n\nThat&#8217;s it, basically! It was easier than you thought it would be, wasn&#8217;t it?\n\nLet&#8217;s have a look at one more step you might want to perform, if you&#8217;re still in the mood&#8230;\n<h2>Step 3 (optional): Add an hreflang=&#8221;x-default&#8221; version.<\/h2>\nIf you&#8217;re familiar with how hreflang works, you probably know what &#8220;x-default&#8221; is (if not, check <a href=\"https:\/\/www.rebelytics.com\/hreflang-annotations\/#step5\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>). You might not need to assign the value &#8220;x-default&#8221; at all within your hreflang implementation, but if you do, this last step is for you.\n\nOn staging.searchviu.com, we do need an &#8220;x-default&#8221; value pointing from the two versions of our home page to our root URL (https:\/\/www.searchviu.com\/), as this root URL redirects users to either one of the two language versions of our home page, based on their browser language, and therefore represents a classic case for the use of &#8220;x-default&#8221;.\n\nThe implementation is dead simple, and I&#8217;m sure you&#8217;ll be able to figure it out yourself after doing all of that complicated stuff above, but here&#8217;s a screenshot:\n\n<a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/hreflang-x-default.jpeg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1585\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/hreflang-x-default.jpeg\" alt=\"hreflang x-default in GTM\" width=\"1187\" height=\"564\"><\/a>\n\nIf like us, you need an hreflang annotation with the value &#8220;x-default&#8221; pointing to your root URL from all home page versions, just make sure this tag executes on all versions of your home page and you&#8217;re done.\n\nIn a different scenario, you might want to assign the value &#8220;x-default&#8221; to all pages of a language version that you have already assigned a language or language\/country value to. In this case, you&#8217;ll have to fire the above script with the variable {{Page URL}} for the href value on all pages of that language\/country version. In addition to that, you&#8217;ll have to fire the same script with the variable from step 1 that contains the URL of that language version for the href value on all pages of all other language versions. Easy as cheese, isn&#8217;t it?\n<h2>Ok, cool, but does this actually work?<\/h2>\nYes, it does! As we already demonstrated in a <a href=\"https:\/\/www.searchviu.com\/en\/javascript-seo-experiment-hreflang\/\">previous article<\/a>, Google relies on the rendered HTML for interpreting hreflang annotations and ignores the HTML source document. This means that there is absolutely no problem with implementing hreflang in Google Tag Manager and that Google processes it just fine.\n\nOne problem that hreflang annotations can solve is when Google is not able to rank the right URL versions of international or multilingual websites for the right users without further help. Before we implemented hreflang with this method on our website, the German home page and the root URL (with an English snippet) were ranking in google.de for our brand searches:\n\n<a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/searchVIU-results-31-07-16-16.jpeg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1588\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/searchVIU-results-31-07-16-16.jpeg\" alt=\"\" width=\"100%\"><\/a>\n\nAbout a week after the implementation of hreflang, this changed and Google only showed the German version in google.de. Thanks to hreflang and the assignment of the value &#8220;x-default&#8221; to the root URL, Google understood the multilingual structure of our website better. Here&#8217;s what it looks like now:\n\n<a href=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/searchVIU-results-07-08-10-00.jpeg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1589\" src=\"https:\/\/storage.googleapis.com\/seoviu_wordpress\/blog\/2017\/08\/searchVIU-results-07-08-10-00.jpeg\" alt=\"searchVIU results after hreflang implementation\" width=\"818\" height=\"744\"><\/a>\n\nSo, as you see, this method works just fine.\n<h2>Any questions? Please let me know!<\/h2>\nI really hope you liked this article and that it helped you implement hreflang with Google Tag Manager yourself. If anything remains unclear or if you run into any problems, please don&#8217;t hesitate to give me a shout. I&#8217;m always happy to help! Also, if you have anything to add to what has been written here, please share your experience with us.\t\t\t\t\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5c18540 e-con-full e-flex e-con e-child\" data-id=\"5c18540\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-01e8236 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"01e8236\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"divider.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c2a9eb8 e-con-full e-flex e-con e-child\" data-id=\"c2a9eb8\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-c8a40a2 e-con-full e-flex e-con e-child\" data-id=\"c8a40a2\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3a2a226 elementor-widget elementor-widget-elementskit-heading\" data-id=\"3a2a226\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"elementskit-heading.default\">\n\t\t\t\t\t<div class=\"ekit-wid-con\" ><div class=\"ekit-heading elementskit-section-title-wraper text_left   ekit_heading_tablet-   ekit_heading_mobile-\"><h2 class=\"ekit-heading--title elementskit-section-title \">Summary of 23 Comments<\/h2><div class=\"ekit_heading_separetor_wraper ekit_heading_elementskit-border-divider elementskit-style-long\"><div class=\"elementskit-border-divider elementskit-style-long\"><\/div><\/div><h3 class=\"ekit-heading--subtitle elementskit-section-subtitle  \">\n\t\t\t\t\t\tBlog Comments Summary: Key Insights\n\t\t\t\t\t<\/h3><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d191224 elementor-widget elementor-widget-text-editor\" data-id=\"d191224\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h4>1.\u00a0<strong>Detection Issues with hreflang &amp; Testing Tools<\/strong><\/h4><ul><li><p class=\"MuiTypography-root MuiTypography-body1 css-1n3cajb\"><strong>Recurring Theme:<\/strong>\u00a0Several readers noticed that common SEO\/testing tools didn\u2019t recognize hreflang tags added via GTM.<\/p><\/li><li><p class=\"MuiTypography-root MuiTypography-body1 css-1n3cajb\"><strong>Expert Advice:<\/strong>\u00a0The author explained that most tools only check the raw HTML source, not the rendered HTML where GTM-injected elements appear. He reassured readers that Google\u00a0<strong>can<\/strong>\u00a0detect these tags in the rendered HTML, just not immediately\u2014it may take a couple of weeks to show up in Google Search Console\u2019s \u201cInternational Targeting\u201d report.<\/p><blockquote><p class=\"MuiTypography-root MuiTypography-body1 css-1n3cajb\">\u201cThe tags will only show in the rendered HTML. You should be able to see the tags in the Google Search Console report\u2026 after a couple of weeks.\u201d<br \/>\u2014\u00a0<em>Author<\/em><\/p><\/blockquote><\/li><\/ul><hr class=\"MuiDivider-root MuiDivider-fullWidth css-ss6lby\" \/><h4>2.\u00a0<strong>Implementation Best Practices<\/strong><\/h4><ul><li><p class=\"MuiTypography-root MuiTypography-body1 css-1n3cajb\"><strong>Speed vs. Reliability:<\/strong>\u00a0Readers wondered how fast GTM implementation is compared to other methods, especially for larger sites.<\/p><\/li><li><p class=\"MuiTypography-root MuiTypography-body1 css-1n3cajb\"><strong>Author&#8217;s Guidance:<\/strong>\u00a0GTM offers quick setup, particularly for those familiar with it, but source HTML implementation is generally safer and more reliable, as it\u2019s processed faster and more consistently by Google. Consider native CMS\/plugin solutions if available.<\/p><blockquote><p class=\"MuiTypography-root MuiTypography-body1 css-1n3cajb\">\u201cI would always recommend\u2026 inserting hreflang annotations directly into the source HTML. Your shop system might offer such an option, or there might be a plugin available.\u201d<br \/>\u2014\u00a0<em>Author<\/em><\/p><\/blockquote><\/li><\/ul><hr class=\"MuiDivider-root MuiDivider-fullWidth css-ss6lby\" \/><h4>3.\u00a0<strong>Plugin &amp; Multilingual Tool Questions<\/strong><\/h4><ul><li><strong>Reader Confusion:<\/strong>\u00a0Some users worried about needing multilingual plugins or specific menu setups.<\/li><li><strong>Clarification:<\/strong>\u00a0The author confirmed that as long as there are interlinked versions (regardless of plugins), GTM hreflang can work. He offered to review setups directly for those struggling.<\/li><\/ul><hr class=\"MuiDivider-root MuiDivider-fullWidth css-ss6lby\" \/><h4>4.\u00a0<strong>CSS Selectors &amp; Technical Hurdles<\/strong><\/h4><ul><li><strong>Common Challenge:<\/strong>\u00a0Selecting the correct CSS selectors in GTM proved tricky for several users.<\/li><li><strong>Practical Help:<\/strong>\u00a0The author suggested using browser extensions like SelectorGadget and welcomed direct contact for more hands-on troubleshooting.<\/li><\/ul><hr class=\"MuiDivider-root MuiDivider-fullWidth css-ss6lby\" \/><h4>5.\u00a0<strong>hreflang Placement &amp; GTM Behavior<\/strong><\/h4><ul><li><strong>Technical Issue:<\/strong>\u00a0One reader noticed hreflang tags not placed inside the<div><code>&lt;head&gt;<\/code><\/div>section as intended.<\/li><li><strong>Troubleshooting:<\/strong>\u00a0The author highlighted the importance of correct placement\u2014if hreflang tags end up outside<div><code>&lt;head&gt;<\/code><\/div>, they might not work. He encouraged users to share URLs for specific help and linked to resources on avoiding \u201cbroken head\u201d issues.<\/li><\/ul><hr class=\"MuiDivider-root MuiDivider-fullWidth css-ss6lby\" \/><h4>6.\u00a0<strong>Cross-Domain &amp; Multi-Domain Support<\/strong><\/h4><ul><li><strong>User Curiosity:<\/strong>\u00a0Is it possible to use GTM to set hreflang tags across different domains?<\/li><li><strong>Answer:<\/strong>\u00a0Yes, as long as linked versions exist, GTM hreflang can work across domains.<\/li><\/ul><hr class=\"MuiDivider-root MuiDivider-fullWidth css-ss6lby\" \/><h4>7.\u00a0<strong>Manual Setups &amp; Nonstandard Structures<\/strong><\/h4><ul><li><strong>Special Cases:<\/strong>\u00a0Some users had sites with different structures, partial content overlap, or limited CMS access.<\/li><li><strong>Author\u2019s Take:<\/strong>\u00a0Even for basic or manual setups (e.g., firing hreflang only on certain pages), GTM can work as long as tag placement rules are followed.<\/li><\/ul><hr class=\"MuiDivider-root MuiDivider-fullWidth css-ss6lby\" \/><h4>8.\u00a0<strong>Dynamic Content &amp; Conditional hreflang<\/strong><\/h4><ul><li><strong>Sophisticated Needs:<\/strong>\u00a0One reader wanted hreflang only when a product was available in multiple locales, which could change often.<\/li><li><strong>Strategy Provided:<\/strong>\u00a0As long as a country\/language switcher exists on the page, GTM&#8217;s triggers can selectively inject hreflang tags only where needed, making dynamic setups possible.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-07b6d7d elementor-widget elementor-widget-text-editor\" data-id=\"07b6d7d\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<div class=\"MuiBox-root css-0\"><div><div class=\"MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters css-p65ltx\"><div class=\"MuiCollapse-root MuiCollapse-vertical MuiCollapse-entered css-c4sutr\"><div class=\"MuiCollapse-wrapper MuiCollapse-vertical css-hboir5\"><div class=\"MuiCollapse-wrapperInner MuiCollapse-vertical css-8atqhb\"><div id=\"panel1a-content\" class=\"MuiAccordion-region\" role=\"region\" aria-labelledby=\"9u60ROGwTR7wtouqBiOh\"><div class=\"MuiAccordionDetails-root css-u7qq7e\"><div class=\"MuiContainer-root MuiContainer-maxWidthLg css-1lmcsdr\"><div class=\"MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-5 css-xgs5wp\"><div class=\"MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-12 css-15j76c0\"><div class=\"MuiStack-root css-1ov46kg\"><form data-gtm-form-interact-id=\"0\"><div class=\"MuiStack-root css-1pduebn\"><div class=\"MuiBox-root css-1c27i28\"><div class=\"MuiBox-root css-mdeycd\"><div class=\"MuiStack-root css-j7qwjs\"><div class=\"MuiStack-root css-j7qwjs\"><div class=\"MuiStack-root css-j7qwjs\"><p class=\"MuiTypography-root MuiTypography-body1 css-1n3cajb\"><strong>Tip:<\/strong><br \/>Before going live, test your hreflang implementation using rendered HTML and always check Google Search Console a few weeks after deployment for full confirmation.<\/p><\/div><\/div><\/div><\/div><\/div><\/div><\/form><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Have you ever wondered if you can implement hreflang with Google Tag Manager? This post explains how to do it in three easy steps.<\/p>\n","protected":false},"author":3,"featured_media":1121,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1],"tags":[30],"class_list":["post-1494","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 v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>hreflang Google Tag Manager: Implement hreflang tags with GTM<\/title>\n<meta name=\"description\" content=\"Have you ever wondered if you can implement hreflang with Google Tag Manager? This post explains how to do it in three easy steps.\" \/>\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\/en\/hreflang-google-tag-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to implement hreflang with Google Tag Manager\" \/>\n<meta property=\"og:description\" content=\"Have you ever wondered if you can implement hreflang with Google Tag Manager? This post explains how to do it in three easy steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.searchviu.com\/en\/hreflang-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"SEO Data Warehouse And Monitoring\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-11T14:03:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-22T09:47:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/hreflang-google-tag-manager-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:title\" content=\"How to implement hreflang with Google Tag Manager\" \/>\n<meta name=\"twitter:description\" content=\"Have you ever wondered if you can implement hreflang with Google Tag Manager? This post explains how to do it in three easy steps.\" \/>\n<meta name=\"twitter:creator\" content=\"@searchviu\" \/>\n<meta name=\"twitter:site\" content=\"@searchviu\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eoghan Henn\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/\"},\"author\":{\"name\":\"Eoghan Henn\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#\\\/schema\\\/person\\\/7a031e5565b9ece3fd77be3c7f19381c\"},\"headline\":\"How to implement hreflang with Google Tag Manager\",\"datePublished\":\"2017-08-11T14:03:23+00:00\",\"dateModified\":\"2025-09-22T09:47:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/\"},\"wordCount\":2704,\"commentCount\":23,\"publisher\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/hreflang-google-tag-manager-400x269-1.jpg\",\"keywords\":[\"english\"],\"articleSection\":[\"SEO experiments\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/\",\"url\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/\",\"name\":\"hreflang Google Tag Manager: Implement hreflang tags with GTM\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/hreflang-google-tag-manager-400x269-1.jpg\",\"datePublished\":\"2017-08-11T14:03:23+00:00\",\"dateModified\":\"2025-09-22T09:47:45+00:00\",\"description\":\"Have you ever wondered if you can implement hreflang with Google Tag Manager? This post explains how to do it in three easy steps.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/hreflang-google-tag-manager-400x269-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.searchviu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/hreflang-google-tag-manager-400x269-1.jpg\",\"width\":400,\"height\":269},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/hreflang-google-tag-manager\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.searchviu.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to implement hreflang with Google Tag Manager\"}]},{\"@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\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.searchviu.com\\\/#organization\",\"name\":\"searchVIU\",\"url\":\"https:\\\/\\\/www.searchviu.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@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\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bfa3d44dac21ee6e663defdfe4eb2ecb29ad85001375745329c7526fa74b95b7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bfa3d44dac21ee6e663defdfe4eb2ecb29ad85001375745329c7526fa74b95b7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bfa3d44dac21ee6e663defdfe4eb2ecb29ad85001375745329c7526fa74b95b7?s=96&d=mm&r=g\",\"caption\":\"Eoghan Henn\"},\"url\":\"https:\\\/\\\/www.searchviu.com\\\/en\\\/author\\\/eoghan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"hreflang Google Tag Manager: Implement hreflang tags with GTM","description":"Have you ever wondered if you can implement hreflang with Google Tag Manager? This post explains how to do it in three easy steps.","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\/en\/hreflang-google-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to implement hreflang with Google Tag Manager","og_description":"Have you ever wondered if you can implement hreflang with Google Tag Manager? This post explains how to do it in three easy steps.","og_url":"https:\/\/www.searchviu.com\/en\/hreflang-google-tag-manager\/","og_site_name":"SEO Data Warehouse And Monitoring","article_published_time":"2017-08-11T14:03:23+00:00","article_modified_time":"2025-09-22T09:47:45+00:00","og_image":[{"width":400,"height":269,"url":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/hreflang-google-tag-manager-400x269-1.jpg","type":"image\/jpeg"}],"author":"Eoghan Henn","twitter_card":"summary_large_image","twitter_title":"How to implement hreflang with Google Tag Manager","twitter_description":"Have you ever wondered if you can implement hreflang with Google Tag Manager? This post explains how to do it in three easy steps.","twitter_creator":"@searchviu","twitter_site":"@searchviu","twitter_misc":{"Written by":"Eoghan Henn","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/#article","isPartOf":{"@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/"},"author":{"name":"Eoghan Henn","@id":"https:\/\/www.searchviu.com\/#\/schema\/person\/7a031e5565b9ece3fd77be3c7f19381c"},"headline":"How to implement hreflang with Google Tag Manager","datePublished":"2017-08-11T14:03:23+00:00","dateModified":"2025-09-22T09:47:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/"},"wordCount":2704,"commentCount":23,"publisher":{"@id":"https:\/\/www.searchviu.com\/#organization"},"image":{"@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/hreflang-google-tag-manager-400x269-1.jpg","keywords":["english"],"articleSection":["SEO experiments"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/","url":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/","name":"hreflang Google Tag Manager: Implement hreflang tags with GTM","isPartOf":{"@id":"https:\/\/www.searchviu.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/#primaryimage"},"image":{"@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/hreflang-google-tag-manager-400x269-1.jpg","datePublished":"2017-08-11T14:03:23+00:00","dateModified":"2025-09-22T09:47:45+00:00","description":"Have you ever wondered if you can implement hreflang with Google Tag Manager? This post explains how to do it in three easy steps.","breadcrumb":{"@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/#primaryimage","url":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/hreflang-google-tag-manager-400x269-1.jpg","contentUrl":"https:\/\/www.searchviu.com\/wp-content\/uploads\/2023\/02\/hreflang-google-tag-manager-400x269-1.jpg","width":400,"height":269},{"@type":"BreadcrumbList","@id":"https:\/\/www.searchviu.com\/hreflang-google-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.searchviu.com\/en\/"},{"@type":"ListItem","position":2,"name":"How to implement hreflang with Google Tag Manager"}]},{"@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":"en-US"},{"@type":"Organization","@id":"https:\/\/www.searchviu.com\/#organization","name":"searchVIU","url":"https:\/\/www.searchviu.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@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":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bfa3d44dac21ee6e663defdfe4eb2ecb29ad85001375745329c7526fa74b95b7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bfa3d44dac21ee6e663defdfe4eb2ecb29ad85001375745329c7526fa74b95b7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bfa3d44dac21ee6e663defdfe4eb2ecb29ad85001375745329c7526fa74b95b7?s=96&d=mm&r=g","caption":"Eoghan Henn"},"url":"https:\/\/www.searchviu.com\/en\/author\/eoghan\/"}]}},"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/posts\/1494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/comments?post=1494"}],"version-history":[{"count":7,"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/posts\/1494\/revisions"}],"predecessor-version":[{"id":7948,"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/posts\/1494\/revisions\/7948"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/media\/1121"}],"wp:attachment":[{"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/media?parent=1494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/categories?post=1494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.searchviu.com\/en\/wp-json\/wp\/v2\/tags?post=1494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}