Analytics for affiliate links

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 5 reply threads
  • Author
    Posts
    • #103012
      bruce.rockow
      Participant

      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?

    • #105167
      Kreator
      Participant

      +1 Hello! I am interested also in this!

    • #105785
      WCFM Forum
      Keymaster

      Hi,

      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?

      – Is your all products are “External/Affiliate” products?

      Thank You

    • #105858
      bruce.rockow
      Participant

      Yes, all of my products are affiliate links. I do not have any products purchased on my site.

    • #105898
      Kreator
      Participant

      Same here please!

    • #106425
      WCFM Forum
      Keymaster

      Hi,

      Please add this line to your site and take a look –

      add_filter( 'wcfm_is_allow_external_product_analytics', '__return_true' );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

Viewing 5 reply threads
  • You must be logged in to reply to this topic.