I need to add tracking code to the affiliate link

This topic has 3 replies, 2 voices, and was last updated 10 years, 6 months ago ago by Eva Kemp

  • Avatar: pehlavoon
    pehlavoon
    Participant
    May 11, 2014 at 04:51

    Hi,

    I need to add:

    onClick=”_gaq.push([‘_trackEvent’, ‘affiliate link’, ‘DCT’,,, false]);”

    To my affiliate links for tracking purposes on Google Analytics.

    How do I go about doing this?

    Thanks,

    2 Answers
    Avatar: pehlavoon
    pehlavoon
    Participant
    May 12, 2014 at 04:36

    Specifically, this would be the button on the products pages.

    Avatar: Eva
    Eva Kemp
    Support staff
    May 12, 2014 at 12:16

    Hello,

    If you wish to add tracking code you can follow the instruction on woocommerce page:
    http://docs.woothemes.com/document/adding-theme-options/ > Pre-defined options.
    Also we recommend you to contact woocommerce support regarding this question.

    Regards,
    Eva Kemp.

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘I need to add tracking code to the affiliate link’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.