File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
integrations/doubleclick-floodlight/lib Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ var Floodlight = (module.exports = integration('DoubleClick Floodlight')
3131 )
3232 . tag (
3333 'doubleclick id' ,
34- '<img src="//cm.g.doubleclick.net/pixel?google_cm&google_nid={{ googleNetworkId }}&segment_write_key={{ segmentWriteKey }}&user_id={{ userId }}&anonymous_id={{ anonymousId }}"/>'
34+ '<img src="//cm.g.doubleclick.net/pixel?google_cm&google_nid={{ googleNetworkId }}&segment_write_key={{ segmentWriteKey }}&user_id={{ userId }}&anonymous_id={{ anonymousId }}&google_hm={{ partnerProvidedId }} "/>'
3535 ) ) ;
3636
3737/**
@@ -51,7 +51,9 @@ Floodlight.prototype.initialize = function() {
5151 segmentWriteKey : this . options . segmentWriteKey ,
5252 // TODO: handle userId being nulls/undefined.
5353 userId : this . analytics . user ( ) . id ( ) ,
54- anonymousId : this . analytics . user ( ) . anonymousId ( )
54+ anonymousId : this . analytics . user ( ) . anonymousId ( ) ,
55+ // Hosted match table id https://developers.google.com/authorized-buyers/rtb/cookie-guide#match-table
56+ partnerProvidedId : btoa ( this . analytics . user ( ) . anonymousId ( ) )
5557 } ) ;
5658 }
5759 this . ready ( ) ;
You can’t perform that action at this time.
0 commit comments