Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
use capi2 id foor ads when available
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed May 26, 2017
1 parent 6467e5d commit d972056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/n-ui/ads/js/oAdsConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = function (flags, appName, adOptions) {
url += `?referrer=${encodeURIComponent(referrer.split(/[?#]/)[0])}`;
}
} else if (appName === 'stream-page') {
uuid = document.documentElement.getAttribute('data-concept-idv1') || document.documentElement.getAttribute('data-concept-id');
uuid = document.documentElement.getAttribute('data-concept-id');
url = `${apiUrlRoot}concept/${uuid}`;
}

Expand Down

0 comments on commit d972056

Please sign in to comment.