Questions tagged [vanity]
Vanity is an Experiment Driven Development framework for Rails.
30
questions
0
votes
0
answers
452
views
Discord Vanity Sniper
const request = require('request');
let token = '';
let server = '';
const url = {
url: `https://discord.com/api/v10/guilds/${server}/vanity-url`,
method: "PATCH",
headers: {
...
0
votes
1
answer
44
views
Multiple Vanity URLs with different pages in different directories
I am trying to setup my .htaccess file to allow for multiple vanity URLs which is fine, but I'm running into issues with them with the pages being in different directories.
First vanity URL is setup ...
1
vote
1
answer
884
views
Vanity url is not working with dispatcher in AEM 6.4
I am trying to setup vanity url in AEM 6.4. Followed and verified the below steps
Installed the VanityURLS-Components
Allowed ‘Read’ permission to /libs/granite/dispatcher/content/vanityUrls for the ...
1
vote
1
answer
88
views
Vanity gem: strange rails generate vanity error
I'm trying to introduce the Vanity gem into a project and everything is happy right up until I try to run the generator. This is the call:
rails generate vanity
And this is the output:
Could not ...
0
votes
0
answers
175
views
rails vanity routing and url shortener
I am using vanity gem for email ab testing
in order to track clicks, I use vanity tutorial :
<%= link_to "see my page HERE", vanity_track_url_for(Vanity.context.vanity_identity, :metric, :...
2
votes
1
answer
8k
views
How to transfer Ethereum from one wallet to another wallet by using web3?
I am in the process of developing a custom ETH wallet, I am able to generate the public/private keys by using vanity eth. After receiving the amount in this wallet, I need to send ETH to another ...
0
votes
0
answers
612
views
Getting a Vanity URL from FB login API
Our application requires the user to login through Facebook’s API. Facebook throws these parameters:
ID
First Name, Last Name
Email ID
APPed URL
Our program was supposed to use the APP URL as input, ...
0
votes
1
answer
75
views
Custom Vanity views being ignored
I'm using the vanity gem to do some AB testing, but my report is all messed up. The auto-generated css and views have a width of 40em which I would like to change. Following the Vanity Documentation
I ...
-1
votes
1
answer
46
views
PHP returning wrong row in mysqli prepared statment
I'm trying to create vanity URL's for my website and as of now there is only one username in the database that can be referenced. My query will return the profile with the username "callmeoddie" no ...
0
votes
1
answer
65
views
Vanity: one experiment per user
I just installed Vanity with redis. I've added multiple experiments on one page. But when a user is visiting the page, he is seeing all the experiments.
How can I make sure that a user will only see ...
0
votes
1
answer
104
views
How to display the Vanity Dashboard in another server?
I am using Vanity in Server A. But for the dashboard, I want to display it on Server B.
Steps Done:
Added gem 'vanity' in the Gemfile
Added vanity.yml (used same database as Server A)
Added vanity ...
0
votes
1
answer
1k
views
Creating dynamic URL's with PHP
)
I am creating a dynamic event creation application and I have run into a problem when creating dynamic webpages for events.
My .htaccess looks like
RewriteEngine on
RewriteCond %{...
0
votes
1
answer
108
views
Can I use oracle_enhanced adapter in vanity gem for AB Testing?
For my production database, I am using oracle_enhanced adapter. Is this supported by vanity gem?
From https://github.com/assaf/vanity, it says: "Vanity supports multiple SQL stores (like MySQL, ...
1
vote
1
answer
177
views
Controlling when participants are added with vanity a/b test
Using vanity to conduct an A/B test. The test is reliant on a modal that is conditionally shown to certain users. The modal contains different incentives based on which side of the test you see.
The ...
0
votes
1
answer
75
views
How do I get Vanity to connect to Elasticache instance
I am using the Vanity gem to do A/B testing and it works great locally.
On our EC2 instances rails refuses to start when Vanity is enabled.
I have been able to recreate the issue locally by ...
0
votes
1
answer
154
views
Vanity (gem) - can I create experiments programmatically via a database table?
I am using Vanity gem and have the basics of experiments & metrics set up fine. I was wondering if anyone has tried to extend it to set up experiments themselves via records in a database.
It ...
0
votes
1
answer
375
views
How can I get the participants of a Vanity experiment?
tl:dr
Is there anyway to get something like Vanity.experiment(:landing).participants_for_option(:a) returning a array of users?
The long story
I'm using the gem Vanity with a Rails 4.2 application ...
0
votes
1
answer
98
views
Adding custom user ID to Vanity's "track!" method
There's a Vanity metric that is tracked by a cronjob, long after the user has left the website.
How should I pass the user ID to the "track!" method to ensure that the conversion is handled properly?
1
vote
2
answers
446
views
Can't Install Vanity A/B Testing on Rails
I'm trying to install Vanity A/B Testing in my Rails App, but I can't even get the example from the GitHub page working. I've generated the vanity models and run the migrations and made the experiment ...
0
votes
1
answer
175
views
How do I use an existing Redis connection in Vanity?
I have a Redis add-on in Heroku that only allows 10 connections. My app already uses Redis with $redis. I have Unicorn with 3 workers and 2 dynos, which is 6 connections. Vanity connects by itself ...
0
votes
1
answer
145
views
How do I generate a report with Vanity?
Whenever I try to generate a report with Vanity, it creates an empty HTML file
>vanity report --output vanity.html
Vanity: loading experiments from ...
Vanity: loading metrics from ...
New report ...
1
vote
1
answer
247
views
Copy line to clipboard in Windows Command Prompt
@echo off
cd C:\Users\"%username%"\Downloads\vanity\gen
@echo off
set /p Address=""
vanitygen -X 0 1%Address%
@echo off
for /f "tokens=2" %%a in ('vanitygen 1%Address% ^| findstr Privkey ') do echo %%...
0
votes
2
answers
255
views
Vanity A/B testing with page caching
I'm using Vanity to do my A/B testing but I also have page caching for the pages the experiment is running on. Because of that, the user will actually see both options as they navigate around the ...
0
votes
1
answer
126
views
Why doesn't vanity create vanity_experiments.rb and similar in app/models
I've create and run my vanity migrations and I can see the resulting tables in schema.rb and the rails console:
ActiveRecord::Base.connection.tables
=> ["schema_migrations", "pages", "users", "...
0
votes
1
answer
76
views
Using Images as Vanity Alternatives
I am trying to use Vanity for rails. my ab_test /rag_price_options.rb file is:
ab_test "Rag price options" do
description "Different options for displaying the rag price"
alternatives ...
0
votes
1
answer
145
views
Rails vanity gem custom metric error: private method `to_time' called
Hi I am trying to setup Vanity gem into a rail 3 application.
I am creating a custom metric to experiment a bit.
So I created it following the suggestions on their website:
metric "Signups" do
...
2
votes
1
answer
543
views
Vanity not using Redis to Go server on Heroku
I've recently deployed some A/B testing experiments using vanity to my heroku instance. However, whenever I access the dashboard i.e. /vanity The following error shows up in the logs
- ActionView::...
0
votes
1
answer
329
views
Vanity not works with MySql
I tried to install Vanity gem for my rails 2.3.5 application and I want to use MySQL for vanity. Everything is working great when I configure it with redis but when I change the config file to use ...
7
votes
3
answers
1k
views
Vanity, Rails 3 and Heroku
I'm trying to get Vanity to play nicely with Heroku and my Rails 3 app. At the moment, it all works fine locally using Pow and a local Redis server, but when I push to Heroku using the RedisToGo add-...
1
vote
1
answer
210
views
testing with Vanity and with MySQL?
I am trying to find a framework that allows me to do AB testing and I have found several: ABingo, Vanity and 7minutes AB. I am liking ABingo and Vanity and starting to like Vanity more but the bad ...