# Dynamic Content does not work

**URL:** <https://forum.mautic.org/t/dynamic-content-does-not-work/9711>\
**Category:** Product Support\
**Created:** [October 16, 2017, 1:31pm UTC](https://forum.mautic.org/t/dynamic-content-does-not-work/9711 "2017-10-16T13:31:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)\
**Post date:** [October 16, 2017, 1:31pm UTC](https://forum.mautic.org/t/dynamic-content-does-not-work/9711/1 "2017-10-16T13:31:12Z")

</div>

Hi,  
  
  
  
I did the following:

1. Created a segment  
2. Created dynamic content element  
3. Created campaign with the segment of #1, a request dynamic content decision, selected a name and connected the element of #2  
4. Created a form with only an email address field, an actions puts the leads into the segment of #1  
5. Created a (Mautic) landing page, put the form and the dynamic content DIV on it with the div name of #3  
  
  
  
Then I did the following on another device in another network with no cookies:  
6. Opened the landing page  
7. Filed out the form  
8. Reloaded several times  
  
  
  
Result: the dynamic content was not display but only the default value from the DIV.  
  
  
  
I checked:  

- The lead was created  
- The lead was added to the segment and to the campaign  
- The page hits were recorded within the contact  
  
  
  
Any ideas what went wrong (or what I did wrong)?  
  
  
  
Thanks, P.

---

<div class="post-metadata">

**Author:** ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)\
**Post date:** [October 16, 2017, 1:31pm UTC](https://forum.mautic.org/t/dynamic-content-does-not-work/9711/2 "2017-10-16T13:31:12Z")

</div>

Hi,

I did the following:

1. Created a segment
2. Created dynamic content element
3. Created campaign with the segment of #1, a request dynamic content decision, selected a name and connected the element of #2
4. Created a form with only an email address field, an actions puts the leads into the segment of #1
5. Created a (Mautic) landing page, put the form and the dynamic content DIV on it with the div name of #3

Then I did the following on another device in another network with no cookies:  
6. Opened the landing page  
7. Filed out the form  
8. Reloaded several times

Result: the dynamic content was not display but only the default value from the DIV.

I checked:

- The lead was created
- The lead was added to the segment and to the campaign
- The page hits were recorded within the contact

Any ideas what went wrong (or what I did wrong)?

Thanks, P.

---

<div class="post-metadata">

**Author:** ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)\
**Post date:** [October 16, 2017, 2:09pm UTC](https://forum.mautic.org/t/dynamic-content-does-not-work/9711/3 "2017-10-16T14:09:28Z")

</div>

Another info:

I set the form fields as pre-filled and they are pre-filled. That means that the lead in fact is recognized (but not for dynamic content).

---

<div class="post-metadata">

**Author:** ![arrfonseca](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@arrfonseca](https://forum.mautic.org/u/arrfonseca)\
**Post date:** [December 12, 2017, 12:44am UTC](https://forum.mautic.org/t/dynamic-content-does-not-work/9711/4 "2017-12-12T00:44:51Z")

</div>

Had a similar issue with version 12.1 and could solve that by enabling CORS in my .htaccess file in the root of Wordpress install. Maybe its a similar issue and worth a try.
