Hi,
I am using HubSpot cta buttons on my static website.
I simply copy the provided code and paste it directly into our HTML file.
For example, this is the code provided, and I copy and paste exactly as it is:
<!--HubSpot Call-to-Action Code --><span class=“hs-cta-wrapper” id=“hs-cta-wrapper-e7382ac3-802b-48df-bc90-91d87751e433”><span class=" hs-cta-node hs-cta-e7382ac3-802b-48df-bc90-91d87751e433" id=“hs-cta-e7382ac3-802b-48df-bc90-91d87751e433”><!--[if lte IE 8]><div id=“hs-cta-ie-element”></div><![endif]--><a href=“https://cta-redirect.hubspot.com/cta/redirect/4163663/e7382ac3-802b -48df-bc90-91d87751e433” ><img class=“hs-cta-img” id=“hs-cta-img-e7382ac3-802b-48df-bc90-91d87751e433” style=“border-width:0px;” src=“https://no-cache.hubspot.com/cta/default/4163663/e7382ac3-802b-48df-bc90-91d87751e433.png” alt=“BOOK A DEMO”/></a></span> <script charset=“utf-8” src=“https://js.hscta.net/cta/current.js”></script><script type=“text/javascript”> hbspt.cta.load(4163663 , ‘e7382ac3-802b-48df-bc90-91d87751e433’, {“useNewLoader”:“true”,“region”:“na1”}); </script></span><!-- end HubSpot Call-to-Action Code -->
The buttons work perfectly, but it is generating an error on Google related to the Alternate page with a proper canonical tag.
All the buttons are generating urls like this: https://mydomain.com/__hstc=222388932.2f3f33a24b44870ec4a577029c49e44b.1688688000127.1688688000128.1688688000129.1&__hssc=22238 8932.1.1688688000130&__hsfp=3428004140&hsCtaTracking=770d11b8-53d6-4624-a159-e921c714d414|432e2820-48c8-4d20-92bc- d9afcd03522f
How do I solve this problem?