Skip to content

Commit

Permalink
Update template.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
EivindSavio committed Jan 28, 2023
1 parent 3103287 commit ac0fc4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ let items2 = secondDataSource ? secondDataSource.items : [{item_id:"helper_id"}]
let promo2 = secondDataSource ? secondDataSource.promotion : undefined;
let searchTerm2 = secondDataSource ? secondDataSource.search_term : undefined;

const timestamp = data.attributionTime ? getTimestampMillis() : getEventData('ga_session_id');
const timestamp = data.attributionTime ? getTimestampMillis() : makeInteger(getEventData('ga_session_id'));
const timestamp2 = secondDataSource ? secondDataSource.timestamp : timestamp;
const timestampDiff = secondDataSource && data.attributionTime ? timestamp-secondDataSource.timestamp : timestamp;
const attributionTime = data.attributionTime ? makeInteger(data.attributionTime)*60000 : timestamp2;
Expand Down Expand Up @@ -525,6 +525,6 @@ scenarios: []

___NOTES___

Created on 1/22/2023, 9:51:14 PM
Created on 1/28/2023, 9:03:30 PM


0 comments on commit ac0fc4e

Please sign in to comment.