adding facebook pixel to button

Highlighted
New Member
1 0 0

Hi Everybody!

I'm trying to add a custom facebook pixel to track when users get re-directed to AirBnB website. Here's what I got so far. https://borolacafe.com/products/cafe-y-chocolate-el-matrimonio-perfecto

 

How are facebook pixels added to myShopify pages? How to add the event listener to track button clicks? Here was my attempt at the product page:

<div class="airbnb-embed-frame" data-id="742451" data-view="experience_booking" data-title_and_info="true"><a href="https://www.airbnb.com/experiences/742451?source=booking_widget" onclick="onClick()">Ver en Airbnb</a><a href="https://www.airbnb.com/experiences/742451?source=booking_widget" rel="nofollow"></a><script async="" src="https://www.airbnb.com/embeddable/airbnb_jssdk"></script></div>
0 Likes