Article sections

    This is one of the most useful integrations in REVEAL.

    It allows you to create Custom Audiences based on your existing RFM customer groups. With a few clicks, you can create dynamic audiences to start treating your customers differently: getting customers who are About to Dump you back to your store, delighting your Soulmate customers with custom, premium offerings or getting those pesky Don Juans to buy from you again.

    And even better, you can then create lookalike audiences for your Power customer groups like Soulmate and Lovers to attract only the best prospects into your acquisition funnel!

    So let’s do this.

    Be aware!
    The implementation below will only work for users who authenticate on your website at least once.

    Requirements

    1. Make Reveal RFM Information Available

    For this integration you will need to have the Reveal RFM information available in the front end code of your page (usually as a Javascript variable). 

    • If you use one of the platforms we have integrations with (like Shopify), these variables are automatically published into javascript variables, so you can use them directly following the steps in this tutorial
    • If you are creating a manual implementation of Reveal:
      • Make sure you have already imported the RFM information from Reveal, then please publish that information into Javascript variables that you will name as you like and will use them following the steps in the tutorial below.

    Please follow this article to see how to import Reveal RFM data into your project : https://www.omniconvert.com/help/kba/how-to-export-data-from-reveal/.

    When the data has been imported, please revisit this article for the next steps.

    2. Install Facebook Pixel

    Make sure you have a Facebook Pixel installed on your website. To create and install a Facebook Pixel please follow this tutorial: https://www.facebook.com/business/help/314143995668266?id=1205376682832142

    Step 1: Modify the Facebook Pixel to register Reveal RFM information

    Edit the Facebook Pixel code that is inserted into your website and append this line to the end of the script:

    fbq(‘track’, ‘ContentView’, {‘reveal_rfm_score’: 555, ‘reveal_rfm_group’: ‘Soulmate’});

    In the end your Pixel code should be similar to this:

    <script>!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);fbq(‘init’, ‘{your_fb_pixel_code}’);fbq(‘track’, ‘PageView’);fbq(‘track’, ‘ContentView’, {‘reveal_rfm_score’: 555, ‘reveal_rfm_group’: ‘Soulmate’});</script>

    When using our Shopify integration the RFM variables are available on the window object.
    You can access them like this: 

    fbq(‘track’, ‘ContentView’, {‘reveal_rfm_score’: window._Reveal.rfm_score, ‘reveal_rfm_group’: window._Reveal.rfm_group});

    Step 2: Create the Custom Audience

    1. In Facebook Business Suite go to the left menu, click on More Tools and choose Audiences.
    2. Click on Create a Custom Audience button.
    3. In the popup,  click on Website under Your sources section.
    4. Fill in the information as in the example below:

    In the Events section choose ContentView in the “From your events” subsection. If this subsection is not available it means your Pixel code doesn’t work correctly or is not inserted into your website. Please fix your code, then come back to this screen. Please remember that after sending the first events it will take some time for this interface to update (it might take a few hours or even a day).

    Then press the Further refine by button and select URL/Parameter.

    Click on URL and change it to one of your Reveal RFM Parameters: reveal_rfm_score, reveal_rfm_group.

    Then click on the “contains” dropdown and choose “equals” and enter the expected value of the current parameter in the input below.

    1. Save your Custom Audience and use it in your Facebook Ads.

    Congratulations, you are one major step closer to getting better results for your business’s customer acquisition campaigns.

    Notes

    This interface will allow you to add multiple rules and to create an audience with multiple RFM groups.

    Using this method you can also push other kinds of user information you have available in your website and create custom audiences based on it.

    Was this post helpful?

    Related Articles