-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add utt to events? #90
Comments
its stupid monkeypatch and wrong idea sry) # frozen_string_literal: true
module Staccato
module Measurement
class Timing
# lookup key for use in Hit#add_measurement
# @return [Symbol]
def self.lookup_key
:timing
end
# Timing measurement options fields
FIELDS = {
time: 'utt'
}.freeze
include Measurable
end
TYPES = Hash[
[
Checkout,
CheckoutOption,
ImpressionList,
Product,
ProductImpression,
Promotion,
Transaction,
Timing,
].map { |k| [k.lookup_key, k] }
].freeze
end
end |
staccato/lib/staccato/timing.rb Line 10 in de2f93b
|
Are you saying staccato/lib/staccato/measurement.rb Line 16 in de2f93b
|
|
The docs say that |
thanks for the explanation) |
hitbuilder says that the syntax is valid if you select the type of event or pageview. |
I see that I can make that … I'm not sure what GA will do with that information. I can't find information in the docs that says if it would just be ignored or what. |
How i can add timing 'utt=' include to transaction or event?
The text was updated successfully, but these errors were encountered: