Trackings and AB Tests

Track Leads Captured on Facebook and ManyChat via Zapier

Create an integration via Zapier to receive and track leads in Guru captured from Facebook and Manychat forms. And forward the captured data to your autoresponder while monitoring the entry and conversion of these leads over time.

1 – Direct conversions (sales through the thank you page);
2 – Automatically calculated when launching traffic costs;
3- Time it takes for the lead to convert;
4 – Indirect conversions (leads that did not convert on the thank you page, but converted in another campaign).

Step-by-Step for Zapier integration

1 - Configure ManyChat or Facebook

1 - Access the tool where you will publish a lead capture campaign and make the following settings:

ManyChat

Create or edit a sequence of automation for Facebook Messenger to promote a tracked lead capture link.
Consult: 
https://blog.manychat.com/how-to-build-a-facebook-messenger-bot-with-manychat

Facebook

2 - Get API Token

1 - Access Digital Manager Guru with your username and password

2 - In the menu, click on [Username] > Account.

3 - In the APITab, copy and store the API Token.

3 - Get Entry Point in Guru

1 - Access the Digital Manager Guruaccount, with your username and password.

2 - Create or update a R.P.P.C > Leads 

3- In the field DISCLOSURE URL, select the text contained after “lead/”.

4 - Copy and store the lead_tracking_id value.

4 - Get Capture Point in Guru

1 - Access the Digital Manager Guruaccount, with your username and password.

2 - Create or update a R.P.P.C > Captures 
3 - In the field DISCLOSURE URL, select the text contained after the segment “form/” until the next quotation mark (“).

4 - Copy and store the form_tracking_id.

5 - Create Zapier Automation

1 - Access the account on Zapier with your username and password.

2 - Click on Make a Zap.

3 - In Choose a Trigger App, enter and select ManyChat or Facebook Leads Ads.

4 - According to the selected application, in Select [App] Trigger, enter:

ManyChat

1 - Select option New or Updated Custom Field.

2 - Click on Save + Continue.

3 - Then, click on Connect an Account > Sign in With Facebook

4 - Follow the instructions, connect with your Facebook page(*) and select the desired Manychat account.

(*) FACEBOOK has temporarily blocked account integration with Many. Chat. Pages that already used Manychat continue to function normally.

5 - Click on Continue.

6 - In Custom Field, select the field email and click on Continue.

7 - Perform a test and check if it was successful.

8 - Add a new step of type Action.

9 - In Choose a Action App, enter and select Webhooks

10 - In Select Webhooks by Zapier Action, select POST and click on Continue.

11 - In Set up Webhooks by Zapier POST, enter:

  • URL = https://clkdmg.site/api/leads

  • Payload Type = Form

  • Data (add the following fields)

    • api_token = (enter value obtained in step 2)

    • lead_tracking_id =(enter the value obtained in step 3)

    • form_tracking_id = (optional – leave empty or enter the value obtained in step 4)

    • email = (optional – leave empty if the campaign directs to a capture page or select the corresponding field)

    • name = (optional – leave empty if the campaign directs to a capture page or select the corresponding field)

  • Wrap Request In Array = No

  • Unflatten = Yes

  • Basic Auth = (empty)

  • Headers (empty)

12 - Click on Continue.

13 - Perform a test and check if it was successful.

Facebook Lead ADS

1 - Select the option New Lead.

2 - Click on Save + Continue.

3 - Then, click on Connect an Account > Sign in With Facebook

4 - Follow the instructions, connect Zapier with Facebook and select Facebook Leads Ads.

5 - Click on Continue.

6 - In Set up Facebook Lead Ads Lead, enter:

  • Page: select the Facebook page

  • Form: select the capture form.

7 - Click on Continue.

8 - Access the form library on Facebook and perform a test registration from the form preview on Facebook.

9 - Return to Zapier and check if the test was successful.

10 - Add a new step of type Action.

11 - In Choose a Action App, enter and select Webhooks

12 - In Select Webhooks by Zapier Action, select POST and click on Continue.

13 - In Set up Webhooks by Zapier POST, enter:

  • URL = https://clkdmg.site/api/leads

  • Payload Type = Form

  • Data (add the following fields)

    • api_token = (enter value obtained in step 2)

    • lead_tracking_id =(enter the value obtained in step 3)

    • form_tracking_id = (optional – leave empty or enter the value obtained in step 4)

    • email = (optional – leave empty if the campaign directs to a capture page or select the corresponding field)

    • name = (optional – leave empty if the campaign directs to a capture page or select the corresponding field)

  • Wrap Request In Array = No

  • Unflatten = Yes

  • Basic Auth = (empty)

  • Headers (empty)

14 - Click on Continue.

15 - Perform a test and check if it was successful.

16 - Click on Finish and set the Zap to ON (on).

6 - Publish ManyChat or Facebook Campaign

1 - According to the selected tool:

Facebook

Create and publish a Lead Generation ad and select the same form indicated in the Zapier integration to start capturing leads via Facebook form and track conversion in Guru.

Consult: 
https://www.facebook.com/business/help/397336587121938?helpref=faq_content

ManyChat

Publish the ManyChat automation to start capturing leads and track conversion in Guru.

Consult: 
https://blog.manychat.com/how-to-build-a-facebook-messenger-bot-with-manychat


Done!

FROM this moment on, leads captured via Facebook or Many. Chat forms will be sent to Guru via Zapier. Track in: