when using the Facebook Pixel as a destination.......
# support
c
when using the Facebook Pixel as a destination.... is the transformation always required? I've got the destination set up twice: In both destinations, the source is the default Rudderstack .js SDK/Snippet. One destination is running in device mode One destination is running in cloud mode In the Facebook ads platform, I am seeing Page View and Lead Events (Lead events according to how I set up the Mapping in Facebook Pixel Destination configuration in Rudderstack). Facebook is showing most/all events Deduplicating. However, not all events inspected in Facebook ads are working as expected: For example here is the information from a Lead Event pulled from Facebook's Test Events feed:
Copy code
URL: https://info.creditsuite.com/minicourse-fundability/lesson-1/?launch=go&contactId=1969115&inf_contact_key=8f00273a11fe83e4be21b4a5a807a0d0850050e7915f41da51043c293c2d487f&inf_field_BrowserLanguage=en-US%2Cen%3Bq%3D0.9&inf_field_FirstName=_removed_&inf_field_Email=_removed_&inf_field_Company=Poindexter%27s+Professional+Services&inf_field_Phone1=8321111111

Event id: 6ef6583d-d7f3-4f37-a0a4-8c871963765d
Parameters: (2)
email:
add455ac100482279864e22572c10d736cd2347584b00f006e13d7efea5a7086
phone:
ff9acf408efe70730b2304b16c688988521aef2e8b6d15c37b16d6b5fdbf90f6
User Data Keys: External ID, IP address, Phone, User agent
^ Why does User Data Keys have Phone but not Email? Why is the email URL param successfully replaced with
_removed_
but not the Phone? (note I replaced the actual phone number with 11111...) Further, why on some PageView events, I see User Data Keys contains Phone, but no phone is in the URL params? ^ I assume this is because I call Identify() on various opt ins, and then that user's phone/email are cookied and so get sent to the FB Pixel automatically, even though they're not in the URL? If this is so... I've yet to see any Lead event have "Email" in the User Data Keys: So... does this work somewhat with the custom transformation...but I need to implement the custom transformation to have it all working properly? Is the custom transformation just for people who are self hosted? If I need to use the custom transformation...how do I actually use it? there are various files in the GitHub... the transformation I'm thinking of, is in the "Enhance" tab of Rudderstack and is just a single text field? How do I use what's in GitHub?
Also... none of the Identify calls seem to be working... I swear I saw somewhere something that said Facebook has deprecated the Identify call..
image.png
a
RudderStack supports identify calls only for Cloud mode. Identify call will not work for device mode https://www.rudderstack.com/docs/destinations/streaming-destinations/fb-pixel/#identify
Why is the email URL param successfully replaced with
_removed_
but not the Phone?
• Facebook Pixel will replace any sensitive data (personally identifiable information) with
_removed_
. https://www.facebook.com/business/help/876665706470981?id=188852726110565 • In the example, I can see Email is replaced with
_removed_
and Because
Phone1
is sent it is not removed.
Copy code
URL: https://info.creditsuite.com/minicourse-fundability/lesson-1/?launch=go&contactId=1969115&inf_contact_key=8f00273a11fe83e4be21b4a5a807a0d0850050e7915f41da51043c293c2d487f&inf_field_BrowserLanguage=en-US%2Cen%3Bq%3D0.9&inf_field_FirstName=_removed_&inf_field_Email=_removed_&inf_field_Company=Poindexter%27s+Professional+Services&inf_field_Phone1=8321111111
c
the problem was that I was loading identify() calls AFTER the track() calls.
and thought I was passing the Advanced Identifying info by sending it in the properties of the track() calls