• Resolved cutu234

    (@cutu234)


    Hi there,

    sorry for this pretty dumb question, but I am really struggling implementing the Facebook pixel in Complianz. I’ve searched the documentation and this support forum, but couldn’t find anything useful. This article does not really help. I would prefer a manual implementation not using a specific plugin for this.

    Could you please point me in the right direction.

    Thank you very much!

    Mike

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @cutu234,

    No other plugins will be needed for this. To load the Pixel based on consent, enter your Facebook Pixel script/code under Complianz > Integrations > Script Center > “Add a third-party script”. Make sure to remove the <script></script> tags.

    It should look like in the screenshot below:

    Hope it helps!
    Kind regards,
    Jarno

    Thread Starter cutu234

    (@cutu234)

    Hi Jarno,

    thanks a bunch for the super fast reply. This totally helped. Implementing the marketing elements can be a little bit intimidating, since they use different methods. I’m sure, you have good reasons for this. But may I ask why? The standard Google tracking code is super easy. Just fill in the ID, and you’re good to go. With GTM it is a little bit more work. But once you got the hang of it, it’s just fine. Now, for the FB pixel we have to use the script blocker. When you’re new to Complianz this is just a little bit unfamiliar, so to speak.

    Thanks, Mike

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @cutu234,

    Loading the Facebook Pixel with a “Custom HTML” tag in GTM instead (and triggered by Complianz events, e.g. cmplz_event_marketing) would achieve the same result as the above Script Center > “Add a third-party script” example.

    Both of these methods are fine, the code you enter (in this case FB Pixel) will run when consent has been obtained for the category that you’ve selected.

    Let me know if you have any questions about this.

    Kind regards,
    Jarno

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Regarding your UX question: Google Analytics is used by almost every user, so it makes sense to add a built-in method. This is less so with the Facebook pixel.

    Generally speaking, we try to balance ease of use (‘enter an Id and you’re done’) with the complexity of the wizard: we already get feedback from some users that there are too many questions.

    So we need to make these decisions carefully.
    In addition to that: the plugin is not ‘finished’ and ideas from our community of free collaborators are important for the further development. But as there’s always more work/ideas than we have hours in a day, we have to prioritize.

    That said, I think something could be said for adding an integration where additional questions appear only if you select the Facebook service. Adding it in the Facebook integration only will keep the plugin lightweight and easy to use. Please feel free to add a feature request on complianz.io

    Feature requests get reviewed, and added to our roadmap based on popularity.

    Hope this explains!

    Thread Starter cutu234

    (@cutu234)

    Thank you very much for taking the time. Don’t get me wrong: I didn’t mean to criticise you for building the assistant like that. I just wanted to understand the background. It’s totally fine to have different methods for different tasks. It needs some time to get familiar with it. And your support was really very helpful.

    I’m very happy with Complianz and will migrate all sites that now use Borlabs

    But the facebook pixel code has one more component: it goes between noscript tags:

    <noscript><img height="1" width="1" style="display:none"
    
    src="https://www.facebook.com/tr?id=XXXXXXXXX&ev=PageView&noscript=1"
    
    /></noscript>

    What to do with this?

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @ricardorvm,

    You can remove that part, so that this fallback won’t be used; and your users won’t be tracked when denying the Marketing cookies.

    Kind regards, Jarno

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to implement Facebook pixel’ is closed to new replies.