8000 Dynamically set the variations when split testing emails · Issue #300 · assaf/vanity · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

Dynamically set the variations when split testing emails #300

Open

Description

@hraynaud

Is there a way to dynamically provide the "subject line" variations. My allows users to provide the variations at runtime.

Activity

  1. phillbaker commented on Jun 15, 2016

    @phillbaker
    Collaborator

    @hraynaud can you give an example of what you're looking for? Not quite sure I understand.

    An example of testing email subject lines is here: http://vanity.labnotes.org/email.html#subject.

  2. hraynaud commented on Jun 15, 2016

    @hraynaud
    Author

    @phillbaker Thanks for getting back to me. I believe this issue, #269 is more or less what I'm trying to achieve. My application allows an administrator to create emails on-the-fly( using a normal html form) that goes out to users associated with their account. I'd like to offer admins the ability to A/B test two subject lines when sending out emails.

    As I understand the way vanity works I must hardcode the subject variations

    ab_test "Invite subject" do
        description "Optimize invite subject line"
        alternatives "Join now!", "You're invited to an exclusive event."
        metrics :open
    end
    

    there is no way to do something like ...

    ab_test "Invite subject" do
        description "Optimize invite subject line"
        alternatives AdminUser.find(1).subject_lines #pseudocode returning comma delim string.
        metrics :open
    end
    

    I hope this clarifies what I'm trying to do.

    thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0