{"section":"known-issues","requestedLocale":"en","requestedSlug":"campaign-parameters-are-lost-when-http-is-redirected-to-https","locale":"en","slug":"campaign-parameters-are-lost-when-http-is-redirected-to-https","path":"docs/en/known-issues/Marketing & Merchandising/campaign-parameters-are-lost-when-http-is-redirected-to-https.md","branch":"main","content":"## Summary\n\nRedirecting HTTP to HTTPS removes parameters not recognized by VTEX.\n\nIf a store with a URL (in HTTP protocol) indexed in external sites (Facebook, Google, blogs etc), configures this URL to use the HTTPS protocol in VTEX, customers who access this link (in the external site) will be redirected, in VTEX, from HTTP to HTTPS.\n\nThis redirection removes unrecognized parameters (of the querystring) which are normally very important for tracking campaigns.\n\n## Update: problem solved\n\nUsing the [new VTEX CDN](/en/tutorial/activating-new-vtex-cdn), the original parameters are retained upon redirection between pages.\n\n## Simulation\n\n1. Create a directory (folder) to use the HTTPS protocol. Check out the article [Changing the HTTP or HTTPS protocol for pages on the site](/en/faq/how-do-i-use-the-https-protocol-on-my-stores-pages) on how to apply this setting.\n2. In the store, access this directory (folder) using the HTTP protocol and passing some parameter to the QueryString. E.g.: `http://{{AccountName}}.vtexcommercestable.com.br/blackfriday?gclid=123`\n3. VTEX will redirect from HTTP to HTTPS, but the parameter \"gclid\" in the previous example will not also be redirected, i.e. the page will be loaded without this parameter.\n\n## Workaround\n\nModify the URLs in all the external sites, changing the HTTP link to HTTPS. Since in this case there will be no redirection, the problem will not arise and the parameter will be loaded correctly."}