I created a campaign but when I go the the link with the code (e.g. mysite.com/?affiliate=TEST123), the visit is not recorded. When I go to the default campaign link with the user id (e.g. mysite.com/?affiliate=3), the visit is recorded (in the Visitors tab).

Comments

genellann created an issue. See original summary.

loze’s picture

It does work. Make sure you are using the param names that you set for both affiliate and campaign on the settings page

yoursite.com?affiliate=UID&campaign=CODE

  • you can change "affiliate" and "campaign" to whatever you want to use in the settings.
  • if you just use yoursite.com?affiliate=UID it will register as the default campaign.
  • You always need an affiliate for it to register, campaign is optional.
  • If the campaign is not valid it falls back to the default campaign
  • If the campaign is not global AND not owned by the affiliate, it falls back to the default campaign.

Im open to changing this behavior, or possibly exposing an event that allows implementing modules have the final say of whats recorded. But this made sense to me as I was developing.

loze’s picture

Category: Bug report » Support request
Priority: Major » Normal
loze’s picture

Status: Active » Closed (works as designed)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.