Hi SAS Experts,
Good Day! I would like to ask if anyone from this communities have tried integrating SAS CI360 on Facebook/Meta?
I have been trying to explore this use case, but things are not working as expected. Below are the things I have done so far.
1. Generated a Facebook/Meta Pixel Code to add it to my website.
2. Added below SAS code right after the meta pixel code in my website for mapping of FB activities and SAS Events.
3. Added below facebook custom event code right after the SAS support code in my website for mapping of FB activities and SAS Events.
4. Deployed SAS CI360 Tag in my website.
5. Created a javascript spot type for CI360 to inject a tag in order to send data my website to the Facebook servers.
6. Created a plain text creative as shown below.
7. Created a Custom event in CI360 as a requirement for the code used in my creative. This will trigger the pixel created above and will use merge tags in order to replace information to be sent in Facebook.
8. Defined a Web Task type, this connects the Spot and the Creative with Segmentation in order to conditionally fire the Facebook pixel on the website.
Expected output:
I was able to connect/integrate my website and sas ci360 domains to facebook.
The problem is I was not able to connect/track the custom event I did in SAS CI360 in Facebook.
Hoping you can help me on this one..
Thank you!
Hi @DSCaliwagan !
Taking a look it seems as if you've done the majority of the steps correct.
Though I think there might have been a bit of change to the conversion tracking for custom events.
An example is here:
fbq('trackCustom', 'ShareDiscount', {promotion: 'share_discount_10%'});
From Facebook's documentation. This is in comparison with the one you've used which has the quotes on the key and not the value in the secondary parameters of the code. This may or may not be an issue but could cause issues as it doesn't adhere to their standards currently. (you can view those standards here if you'd like)
fbq('trackCustom', 'ci360', {{{eventCategory}}: '{{eventAction}}'});
The other things to do to troubleshoot would be to:
fbq('trackCustom', 'ci360', {testCategory: 'eventValue'});
You can replace the testCategory and eventValue with the values you would want to use for testing (these would be the event group and name within your event settings in CI360 tenant). You should then see a new call in the network tab to facebook confirming that it is correctly loading and sending events.fbq('trackCustom', 'ci360', {{{eventCategory}}: '{{eventAction}}'});
console.log("Testing, eventCategory is {{eventCategory}} and eventAction is {{eventCategory}}");
This will print a message in the developer console when you've properly fired the facebook tracking so you can test if everything is correct.Hopefully this helped! But if not please let me know and we can see what other things to we can try to get it working!
Best,
Jeffrey Stroud
Hi @DSCaliwagan !
Taking a look it seems as if you've done the majority of the steps correct.
Though I think there might have been a bit of change to the conversion tracking for custom events.
An example is here:
fbq('trackCustom', 'ShareDiscount', {promotion: 'share_discount_10%'});
From Facebook's documentation. This is in comparison with the one you've used which has the quotes on the key and not the value in the secondary parameters of the code. This may or may not be an issue but could cause issues as it doesn't adhere to their standards currently. (you can view those standards here if you'd like)
fbq('trackCustom', 'ci360', {{{eventCategory}}: '{{eventAction}}'});
The other things to do to troubleshoot would be to:
fbq('trackCustom', 'ci360', {testCategory: 'eventValue'});
You can replace the testCategory and eventValue with the values you would want to use for testing (these would be the event group and name within your event settings in CI360 tenant). You should then see a new call in the network tab to facebook confirming that it is correctly loading and sending events.fbq('trackCustom', 'ci360', {{{eventCategory}}: '{{eventAction}}'});
console.log("Testing, eventCategory is {{eventCategory}} and eventAction is {{eventCategory}}");
This will print a message in the developer console when you've properly fired the facebook tracking so you can test if everything is correct.Hopefully this helped! But if not please let me know and we can see what other things to we can try to get it working!
Best,
Jeffrey Stroud
You might consider reviewing this new feature in SAS CI360: https://go.documentation.sas.com/doc/en/cintcdc/production.a/cintug/p1uy1z0yf5ohf5n19op0ejik1k0u.htm
Also, here is a self-driven interactive demo to see how it works: https://sas.navattic.com/facebook-audience-task
Want to review SAS CI360? G2 is offering a gift card or charitable donation to One Tree Planted for each accepted review. Use this link to opt out of receiving anything of value for your review.
SAS Customer Intelligence 360
Training Resources
SAS Customer Intelligence Learning Subscription (login required)
SAS' Peter Ansbacher shows you how to use the dashboard in SAS Customer Intelligence 360 for better results.
Find more tutorials on the SAS Users YouTube channel.
Want to review SAS CI360? G2 is offering a gift card or charitable donation to One Tree Planted for each accepted review. Use this link to opt out of receiving anything of value for your review.
SAS Customer Intelligence 360
Training Resources
SAS Customer Intelligence Learning Subscription (login required)