Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Campaign parameters are lost when HTTP is redirected to HTTPS
Campaign parameters are lost when HTTP is redirected to HTTPS
ID:
Fixed
Published on 8/16/2017
Last update on 12/31/2019

Summary

Redirecting HTTP to HTTPS removes parameters not recognized by VTEX.

If 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.

This redirection removes unrecognized parameters (of the querystring) which are normally very important for tracking campaigns.

Update: problem solved

Using the new VTEX CDN, the original parameters are retained upon redirection between pages.

Simulation

  1. Create a directory (folder) to use the HTTPS protocol. Check out the article Changing the HTTP or HTTPS protocol for pages on the site on how to apply this setting.
  2. 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
  3. 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.

Workaround

Modify 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.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback