Universal Analytics Campaign Cookie Timeout (_utmz)

Gold Contributor
Gold Contributor
Hello everyone, I am looking to override the Google Analytics campaign cookie timeout*. (_utmz) Analytics Documentation says : _gaq.push(['_setCampaignCookieTimeout', 0]); But the function _setCampaignCookieTimeout is not present in the basic mapping of the Google Universal Tag. How do you suggest to have it implemented ? Thanks very much. *The goal is that Direct Load is not automatically attributed to the last interaction channel, but rather is attributed to direct load itself. This makes it more convenient to compute the real revenue of adWords
2 REPLIES 2

Universal Analytics Campaign Cookie Timeout (_utmz)

Moderator
Moderator
Hi Philippe, I've checked the documentation, and I think this was a legacy feature of GA Classic, but is no longer supported in Google Universal Analytics. I would guess that it has been superseded by a setting in Google's user interface, but I don't know for sure. Do you have any documentation on using this feature in Google Universal? Thanks, Craig.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.

Universal Analytics Campaign Cookie Timeout (_utmz)

Moderator
Moderator
For reference, here's the document describing how to set the campaign timeout in UA. https://support.google.com/analytics/answer/2795871 I was correct in my original answer - you now set this property in GA server-side, rather than in the JavaScript code.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.
Public