First just for clarifcation, a users true Facebook ID cannot be used to target a user. You need to capture their Open Graph Facebook User ID. This ID is what you will pass to Facebook in the AS connector to target a user. Alternitively, you can target a user based on their email address or phone number.
Note: You must provide the "Facebook App Id" corresponding to the Facebook User ID when using this identifier type.
Second, If you create an Audience within AudienceStream, it should automatically show up in Facebook as a targetable audience just as if was created in the Facebook UI.
Facebook requires the first custom audience be created in Facebook Ads Manager website, otherwise creating a new custom audience here might cause errors.
That being said, when you create a Facebook Audience within AS, you can use one of the 3 identifiers (Open Graph ID, Email, Phone Number) against the AudienceStream created Facebook audience.
Here is a TLC article outlining a standard setup: https://community.tealiumiq.com/t5/Universal-Data-Hub/AudienceStream-Facebook-Ads-Custom-Audiences/t....
Please let me know if this is what you're looking for.
The Facebook Open Graph ID can only be captured when the user explicitly states that their FB ID can be collected for use on your website. For example, upon site login using FB creds, a like event, a share events, or anything else where the visitor is on your site and interacting with Facebook.
You'll need to pop a modal to the customer that asks for that exlicit consent. There are severalFacebook APIs that allow you to tell whether or not the visitor is logged in, whether or not they've given consent, what their ID is, and more.
This can all be managed with extensions (JS code and Model Offer) within Tealium iQ, though I don't have any specific code examples. Is this the type of guidance you're looking for?
Thanks @dan_george for the answer.
So are there any workarounds on this so we can track unidentified visitors trough Audience Stream? Problem si that we're working on B2B case where users are not so eager to log in trough Facebook and are using company email to log in.
Is there a possibility to map Audence Stream variables from Tealium IQ as values for Facebook custom events? I've been testing this and problem is that we can't declare custom events in Tealium IQ, since events are all listed in dropdown menu?
However, if you have other ideas, that would be very helpful...
Hi @amarkic you can use Facebook custom events with the Facebook pixel tag, see "Custom Events" on this page;