Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Lars Lj 13 posts 32 karma points
    Nov 16, 2014 @ 16:06
    Lars Lj
    0

    Targeting campaigns only to logged-in customers

    Hi

    Does anyone know how to target campaigns only to existing cosutmers. Just like if a campaign only shows up if the costumer:

    1. Is logged in
    2. And is a member of a certain group in the members areal, i.e. "Premium customer" or something the like

    Thank you in advance for any helping comments!

    // Lars

  • Martin 181 posts 740 karma points
    Nov 17, 2014 @ 18:41
    Martin
    0

    Hi Lars,

    uCommerce does not have a advertise that can do that out of the box but you can extend uCommerce yourself.

    First take a look at this: http://docs.ucommerce.net/ucommerce/v6/extending-ucommerce/marketing-foundation/add-a-new-advertise-and-act-target.html it should explain exactly what you're needing.

    Best regards
    Martin 

  • Lars Lj 13 posts 32 karma points
    Nov 18, 2014 @ 09:02
    Lars Lj
    0

    Hi Martin. Your link looks very promishing. Thank you for your help :-)

    // Lars

  • Lars Lj 13 posts 32 karma points
    Nov 18, 2014 @ 14:40
    Lars Lj
    0

    .. and it helped somewhat, thank you Martin. The code if (membershipUser != null) determine if someone is logged in or not. But how can you target a member group from a marketing item (= a campaign)

    // Lars

  • Martin 181 posts 740 karma points
    Nov 18, 2014 @ 19:17
    Martin
    0

    Hi Lars,

    I've never worked with Members myself. My guess would be when you know whether the user is logged in or not, you fetch the current users profile and check which group he belongs to.

    I took a fast look at our.umbraco and found this http://our.umbraco.org/documentation/reference/querying/UmbracoHelper/ . I think it should be enough to find out which group a member is in. 

    If you want to implement a "picker" for your member groups you could do a very simple one by using a dropdown box listing all member groups in Umbraco. About the specific implementation I think you have to look at the link I gave you in my first post. The same principle for creating a ui component for advertise should be the same one has creating an act.

    Best regards
    Martin 

  • Nicholas Westby 1739 posts 5664 karma points c-trib
    Nov 18, 2014 @ 19:31
    Nicholas Westby
    0

    FYI, Umbraco 7 has a built-in property editor for selecting member groups. IIRC, it's called "Member Group Picker".

    Not sure how that would integrate with uCommerce.

  • Morten Skjoldager 436 posts 1492 karma points
    Nov 25, 2014 @ 13:18
    Morten Skjoldager
    0

    Hi Nicholas, 

    Not very good i would assume ;-) I guess we could find inspiration from that, but since V6 all their editors are (ATM) not compatible with uCommerce. But marketing can be extended with the functionallity to get a list of member groups / member types or if you're authenticated or not. Martin has posted the docs earlier :) 

Please Sign in or register to post replies

Write your reply to:

Draft