(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "wd9xf35368");
function setSEOTags(mydescription) {
// Remove any existing meta description tags
let existingMetaDescriptions = document.querySelectorAll('meta[name="description"]');
existingMetaDescriptions.forEach(meta => meta.remove());
// Create and add a new meta description tag
let metaDescription = document.createElement('meta');
metaDescription.name = "description";
metaDescription.content = mydescription;
document.head.appendChild(metaDescription);
}
// Example: Dynamically set the SEO tags from the body tag
const dynamicDescription = "奕资环球™(泰国)专业的美国公司注册服务,为您在美国轻松成立 C-CORP 公司提供一站式解决方案。服务包含一年注册代理人服务及联邦雇主识别号(EIN)申请,即便您没有美国社安号(SSN),也无需美国居民律师或会计师担任注册代理人,奕资环球™(泰国)均可完美为您处理。我们的注册代理人负责接收美国国税局(IRS)及各州州务卿部门的法律文件;如需接收美";
// Call the function to update the SEO tags
setSEOTags(dynamicDescription);
(function () {
{
// Remove Trailing Slash
const canurl = "https://zh-th.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1";
let dynamicCanonicalUrl = canurl.replace(/\/$/, '');
// Set SEO Canonical
function setSEOCanonical(canonicalUrl) {
let existingCanonicalLinks = document.querySelectorAll('link[rel="canonical"]');
existingCanonicalLinks.forEach(link => link.remove());
let canonicalLink = document.createElement('link');
canonicalLink.rel = "canonical";
canonicalLink.href = canonicalUrl;
document.head.appendChild(canonicalLink);
}
setSEOCanonical(dynamicCanonicalUrl);
}
// Set SEO Alternates And Deafult
{
let languageAlternatives = [{ hreflang: 'zh-Hans-CN', href: 'https://www.tkegexpat.cn/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'zh-Hant-HK', href: 'https://hk.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-US', href: 'https://us.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-GB', href: 'https://uk.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'zh-Hans-SG', href: 'https://zh-sg.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-SG', href: 'https://sg.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'zh-Hans-MY', href: 'https://zh-my.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-MY', href: 'https://en-my.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-AU', href: 'https://au.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-NZ', href: 'https://nz.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-IE', href: 'https://ie.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-CA', href: 'https://ca.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-HK', href: 'https://en-hk.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'zh-Hant-MO', href: 'https://mo.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-NL', href: 'https://en-nl.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-AE', href: 'https://en-ae.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-ZA', href: 'https://za.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-NO', href: 'https://en-no.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-SE', href: 'https://en-se.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-DK', href: 'https://en-dk.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es-ES', href: 'https://es.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es-MX', href: 'https://mx.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es-CO', href: 'https://co.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es-CL', href: 'https://cl.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es-AR', href: 'https://ar.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es-PA', href: 'https://pa.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es-CR', href: 'https://cr.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es-US', href: 'https://es-us.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es-PE', href: 'https://pe.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-CH', href: 'https://en-ch.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-LU', href: 'https://en-lu.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-BE', href: 'https://en-be.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en', href: 'https://eu.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'zh-Hans-HK', href: 'https://zh-eu.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'es', href: 'https://es-eu.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'en-MT', href: 'https://mt.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' }, { hreflang: 'zh-TH', href: 'https://zh-th.tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1' },];
let defaultUrl = 'https://tkegexpat.com/dynamic-pricing/united-states-c-corp-company-incorporation-1';
// Remove Trailing Slashses From Alternates
languageAlternatives = languageAlternatives.map(({ hreflang, href }) => ({
hreflang,
href: href.replace(/\/$/, '')
}));
// Remove trailing slash from default URL
defaultUrl = defaultUrl.replace(/\/$/, '');
function setLanguageAlternatives(alternatives, defaultUrl) {
let existingAlternateLinks = document.querySelectorAll('link[rel="alternate"]');
existingAlternateLinks.forEach(link => link.remove());
alternatives.forEach(({ hreflang, href }) => {
let link = document.createElement('link');
link.rel = 'alternate';
link.hreflang = hreflang;
link.href = href;
document.head.appendChild(link);
});
let xDefaultLink = document.createElement('link');
xDefaultLink.rel = 'alternate';
xDefaultLink.hreflang = 'x-default';
xDefaultLink.href = defaultUrl;
document.head.appendChild(xDefaultLink);
}
setLanguageAlternatives(languageAlternatives, defaultUrl);
}
})();