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
|
||||
# This supports cases where the frontend (jam-ui/web) set specific cookies
|
||||
# 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?
|
||||
data ||= {}
|
||||
data[key] = cookies[key]
|
||||
|
|
|
|||
Loading…
Reference in New Issue