<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alternate page with proper canonical tag in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Alternate-page-with-proper-canonical-tag/m-p/849821#M35848</link>
    <description>&lt;P&gt;Hi Jayce,&lt;/P&gt;&lt;P&gt;I am not sure that you understood my question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My website is not hosted in Hubspot,&amp;nbsp; and I am adding the code that the platform gives to me to my HTML file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the pages have the correct canonical tags. And what is generating the error is the CODE OF THE BUTTON. When people click on the button, it goes to a different URL, with the code that you use to track, and Google understands that this page is a new one and that we are not using the same canonical tag. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 20:58:04 GMT</pubDate>
    <dc:creator>CCampos8</dc:creator>
    <dc:date>2023-09-14T20:58:04Z</dc:date>
    <item>
      <title>Alternate page with proper canonical tag</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Alternate-page-with-proper-canonical-tag/m-p/848500#M35831</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using HubSpot cta buttons on my static website.&lt;BR /&gt;I simply copy the provided code and paste it directly into our HTML file.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For example, this is the code provided, and I copy and paste exactly as it is:&amp;nbsp;&lt;BR /&gt;&amp;lt;!--HubSpot Call-to-Action Code --&amp;gt;&amp;lt;span class="hs-cta-wrapper" id="hs-cta-wrapper-e7382ac3-802b-48df-bc90-91d87751e433"&amp;gt;&amp;lt;span class=" hs-cta-node hs-cta-e7382ac3-802b-48df-bc90-91d87751e433" id="hs-cta-e7382ac3-802b-48df-bc90-91d87751e433"&amp;gt;&amp;lt;!--[if lte IE 8]&amp;gt;&amp;lt;div id="hs-cta-ie-element"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;![endif]--&amp;gt;&amp;lt;a href="&lt;A href="https://cta-redirect.hubspot.com/cta/redirect/4163663/e7382ac3-802b" target="_blank" rel="noopener"&gt;https://cta-redirect.hubspot.com/cta/redirect/4163663/e7382ac3-802b&lt;/A&gt; -48df-bc90-91d87751e433" &amp;gt;&amp;lt;img class="hs-cta-img" id="hs-cta-img-e7382ac3-802b-48df-bc90-91d87751e433" style="border-width:0px;" src="&lt;A href="https://no-cache.hubspot.com/cta/default/4163663/e7382ac3-802b-48df-bc90-91d87751e433.png" target="_blank" rel="noopener"&gt;https://no-cache.hubspot.com/cta/default/4163663/e7382ac3-802b-48df-bc90-91d87751e433.png&lt;/A&gt;" alt="BOOK A DEMO"/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;script charset="utf-8" src="&lt;A href="https://js.hscta.net/cta/current.js" target="_blank" rel="noopener"&gt;https://js.hscta.net/cta/current.js&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;script type="text/javascript"&amp;gt; hbspt.cta.load(4163663 , 'e7382ac3-802b-48df-bc90-91d87751e433', {"useNewLoader":"true","region":"na1"}); &amp;lt;/script&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!-- end HubSpot Call-to-Action Code --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The buttons work perfectly, but it is generating an error on Google related to the Alternate page with a proper canonical tag.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;All the buttons are generating urls like this: &lt;A href="https://mydomain.com/__hstc=222388932.2f3f33a24b44870ec4a577029c49e44b.1688688000127.1688688000128.1688688000129.1&amp;amp;__hssc=22238" target="_blank" rel="noopener"&gt;https://mydomain.com/__hstc=222388932.2f3f33a24b44870ec4a577029c49e44b.1688688000127.1688688000128.1688688000129.1&amp;amp;__hssc=22238&lt;/A&gt; 8932.1.1688688000130&amp;amp;__hsfp=3428004140&amp;amp;hsCtaTracking=770d11b8-53d6-4624-a159-e921c714d414|432e2820-48c8-4d20-92bc- d9afcd03522f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I solve this problem?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 20:06:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Alternate-page-with-proper-canonical-tag/m-p/848500#M35831</guid>
      <dc:creator>CCampos8</dc:creator>
      <dc:date>2023-09-12T20:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate page with proper canonical tag</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Alternate-page-with-proper-canonical-tag/m-p/849816#M35847</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/630717"&gt;@CCampos8&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you get this resolved? If not, here's what I do next:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If these are not on HubSpot hosted pages, make sure you have&amp;nbsp;canonical tags on each page the CTA is used on. A simple example:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;link rel="canonical" href="https://yourdomain.com/preferred-url/" /&amp;gt;​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Try using&amp;nbsp;&lt;A href="https://search.google.com/test/rich-results" target="_new"&gt;Google's Rich Results Test&lt;/A&gt;&amp;nbsp;to verify your canonical tags are recognized&lt;/LI&gt;
&lt;LI&gt;Work through the provided steps here from Google's support for this issue —&amp;nbsp;&lt;A href="https://support.google.com/webmasters/thread/233709755/duplicate-canonical-issues-in-search-console-check-this-out?hl=en&amp;amp;sjid=6480891434336091824-NA" target="_blank" rel="noopener"&gt;Duplicate / Canonical issues in Search Console? Check this out!&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 20:44:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Alternate-page-with-proper-canonical-tag/m-p/849816#M35847</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-09-14T20:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate page with proper canonical tag</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Alternate-page-with-proper-canonical-tag/m-p/849821#M35848</link>
      <description>&lt;P&gt;Hi Jayce,&lt;/P&gt;&lt;P&gt;I am not sure that you understood my question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My website is not hosted in Hubspot,&amp;nbsp; and I am adding the code that the platform gives to me to my HTML file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the pages have the correct canonical tags. And what is generating the error is the CODE OF THE BUTTON. When people click on the button, it goes to a different URL, with the code that you use to track, and Google understands that this page is a new one and that we are not using the same canonical tag. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 20:58:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Alternate-page-with-proper-canonical-tag/m-p/849821#M35848</guid>
      <dc:creator>CCampos8</dc:creator>
      <dc:date>2023-09-14T20:58:04Z</dc:date>
    </item>
  </channel>
</rss>

