Code Monkey home page Code Monkey logo

Comments (13)

saint2016 avatar saint2016 commented on August 25, 2024 1

@mqarchane it is so amazing of you to share this, I will install it later this week but wanted to thank you in advance. Really nice work!

from mautic-facebook.

saint2016 avatar saint2016 commented on August 25, 2024 1

Thanks so much for sharing the form code as well, it worked as a charm. My one tip while implementing to everyone is to check the variable names and values from mautic ([mautic url]/form/[form id] before coding into the script as there was some unexpected behavior there.

For example, boolean fields had values 0/1 or names were a bit different than I thought because I had fiddled too much with the form in mautic etc.

There also is a small bug in your code, the $lead_email conversion from json is in wrong order, the right order should be as per your api based webhook:

$lead_email = $data['field_data'][0][values][0];
$lead_first = $data['field_data'][1][values][0];
$lead_last = $data['field_data'][2][values][0];

The only downside to this approach is that Mautic somehow saves the server IP as the contact's IP, there must be a way around this but couldn't figure out yet.

UPDATE: I got this sorted, to prevent Mautic from recording the IP address of the server as the contact's IP address, simply enable the "Kiosk Mode" in the form.

from mautic-facebook.

ahfauth avatar ahfauth commented on August 25, 2024

Thanks for sharing!
Any tutorials on this? I have no idea on how to use it.

I would love to be able to integrate Mautic and Face Leads!

from mautic-facebook.

mqarchane avatar mqarchane commented on August 25, 2024

are you guys still interested on integrating Mautic with Facebook Leads? i can make a video tutorial to explain how.

from mautic-facebook.

LuisBeOnline avatar LuisBeOnline commented on August 25, 2024

from mautic-facebook.

ahfauth avatar ahfauth commented on August 25, 2024

from mautic-facebook.

mqarchane avatar mqarchane commented on August 25, 2024

Here is the video tutorial https://youtu.be/Jr98BOamcGo

This is my first video tutorial and English is my second language so please let me know if you didn't understand something or you have any questions.

from mautic-facebook.

altomarketing avatar altomarketing commented on August 25, 2024

@mqarchane Excellent tutorial, but is it for Facebook Leads Ads ? or its for Leads that are generated using Facebook share login thats sends users data to Mautic ? Can you share how to integrate this app with [LEADS Ads forms] facebook.com >> publishing_tool >> ?section=LEAD_ADS_FORM . In my case https://www.facebook.com/MYFACEIDhere/publishing_tools/?section=LEAD_ADS_FORM

from mautic-facebook.

mqarchane avatar mqarchane commented on August 25, 2024

This tutorial is for Facebook Leads Ads when you create a lead generation ad in facebook you will need to download and upload them manually. With what i explained in the video, leads will be added automatically to your Mautic and get all the benefits of Mautic Marketing automation :)

from mautic-facebook.

ahfauth avatar ahfauth commented on August 25, 2024

from mautic-facebook.

mqarchane avatar mqarchane commented on August 25, 2024

Thanks! let me know if you have trouble setting this up and i will try to help you

from mautic-facebook.

mqarchane avatar mqarchane commented on August 25, 2024

There is an easier way to do this using forms instead of the Mautic API i will try to share it when i have some time

from mautic-facebook.

mqarchane avatar mqarchane commented on August 25, 2024

@saint2016 Thank you for the feedback this was a fast implementation didn't take the time to verify everything. I am glad it worked for you.

from mautic-facebook.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.