File tree 1 file changed +4
-2
lines changed
integrations/doubleclick-floodlight/lib
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')
31
31
)
32
32
. tag (
33
33
'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 }} "/>'
35
35
) ) ;
36
36
37
37
/**
@@ -51,7 +51,9 @@ Floodlight.prototype.initialize = function() {
51
51
segmentWriteKey : this . options . segmentWriteKey ,
52
52
// TODO: handle userId being nulls/undefined.
53
53
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 ( ) )
55
57
} ) ;
56
58
}
57
59
this . ready ( ) ;
You can’t perform that action at this time.
0 commit comments