You are here:
Enable SEO for Omniscripts
Make Omniscripts in Communities appear in online searches by enabling SEO.
SEO Omniscripts store the state of an Omniscript in the URL by setting the c__step parameter to the name of an active Step automatically. Direct users to a specific step in the Omniscript by setting the c__step parameter in SEO URLs to a Step name in the Omniscript. Refreshing the page does not cause the Omniscript to begin at the first Step because the Step is stored in the c__step parameter. Include additional parameters to store the state of elements, insert data into the Omniscript's data JSON, prefill elements, or conditionally fire Omniscript Actions. Storing the state enables a user to navigate to previous or next steps using their browser's back and forward buttons.
-
See Set Up SEO for Your Community (Salesforce Documentation).
-
Review SEO Best Practices and Considerations for Guest Users (Salesforce Documentation).
- In the Omniscript's Setup section, select Enable SEO. The Omniscript automatically adds the c__step parameter in the URL to store the state of a Step.
-
Store the state of elements in your Omniscript, prefill elements, or pass data into
the Omniscript's data JSON using additional URL parameters.
- In the Additional SEO URL Parameters field, enter a parameter with the prefix c__. When storing an element's state or prefilling an element, use the name of the element as your parameter. For example, the parameter for an element named Text1 is c__Text1.
-
Set the parameter equal to an element in the Omniscript using merge field
syntax or a static value. If there is more than one parameter present, separate
the parameters with an & symbol.
For example, to store the state of the Text1 element, set the c__Text1 parameter equal to %Text1%.
- Activate the Omniscript, and add it to a Community.
- Grant guest user access in your Community.
- Add the Omniscript URL to the Community's sitemap.xml file.
- Use a search engine, such as Google, to test the SEO functionality.
- Test the Omniscript's forward and backward navigation using a browser's forward and back buttons.

