Advertisement
Guest User

Untitled

a guest
Nov 29th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 5.03 KB | None | 0 0
  1. # lululemon
  2.  
  3. page :lululemon_hp, url: "http://shop.lululemon.com/?", title: 'LULULEMON'
  4. page :mens_cat, url: "http://shop.lululemon.com/products/category/men?mnid=mn;USmen", title: 'mens_cat'
  5. page :mens_cat_pants, url: "http://shop.lululemon.com/products/category/men-pants?mnid=mn;USmen;pants", title: 'mens_cat_pants'
  6. page :womens_cat, url: "http://shop.lululemon.com/products/category/women?mnid=mn;USwomen", title: 'womens_cat'
  7. page :womens_cat_tops, url: "http://shop.lululemon.com/products/category/women-tops?mnid=mn;USwomen;tops;tops", title: 'womens_cat_tops'
  8. page :womens_sales, url: "http://shop.lululemon.com/products/category/women-we-made-too-much?mnid=mn;USwomen;we-made-to-much", title: 'womems_sales'
  9. page :womens_sales_prod, url: "http://shop.lululemon.com/products/clothes-accessories/women-we-made-too-much/Fluffin-Awesome-Vest-MD?cc=19182&skuId=3611156&catId=women-we-made-too-much", title: 'mens_sales_prod'
  10. page :mens_sales, url: "http://shop.lululemon.com/products/category/men-we-made-too-much?mnid=mn;USmen;we-made-too-much", title: 'mens_sales'
  11. page :mens_sales_prod, url: "http://shop.lululemon.com/products/clothes-accessories/men-we-made-too-much/Get-Up-Get-Down-Hoodie-MD?cc=1260&skuId=3620638&catId=men-we-made-too-much", title: 'mens_sales_prod'
  12.  
  13.  
  14. unit :add_to_cart,    id: 156213, type: :google
  15. unit :shopping_bag,    id: 131471, type: :google
  16. unit :shipping_submit,    id: 140706, type: :google
  17. unit :search,    id: 131477, type: :google
  18. unit :my_account,    id: 131474, type: :google
  19. unit :newsletter_reg,    id: 131500, type: :google
  20. unit :mens,    id: 131449, type: :google
  21. unit :womens,    id: 130110, type: :google
  22. unit :main_slider,    id: 132174, type: :google
  23. unit :mens_slider,    id: 130109, type: :google
  24. unit :cool_weather,    id: 131487, type: :google
  25. unit :menu2,    id: 131465, type: :google
  26. unit :menu3,    id: 131466, type: :google
  27. unit :CTA_news,    id: 131458, type: :google
  28.  
  29. dynamic_pixel :userseenaproduct
  30. dynamic_pixel :product_purchase
  31.  
  32.  
  33. audience :mens_cloths, id: 16903
  34. audience :prada, id: 24554
  35.  
  36. # first time visitors
  37. 5.times do
  38.   visit :lululemon_hp
  39.   new_user
  40. end
  41.  
  42. # intersted in mens
  43. 9.times do
  44.   visit :lululemon_hp
  45.   visit :mens_cat
  46.   visit :mens_cat_pants
  47.   click :add_to_cart
  48.   click :shopping_bag
  49.   click :mens
  50.   click :mens_slider
  51.   click :menu2
  52.   click :shipping_submit
  53.   dpx :userseenaproduct
  54.   dpx :product_purchase
  55.   new_user
  56. end
  57.  
  58.  
  59. # intersted in womens
  60. 8.times do
  61.   visit :lululemon_hp
  62.   visit :womens_cat
  63.   visit :womens_cat_tops
  64.   click :add_to_cart
  65.   click :shopping_bag
  66.   click :womens
  67.   click :mens_slider
  68.   click :menu2
  69.   click :shipping_submit
  70.   dpx :userseenaproduct
  71.   dpx :product_purchase
  72.   new_user
  73. end
  74.  
  75.  
  76. # newsletter fan
  77. 3.times do
  78.   visit :lululemon_hp
  79.   click :main_slider
  80.   click :CTA_news
  81.   click :menu3
  82.   click :main_slider
  83.   click :main_slider
  84.   new_user
  85. end
  86.  
  87.  
  88. # intersted in womens sales
  89. 8.times do
  90.   visit :lululemon_hp
  91.   visit :womens_sales_prod
  92.   visit :womens_sales
  93.  
  94.   click :add_to_cart
  95.   click :shopping_bag
  96.   click :womens
  97.   click :mens_slider
  98.   click :shipping_submit
  99.   dpx :userseenaproduct
  100.   dpx :product_purchase
  101.   new_user
  102. end
  103.  
  104.  
  105. # intersted in mens sales
  106. 8.times do
  107.   visit :lululemon_hp
  108.   visit :mens_sales
  109.   visit :mens_sales_prod
  110.   click :add_to_cart
  111.   click :shopping_bag
  112.   click :womens
  113.   click :mens_slider
  114.   click :shipping_submit
  115.   dpx :userseenaproduct
  116.   dpx :product_purchase
  117.   new_user
  118. end
  119.  
  120. # search fan
  121. 3.times do
  122.   visit :lululemon_hp
  123.   click :search
  124.   click :my_account
  125.   new_user
  126. end
  127.  
  128. # cool weather fan
  129. 3.times do
  130.   visit :lululemon_hp
  131.   click :cool_weather
  132.   click :add_to_cart
  133.   new_user
  134. end
  135.  
  136.  
  137. aud [:prada, :mens_cloths]
  138.  
  139. # prada fan
  140. 3.times do
  141.   visit :lululemon_hp
  142.   visit :womens_cat
  143.   click :add_to_cart
  144.   new_user
  145. end
  146.  
  147. # mens_cloths fan
  148. 3.times do
  149.   visit :lululemon_hp
  150.   visit :mens_cat
  151.   click :add_to_cart
  152.   new_user
  153. end
  154.  
  155.  
  156.  
  157.  
  158.  
  159. # user agents:
  160. # desktop (windows) + chrome
  161.  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
  162.  
  163. # desktop (mac) + safari
  164. Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A
  165.  
  166. # desktop (windows) + firefox
  167. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1
  168.  
  169. # desktop (windows) + IE
  170. Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))
  171.  
  172.  
  173. # Tablet (windows) + IE
  174. Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Zune 4.0; Tablet PC 2.0; InfoPath.3; .NET4.0C; .NET4.0E)
  175.  
  176. # Mobile (iphone) + chrome
  177. Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_1_1 like Mac OS X; en) AppleWebKit/534.46.0 (KHTML, like Gecko) CriOS/19.0.1084.60 Mobile/9B206 Safari/7534.48.3
  178.  
  179. # Mobile (android) + chrome
  180. Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr; LG-L160L Build/IML74K) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement