Skip to content

Commit

Permalink
Merged in RVR-1247-additional-data-to-impression-records (pull request
Browse files Browse the repository at this point in the history
…#9)

RVR-1247 Additional data to impression records

Approved-by: Alessandro Di Giovanni <[email protected]>
  • Loading branch information
Kacper Woźniak authored and AlessandroDG committed Nov 2, 2018
1 parent 531fedf commit f70992f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/rivrAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,11 @@ function addClickListener(iframe) {
function impHandler(iframe) {
let timestamp = new Date().toISOString();
let requestId = generateUUID();
let adContainerId = iframe.parentElement.parentElement.id;
let impression = {
timestamp,
'request_id': requestId,
'tag_id': adContainerId
};
if (rivrAnalytics.context.queue) {
rivrAnalytics.context.queue.push(impression);
Expand Down

0 comments on commit f70992f

Please sign in to comment.