Question

Integrating Facebook custom conversion for multiple forms


Userlevel 1
Badge

Hello.

We are trying to track typeform leads conversions on facebook, for this I’ve already added our FB pixel to typeform and event is being received on FB.

My issue is that we have multiple forms for specific campaigns running on embedded forms on our landing pages so I created a custom conversion on FB listening for the FormSubmitted event of Typeform. Unfortunately this conversion will track all events on each form without distinction.

For this, I would like to add rules to the custom conversion based on the URL but this works on the base URL only.

ie: If my Landing page url is https://www.domain.com/fb/form-a , and y add the convertion rule to match URL contains “fb/form-a” it wont track the conversion but only if I set the rule to URL contains “www.domain.com”

Why the FormSubmitted event is sending only the base URL instead of  the full URL to FB? Is there a way to send the full URL in order to create an accurate conversion.

 

Thanks.


15 replies

Userlevel 7
Badge +5

Hi @mkto Thanks for stopping by the community and happy Wednesday!

You can distinguish between conversion events by combining the TypeformSubmit event with the page URL like the screenshot below:


It sounds like you may have set this up, but can you confirm if you’ve set it up like the screenshot above? Thanks!

Userlevel 1
Badge

Hello @Liz actually I have a slightly different panel but I think is the same logic

Unfortunatelly, as I mention in the OP. The rule works only for the root domain and not on the URI path.

 

IE:
URL contains www.domain.com → Works with a URL like https://www.domain.com/fb/demo-a
URL contains fb/demo-a → Doesn’t work with the same URL above

 

As you see, the problem seems to be that the TypeformSubmit event doesn’t bring the Full URL but only the root domain.

I’m not sure if this is a typeform issue or an implementation on the embed code as the form is running on an Iframe.

Any help is greatly appreciated.

Userlevel 7
Badge +5

Hi @mkto Thank you! I’m asking someone from our marketing team for further help with this since they spend a bit more time in Facebook Pixel and can provide some more guidance on this! As soon as I hear back from them, I’ll let you know what they say, but if you have any questions in the meantime, send ‘em over!

 

Userlevel 7
Badge +5

Hi @mkto Apologies for the delay here! I’ve heard back from our marketing team. They said that if you use “URL contains”, you should use URL keywords. Example: form-a
Otherwise you can use an entire URL with 'equals to'. Example: https://www.domain.com/fb/form-a

They also suggested to try setting up both methods. 

Let us know if this doesn’t work!

Userlevel 1
Badge

​Hey @Liz thanks for replying back.

I’ve tried adding URL keywords to our facebook conversion rule. Unfortunately the event only brings the root domain URL as a parameter. So if we have multiple paths on that domain, the rule will match all or none of them.

For example. The event comes with the URL www.domain.com, but our forms are on

www.domain.com/demo-a
www.domain.com/demo-b

Theres seems to be no way to create rules for URL containing demo-a and demo-b as only www.domain.com comes as the event URL.

I’m attempting to implement and external tracking system in the meantime but if this could be solved directly on the FB integration of Typeform that would helps us a lot.

Greetings.

Userlevel 7
Badge +5

Hi @mkto I’ll ask our marketing team if they have any other ideas! :grin:

Userlevel 7
Badge +6

what about difference cname entries in the dns for each path option? pain to manage but might provide some relief

 

just a thought

Userlevel 1
Badge

what about difference cname entries in the dns for each path option? pain to manage but might provide some relief

 

just a thought

Hey @john.desborough. Thanks for replying. Actually the current paths are already being in use and receiving a lot of traffic so changing the domain (or subdomain) is not the best option at this moment.

 

Thanks.

Userlevel 7
Badge +5

HI @mkto Our marketing team is asking if you wouldn’t mind sharing the URL so they can take a look at this for you? Additionally, just to confirm, have you tried setting this up with the URL ‘equals to’ and not just contains? Thanks in advance! 

Userlevel 1
Badge

Hello @Liz

Urls are:

https://lp.bostonmedicalgroup.es/fb/test-de-vida-intima/

https://lp.bostonmedicalgroup.es/fb/test-ep-vida-intima/ 

 

The issue is that on facebook the event doesnt brings the full URL

But only the base domain.

 

Thanks.

Userlevel 7
Badge +5

Hi @mkto Do you mind also sending a screenshot of the setup you have within Facebook using the ‘equals to’? I’ll then be able to share this with them!

Userlevel 1
Badge

Hello. We are using contains

The problem is that TypeformSubmit comes from “https://lp.bostonmedicalgroup.es” and not from “https://lp.bostonmedicalgroup.es/fb/test-de-vida-intima

So rules never match.

As a workaround, I’ve linked form to GTM and creating a Custom event on FB from there. I’ve managed to send parameters to FB and create a custom conversion based on those parameters, but would be great if Typeform could sent this parameters on its own, with their FB integration like:

fbq(‘track’, ‘TypeformSubmit’, {‘url’: ‘full-url.com’….})

 

Thanks again for support.

Userlevel 7
Badge +5

Hi @mkto Glad to hear you were able to find a workaround! :grin: I’ll share this feedback with product, too, and let us know if you think of any other questions.

Hello!

 

I’m having the same issue as @mkto. I, however, am unable to link the form using GTM. Have there been any updates from the team on supporting tracking to multiple domains on facebook?

 

Thank you

Userlevel 7
Badge +5

Hi @tinar001 We don’t have any updates yet regarding linking to multiple domains, but do you mind sharing more information about what isn’t working with GTM? 

Reply