Support

Home Forums Event Espresso Premium Change type “sale” to “opt-in” when a booking is handed over to affiliateWP

Change type “sale” to “opt-in” when a booking is handed over to affiliateWP

Posted: November 25, 2024 at 10:22 am

Viewing 1 reply thread


Markahn

November 25, 2024 at 10:22 am

We are looking for posibilities to immediately see a booking fom EE in the recommendations table in affiliateWP´s partner area. There sales are not seen immediately but after payment is confirmed. A solution could possibly be created by changing the status of each booking handed over by Event Espresso. Now every booking is handed over as of type “sale”. If I´d change this to type “opt-in” I´ll get some more options to handle visibility from within AffiliateWP. I need a tip where (in which file or part of code) to change this. Anyone can help?


Tony

  • Support Staff

November 26, 2024 at 7:02 am

Hi there,

I’m not sure I follow why changing the type will help here.

The referral types listed for Affiliate WP here:

https://affiliatewp.com/referral-types-opt-in-forms-gdpr-privacy-tools-and-more-in-affiliatewp-version-2-2/

Show that status as “Opt-in – assigned to referrals generated by an email opt-in form (see Opt-in forms section below)”, that wouldn’t really happy to EE submissions, they are purchases so use ‘Sale’.

However, the Affiliate WP add-on uses hooks that fire when the registration is finalised or paid which explains why you don’t see them until in AWP until payment is made/registration finalized.

When exactly are you looking to start tracking these? Once the registration complete the attendee information step?

You’re going to need custom code to do this as its not something Event Espresso currently supports.

Viewing 1 reply thread

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso