Skip to content

Commit

Permalink
adding pub and section id grab before user sync is called
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Groh committed Apr 6, 2017
1 parent ba32f46 commit 87ed202
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adapters/trion.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ TrionAdapter = function TrionAdapter() {
if (!window.TRION_INT) {
adloader.loadScript(USER_SYNC_URL, function () {
userTag = window.TRION_INT || {};
userTag.pubId = utils.getBidIdParameter('pubId', bids[0].params);
userTag.sectionId = utils.getBidIdParameter('sectionId', bids[0].params);
if(!userTag.to){
getBids(bids);
}
Expand Down

0 comments on commit 87ed202

Please sign in to comment.