---
schema_version: "1"
id: c0949d2ebf1700ad45f7dad731c6dd51dc0e8042fd054dd587e2136cc296b6c5
title: Enable SEO for Omniscripts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_enable_seo_for_omniscripts_10257.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_enable_seo_for_omniscripts_10257.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5dc97cfbe50d775a0f5b2dbeefed3d89e5c2493abcec13fe0271edf522007814
description: Make Omniscripts in Communities appear in online searches by enabling SEO.
products:
  - Omnistudio
release: "264"
---
# 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](https://help.salesforce.com/articleView?id=networks_seo.htm&type=5&language=en_US) (Salesforce Documentation).
- Review [SEO Best Practices and Considerations for Guest Users](https://help.salesforce.com/articleView?id=networks_SEO_best_practices_guest_users.htm&amp;type=5&language=en_US) (Salesforce Documentation).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_note.png)

Note

SEO is automatically disabled when running inline Omniscripts.

1. 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.
2. Store the state of elements in your Omniscript, prefill elements, or pass data into the Omniscript's data JSON using additional URL parameters.
    1. 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.
    2. 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.
        
        See [Access Omniscript Data JSON with Merge Fields](https://help.salesforce.com/s/articleView?id=xcloud.os_access_omniscript_data_json_with_merge_fields_22053.htm&release=264.0.0&type=5 "Enable Omniscript elements and element properties to access data JSON using merge fields. A merge field is a variable that references the value of a JSON node. For example, if a JSON node is \"FirstName\": \"John\", then the merge field %FirstName% returns John.").
        
        For example, to store the state of the Text1 element, set the c\_\_Text1 parameter equal to %Text1%.
3. Activate the Omniscript, and add it to a Community.
    
    See [Add Your Omniscript to a Lightning Page](https://help.salesforce.com/s/articleView?id=xcloud.os_add_your_omniscript_to_a_lightning_page_19957.htm&release=264.0.0&type=5 "In Omnistudio standard runtime, add the standard Omniscript component to a Lightning page after activation.") and [Add Your Omniscript to an Experience Cloud Page](https://help.salesforce.com/s/articleView?id=xcloud.os_add_your_omniscript_to_an_experience_page_19992.htm&release=264.0.0&type=5 "In the Omnistudio standard runtime, add the standard Omniscript component to an Experience Builder page after activation.").
4. Grant guest user access in your Community.
    
    See [Create Sharing Rules for Guest Users](https://help.salesforce.com/s/articleView?id=platform.ls_guest_sharing_criteria.htm&type=5&language=en_US).
5. Add the Omniscript URL to the Community's sitemap.xml file.
    
    See [Set Up SEO for Your Community](https://help.salesforce.com/articleView?id=networks_seo.htm&amp;type=5&language=en_US).
6. Use a search engine, such as Google, to test the SEO functionality.
7. Test the Omniscript's forward and backward navigation using a browser's forward and back buttons.