CMS Development

FORCINGMETO
Mitglied

Smart content, change what is displayed based on query string

Hey guys

 

I have set up a page with smart content based on the country of the visitor. What I am trying to do is create a switch, so people will be able to change the country they are seeing based on a query string.

 

I have tried adding url.com/?location=country_name at the end but this doesn't seem to work.

 

Do you have any ideas of how I can fix this? 

0 Upvotes
2 Antworten
FORCINGMETO
Mitglied

Smart content, change what is displayed based on query string

Hey,

 

I'm trying to change the location of the smart content by modifying the URL string. Is there any way to do this?

 

I have tried 

url.com/?location=canada or url.com/?country=canada

any other ideas? 

0 Upvotes
jennysowyrda
Community-Manager/-in
Community-Manager/-in

Smart content, change what is displayed based on query string

Hi @FORCINGMETO,

 

Smart content can be used to change the content within a page, however it cannot be used to redirect users to a different page.

 

You could create different pages with the different content for each country and use multi-language content.

0 Upvotes