track utm_id
This commit is contained in:
parent
577bece75e
commit
5a68b57a76
|
|
@ -57,7 +57,7 @@ class ApplicationController < ActionController::Base
|
||||||
# Backfill with individual UTM cookies if present
|
# Backfill with individual UTM cookies if present
|
||||||
# This supports cases where the frontend (jam-ui/web) set specific cookies
|
# This supports cases where the frontend (jam-ui/web) set specific cookies
|
||||||
# or if the JSON cookie is missing/incomplete.
|
# or if the JSON cookie is missing/incomplete.
|
||||||
%w(utm_source utm_medium utm_campaign utm_term utm_content).each do |key|
|
%w(utm_source utm_medium utm_campaign utm_term utm_content utm_id).each do |key|
|
||||||
if cookies[key].present?
|
if cookies[key].present?
|
||||||
data ||= {}
|
data ||= {}
|
||||||
data[key] = cookies[key]
|
data[key] = cookies[key]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue