<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS CI 360 re-targeting with Facebook in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-360-re-targeting-with-Facebook/m-p/806282#M1790</link>
    <description>Also forgot about this since I'm so used to using the developer console instead.&lt;BR /&gt;If you're more comfortable you can use this &lt;A href="https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en-US" target="_blank"&gt;https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en-US&lt;/A&gt; which is a facebook pixel addon for tracking events.</description>
    <pubDate>Wed, 06 Apr 2022 13:52:02 GMT</pubDate>
    <dc:creator>JeffPS</dc:creator>
    <dc:date>2022-04-06T13:52:02Z</dc:date>
    <item>
      <title>SAS CI 360 re-targeting with Facebook</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-360-re-targeting-with-Facebook/m-p/806197#M1788</link>
      <description>&lt;P&gt;Hi SAS Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Day! I would like to ask if anyone from this communities have tried integrating SAS CI360 on Facebook/Meta?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Generated a Facebook/Meta Pixel Code to add it to my website.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;Added below SAS code right after the meta pixel code in my website for mapping of FB activities and SAS Events.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DSCaliwagan_0-1649212305164.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70145iF1E171041D393C4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DSCaliwagan_0-1649212305164.png" alt="DSCaliwagan_0-1649212305164.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;Added below facebook custom event code right after the SAS support code in my website for mapping of FB activities and SAS Events.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DSCaliwagan_1-1649212643505.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70146i0358924EBE589DD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DSCaliwagan_1-1649212643505.png" alt="DSCaliwagan_1-1649212643505.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. Deployed SAS CI360 Tag in my website.&lt;/P&gt;&lt;P&gt;5.&amp;nbsp;Created a javascript spot type for CI360 to inject a tag in order to send data my website to the Facebook servers.&lt;/P&gt;&lt;P&gt;6. Created a plain text creative as shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DSCaliwagan_1-1649212643505.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70146i0358924EBE589DD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DSCaliwagan_1-1649212643505.png" alt="DSCaliwagan_1-1649212643505.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;7.&amp;nbsp;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.&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected output:&lt;/P&gt;&lt;P&gt;I was able to connect/integrate my website and sas ci360 domains to facebook.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DSCaliwagan_2-1649228399288.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70148i473D7E863F2B8C39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DSCaliwagan_2-1649228399288.png" alt="DSCaliwagan_2-1649228399288.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is I was not able to connect/track the custom event I did in SAS CI360 in Facebook.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping you can help me on this one..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 06:53:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-360-re-targeting-with-Facebook/m-p/806197#M1788</guid>
      <dc:creator>DSCaliwagan</dc:creator>
      <dc:date>2022-04-06T06:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS CI 360 re-targeting with Facebook</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-360-re-targeting-with-Facebook/m-p/806275#M1789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/301535"&gt;@DSCaliwagan&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Taking a look it seems as if you've done the majority of the steps correct.&lt;/P&gt;
&lt;P&gt;Though I think there might have been a bit of change to the conversion tracking for custom events.&lt;/P&gt;
&lt;P&gt;An example is here:&lt;/P&gt;
&lt;PRE class="_5s-8 prettyprint lang-js prettyprinted"&gt;&lt;SPAN class="pln"&gt;fbq&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str"&gt;'trackCustom'&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt; &lt;SPAN class="str"&gt;'ShareDiscount'&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;promotion&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;:&lt;/SPAN&gt; &lt;SPAN class="str"&gt;'share_discount_10%'&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;});&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;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&amp;nbsp;&lt;A href="https://developers.facebook.com/docs/meta-pixel/implementation/conversion-tracking/" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;if you'd like)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;fbq('trackCustom', 'ci360', {{{eventCategory}}: '{{eventAction}}'});&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other things to do to troubleshoot would be to:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Use the code in an example with the actual values you expect in the console window within the developer tools and see if they respond. First load the page with the dev console open and then confirm the facebook pixel has loaded. Then clear the network tab to more easily see new network calls. Then use the following code in the console:
&lt;PRE&gt;fbq('trackCustom', 'ci360', {testCategory: 'eventValue'});&lt;/PRE&gt;
You can replace the &lt;STRONG&gt;testCategory&lt;/STRONG&gt; and &lt;STRONG&gt;eventValue&lt;/STRONG&gt; 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.&lt;/LI&gt;
&lt;LI&gt;Confirm that you're triggering the event required for the task correctly. The event is as mentioned tied to the task and it must fire in order for the task to fire.&lt;/LI&gt;
&lt;LI&gt;You can add a logging command to the end of the plain text creative in order to make it easier to tell if it's firing correctly.
&lt;OL&gt;
&lt;LI&gt;
&lt;PRE&gt;fbq('trackCustom', 'ci360', {{{eventCategory}}: '{{eventAction}}'});
console.log("Testing, eventCategory is {{eventCategory}} and eventAction is {{eventCategory}}");&lt;/PRE&gt;
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.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;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!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jeffrey Stroud&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 13:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-360-re-targeting-with-Facebook/m-p/806275#M1789</guid>
      <dc:creator>JeffPS</dc:creator>
      <dc:date>2022-04-06T13:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS CI 360 re-targeting with Facebook</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-360-re-targeting-with-Facebook/m-p/806282#M1790</link>
      <description>Also forgot about this since I'm so used to using the developer console instead.&lt;BR /&gt;If you're more comfortable you can use this &lt;A href="https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en-US" target="_blank"&gt;https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en-US&lt;/A&gt; which is a facebook pixel addon for tracking events.</description>
      <pubDate>Wed, 06 Apr 2022 13:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-360-re-targeting-with-Facebook/m-p/806282#M1790</guid>
      <dc:creator>JeffPS</dc:creator>
      <dc:date>2022-04-06T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS CI 360 re-targeting with Facebook</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-360-re-targeting-with-Facebook/m-p/880503#M1922</link>
      <description>&lt;P&gt;You might consider reviewing this new feature in SAS CI360:&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/cintcdc/production.a/cintug/p1uy1z0yf5ohf5n19op0ejik1k0u.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/cintcdc/production.a/cintug/p1uy1z0yf5ohf5n19op0ejik1k0u.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, here is a self-driven interactive demo to see how it works:&amp;nbsp;&lt;A href="https://sas.navattic.com/facebook-audience-task" target="_blank"&gt;https://sas.navattic.com/facebook-audience-task&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 18:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-CI-360-re-targeting-with-Facebook/m-p/880503#M1922</guid>
      <dc:creator>suneelgrover</dc:creator>
      <dc:date>2023-06-13T18:06:07Z</dc:date>
    </item>
  </channel>
</rss>

