• Resolved John Els

    (@johnelstx)


    I need some help with setting up event tracking in Pixel Caffeine and then using that data to build an audience. Can someone please clarify this for me?

    Here’s what I have, and what I’ve done…

    I have a button (created with a formatted div tag) that my visitors can click on to open a lightbox that collects leads. I want to create event tracking for anyone that clicks on that button to allow build an audience for retargeting.

    I added an ID tag to the button. Then, in Pixel Caffeine, I added new Tracking using a CSS selector and specifying the button ID. This is all that I have done, but I don’t know if this is all that I have to do. Is there more to do? Should I add the code shown in that Tracking item to an onclick event on my button?

    Assuming that I have implemented the tracking correctly and that data is being collected, how can I then use that data to create an audience? Is that done on the Custom Audiences tab on Pixel Caffeine? If so, how?

    Thanks for your help 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    make sure that:

    • you have added the event in Conversions/Events tab
    • you have added the event for CSS Selector
    • you have added the id with the hash symbol, like “#buttonid”
    • the pixel is fired correctly by checking with the Facebook Pixel Helper Chrome Extension

    Let me know.

    Thread Starter John Els

    (@johnelstx)

    Hi @antoscarface. Thanks for that. My missing element was the “#” before the ID in your point 3. As soon as I added that, the event started firing, confirmed by the FB pixel helper and by recorded events in my FB ad account.

    Follow-up questions:

    1. Can I also use a CSS class instead of an ID, also preceded by the hash symbol? (I guess I can test, but thought to ask anyway.)

    2. Can this event data be used in Pixel Caffeine to build a custom audience? If so, how?

    Thanks for your help!

    John

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Great! 🙂

    1. Yes, you can but you need to use the point, like “.classname”

    2. Unfortunately it cannot possible by the plugin admin, because there isn’t any way to add a custom audience event based yet, but you may create the custom audience in business manager without problem. This is a feature in our roadmap and I’ll do as soon as possible 🙂

    Thread Starter John Els

    (@johnelstx)

    Great! Thanks so much 🙂

    If I may offer a suggestion, add this information about CSS selectors (“#” preceding an ID and “.” preceding a class name) to event tracking config page in Pixel Caffeine. It will help to stop a bunch of people asking you the same question over and over. 🙂

    Plugin Author Antonino Scarfì

    (@antoscarface)

    You’re welcome and thank you for the suggestion! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Help with setting up Event Tracking’ is closed to new replies.