• Resolved alfie1

    (@alfie1)


    How do I configure Analytics to track when a customer clicks on an affiliate link button. All of my product pages have a button called “Buy Direct” and I would like to know when they get clicked for each product. Is this possible to do with Analytics? Or how can I track the click on those affiliate links using a plugin?
    All my products are affiliate products.
    In a same question you answered to paste this code and see:

    add_filter( ‘wcfm_is_allow_external_product_analytics’, ‘__return_true’ );

    I pasted it but nothing changed. PS. I’m using the free version of WCFM.
    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author WC Lovers

    (@wclovers)

    add_filter( ‘wcfm_is_allow_external_product_analytics’, ‘__return_true’ );

    – This line is fine for the purpose.

    It consider affiliate products’ button click as view for that product.

Viewing 1 replies (of 1 total)
  • The topic ‘Track click in affiliated links’ is closed to new replies.