As the most important part of the Internet traffic ecosystem, WeChat carries the brand exposure and marketing strategies of most startups, including many companies whose products are centered around the WeChat ecosystem. The following understanding of marketing is very one-sided, abstracting it into two strategies: "taking advantage of momentum" and "building momentum". Fission is the most important part of marketing methodology. Whether it is taking advantage of momentum or building momentum, you can use fission to broaden your horizons. Exposure, increase attention. As for realization and transformation, they are not within the scope of this project and will not be discussed in detail.
I have provided fission services to many startups and my own company. I know that the core of fission is not the technical means, but how to cleverly design fission to take advantage of the situation flexibly, and how to use attractive products or ideas to build momentum, so I decided to open source This engine.
Due to security reasons, online demo preview is not provided. You can manually install it to the server for testing.
Please change database.yml to replace the default and production database accounts.
git clone
cdwei
bundle install
rake db:create db:migrate
rails s
Code:
joined_success '想免费包邮送点好东西
一想到初学吉他的时候手割得生疼就想放弃是吧?没关系,尼龙弦了解一下~
活动规则:
1. 邀请29个微信好友扫码即可免费包邮送。
2. 好友扫码接力时你会第一时间在公众号收到通知,同时会告知当前你的好友接力数。
3. 好友扫码接力后如果取消关注,你也会收到相应通知,好友接力数-1。
接力成功后,公众号会自动推送发货表单链接给你,填写收货地址后2天内即发货。
温馨提示:转发分享卡到朋友圈和群会大大提高活动成功率噢。'
relaied_success '你已成功接力#{relaied_user&.nickname}~'
relaied_feedback '你的好友#{user&.nickname}接力了你。当前接力人数:#{relaied_user_supporters.size}'
activity_success '你已成功完成活动:<a href="http://weixin.njupt.org/pages/delivery_le_10?openid=#{relaied_user.openid}&activity_id=#{activity.id}">点此填写收货地址</a> 我们会尽快安排发货。
嫌麻烦?加我微信 "sidekiq",直接报地址也可以的。'
def start
if support_success?
say relaied_success
say_to_relaied relaied_feedback if relaied_user
( say_to_relaied activity_success ) if relaied_user_supporters . size == 29
end
say joined_success
image invite_pic ( "http://static.njupt.org/activity_10.jpg" , [
( image_query qr_url , 170 , 'SouthWest' , 60 , 60 , 0.25 )
] )
end
Scan code experience: