Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey JT,

    This is awesome and exactly what I need! ?? Just to clarify, if a user comes back to the site having purchased before but isn’t logged in then this will attribute their new purchase to them rather than attributing it to ‘guest’, is that correct?

    Thanks so much for posting this!

    John

    Thread Starter John Turner

    (@johnnytee)

    Yep, it works in all my testing. I haven’t had an issue yet, but my site is not in production yet either.

    Awesome, I’ll try it out. Thanks again for sharing!

    Hi John,

    Thanks a lot for this…very kind.

    Please can you elaborate on where this code should be placed? Which file do I edit?

    Thread Starter John Turner

    (@johnnytee)

    So I would create a new plugin so you don’t break updates on this plugin. Then instead of referencing the class like in the gist just reference the function in your plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Second Purchase Attribution Code’ is closed to new replies.