lib/landable/traffic/tracker.rb in landable-1.13.2 vs lib/landable/traffic/tracker.rb in landable-1.14.0
- old
+ new
@@ -27,32 +27,32 @@
TRACKING_KEYS = TRACKING_PARAMS.values.flatten.freeze
ATTRIBUTION_KEYS = TRACKING_PARAMS.except('click_id').keys
TRACKING_PARAMS_TRANSFORM = {
- 'ad_type' => { 'pe' => 'product_extensions',
- 'pla' => 'product_listing' },
+ 'ad_type' => { 'pe' => 'product_extensions',
+ 'pla' => 'product_listing' },
'bid_match_type' => { 'bb' => 'bidded broad',
'bc' => 'bidded content',
'be' => 'bidded exact',
'bp' => 'bidded phrase' },
- 'device_type' => { 'c' => 'computer',
- 'm' => 'mobile',
- 't' => 'tablet' },
+ 'device_type' => { 'c' => 'computer',
+ 'm' => 'mobile',
+ 't' => 'tablet' },
- 'match_type' => { 'b' => 'broad',
- 'c' => 'content',
- 'e' => 'exact',
- 'p' => 'phrase',
- 'std' => 'standard',
- 'adv' => 'advanced',
- 'cnt' => 'content' },
+ 'match_type' => { 'b' => 'broad',
+ 'c' => 'content',
+ 'e' => 'exact',
+ 'p' => 'phrase',
+ 'std' => 'standard',
+ 'adv' => 'advanced',
+ 'cnt' => 'content' },
- 'network' => { 'g' => 'google_search',
- 's' => 'search_partner',
- 'd' => 'display_network' }
+ 'network' => { 'g' => 'google_search',
+ 's' => 'search_partner',
+ 'd' => 'display_network' }
}.freeze
UUID_REGEX = /\A\h{8}-\h{4}-\h{4}-\h{4}-\h{12}\Z/
UUID_REGEX_V4 = /\A\h{8}-\h{4}-4\h{3}-[89aAbB]\h{3}-\h{12}\Z/