NOTE: This article is still correct and explains some useful functional details, but you can now generate the needed code directly in the Trackify admin. Please watch the video above for detailed instructions! 


If you are selling the same products in CF and in Shopify, you can use this script in Clickfunnels. It replaces the manual FB Pixel code that you would currently paste into the Tracking Code field in Clickfunnel steps.

<!-- Trackify Pixel Code -->
<script type="text/javascript"
src="https://app.redretarget.com/sapp/pixel?product_ids[]={enter_variant_id_here}&value={enter_value_here}&currency=USD&num_items=1&store_name={enter_shopify_store_name_here}.myshopify.com&event_type={enter_event_type_here}">
</script>

Supported event types are ViewContent, Lead, AddToCart, InitiateCheckout and Purchase.

The script will pull the Trackify settings from your store and fire the pixel event you've set with all the pixels that are set in Trackify which apply to that product, and all rr_track tags that are assigned to this product.

Use the VARIANT ID from Shopify (not the PRODUCT ID).

For help on how to find the variant ID for a product, click here!

If you want to create an event with multiple products, you need to do it like this:

<!-- Trackify Pixel Code -->
<script type="text/javascript"
src="https://app.redretarget.com/sapp/pixel?product_ids[0]={enter_variant_id_here}&product_ids[1]={enter_variant_id_here}&value={enter_value_here}&currency=USD&num_items=1&store_name={enter_shopify_store_name_here}.myshopify.com&event_type={enter_event_type_here}">
</script>

This is an advanced feature for people who are not afraid of a bit of coding. Please feel free to ask if you need further help with this!

Did this answer your question?