# Working with Drupal

**URL:** <https://forum.mautic.org/t/working-with-drupal/33041>\
**Category:** 3rd Party Addons\
**Tags:** development\
**Created:** [August 6, 2024, 2:06pm UTC](https://forum.mautic.org/t/working-with-drupal/33041 "2024-08-06T14:06:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dstott](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dstott/32/12752_2.png) [@dstott](https://forum.mautic.org/u/dstott)\
**Post date:** [August 6, 2024, 2:06pm UTC](https://forum.mautic.org/t/working-with-drupal/33041/1 "2024-08-06T14:06:50Z")

</div>

Hi everyone,  
I’m new to Mautic and interested in integrating it with my drupal website. It sounds like it can do amazing things and I love the idea of integrating tracking and marketing in an open source platform.

Unfortunately, I haven’t gotten a proof of concept fully working, and references to drupal seem to be mostly from 2016. I’m using two modules (drupal/mautic and drupal/mautic\_paragraph).

I am getting tracking info, and I have gotten 1 form working in a block on my development site.

I’d love to get dynamic content working, but none of my attempts have been successful and I have no idea how to debug this. Here are some questions, if you are up for some guidance:

1. Do I need a plugin on the Mautic side? It doesn’t look like it - but as a sanity check I’m asking.
2. Is the tracking code all that is needed for updating content into slots? If not - is there documentation on what is required?
3. I think I have the CORS set up correctly - but I’d love to hear from anyone who has gotten DWC working on Drupal (preferably 10, but 8 or 9 too) before I keep randomly trying things.

I’m using got Mautic v5, drupal 10, php 8.1.

Many thanks,  
Derek

---

<div class="post-metadata">

**Author:** ![dstott](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dstott/32/12752_2.png) [@dstott](https://forum.mautic.org/u/dstott)\
**Post date:** [August 8, 2024, 8:13pm UTC](https://forum.mautic.org/t/working-with-drupal/33041/2 "2024-08-08T20:13:44Z")

</div>

Is there anyone here using Drupal?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [August 9, 2024, 11:14am UTC](https://forum.mautic.org/t/working-with-drupal/33041/3 "2024-08-09T11:14:30Z")

</div>

I do not use drupal, but if module does not exist yet, then yes I think you would need a custom drupal module that gets DC from Mautic.

Tracking code snippet from mautic has nothing to do with DC, its for tracking page visits and events on targeted website.

As for CORS, I do not think there is anything special about just set apprpriate headers in mautic web server config so the tracking script can post / get data to mautic.

---

<div class="post-metadata">

**Author:** ![dstott](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dstott/32/12752_2.png) [@dstott](https://forum.mautic.org/u/dstott)\
**Post date:** [August 9, 2024, 5:03pm UTC](https://forum.mautic.org/t/working-with-drupal/33041/4 "2024-08-09T17:03:56Z")

</div>

Thanks - I appreciate the response. I’ll see if I can see how it works from a wordpress plugin.

I’ve seen a fair number of videos about Mautic and Drupal recently - I’m surprised there isn’t more up to date information.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [August 9, 2024, 5:17pm UTC](https://forum.mautic.org/t/working-with-drupal/33041/5 "2024-08-09T17:17:10Z")

</div>

Sure thing, if you need help with the development let me know.
