Skip to content

Commit

Permalink
Update dynamic_web_content.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonjeccel committed Mar 12, 2024
1 parent a38ad61 commit d61dbc5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/components/dynamic_web_content.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Once you've decided where on your website to display the content, you must creat

Change ``myslot`` in ``data-param-slot-name="myslot"`` to the Requested Slot Name of your Dynamic Web Content item:

.. code-block::
.. code-block::
<div data-slot="dwc" data-param-slot-name="myslot">
<h1>Dynamic web content for myslot</h1>
Expand All @@ -40,7 +40,7 @@ Content Management System Plugins for Mautic also have specific ways to embed th
Mautic configuration
********************

.. warning::
.. warning::
It's important to ensure that you configure your CORS settings correctly when using Dynamic Web Content - if this isn't set up your content won't display. Read more in :ref:`CORS Settings`.

.. vale off
Expand All @@ -62,8 +62,8 @@ Mautic provides both Campaign-based and filter-based Dynamic Web Content. To cre
The following values are available:

- **Internal name** - This is how the slot displays in your list of Dynamic Web Content slots. You should include information on what you're personalizing - for example, country - and the content in the slot - for example, United States. If you're creating a personalized slot for people in the United States, you can name the slot Country - United States. If you plan to have more than one personalized content slot for the same audience across your website, include the page title or other identifying information for the particular slot.
.. vale off

.. vale off
#. **Content** - Use the WYSIWYG editor to create the Dynamic Web Content slot. You may include images and videos. If you prefer HTML, click the ``</> Source`` icon in the toolbar to switch to the code view. Mautic's Dynamic Web Content supports tokens in the same way as Landing Pages or Emails. To add a token, start typing with the ``{`` character and available tokens are displayed. These include:

Expand All @@ -81,17 +81,17 @@ The following values are available:

- **Is a translation of** - If you're creating a slot in a second language translation - for example to use on a multilingual website - select the original base language Dynamic Web Content item which you're translating. The same slot displays the appropriate language based on the Campaign or filters set, but Mautic shows the translated content if a visitor is viewing the page in a different browser language.

- **Published** - Whether the Dynamic Web Content item is available for use - published - or not available - unpublished
- **Available for use** - Whether the Dynamic Web Content item is available for use or not available

- **Is Campaign based** - if set to Yes, Mautic pushes this Dynamic Web Content to Contacts through a Campaign. When set to No, you can specify filters for visitors to see the content.

- **Requested slot name** - shown if using non-Campaign based Dynamic Web Content, this allows you to specify the slot name on your website in which the Contact sees the content.

.. vale off
**Publish at (date/time)** - This allows you to define the date and time at which this Dynamic Web Content item is available for displaying to Contacts
**Available from (date/time)** - This allows you to define the date and time at which this Dynamic Web Content item is available for displaying to Contacts

**Unpublish at (date/time)** - This allows you to define the date and time at which this Dynamic Web Content item ceases to be available for displaying to Contacts.
**Unavailable from (date/time)** - This allows you to define the date and time at which this Dynamic Web Content item ceases to be available for displaying to Contacts.

.. vale on
Expand Down Expand Up @@ -174,11 +174,11 @@ Implementing Dynamic Web Content
Default content
===============

Mautic displays the default content when the visitor doesn't match any of the filter criteria, or the visitor isn't a tracked/identified Contact. It's important to have something in the default content, rather than an empty space.
Mautic displays the default content when the visitor doesn't match any of the filter criteria, or the visitor isn't a tracked/identified Contact. It's important to have something in the default content, rather than an empty space.

For Campaign-based Dynamic Web Content, you specify the default content when you configure the Request Dynamic Content decision. In filter-based Dynamic Web Content, you create the default content on the page where you are inserting the slot, and Mautic replaces it with the Dynamic Content if the filter match.

.. note::
.. note::
If you're using Focus Items as your Dynamic Web Content and only showing specific Focus Items to specific audiences, you don't need to have any default content, as Focus Items don't physically take up space on your page.

.. vale off
Expand Down

0 comments on commit d61dbc5

Please sign in to comment.