Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setGoogleAnalyticsMerchantUUID(merchantId);
- //merchantID is being passed into featureFlags, not merchantUUID
- export const setGoogleAnalyticsMerchantUUID = (featureFlags, merchantUUID) => {
- if (window.ga) {
- window.ga('set', 'dimension1', merchantUUID);
- } else {
- Raven.captureMessage(
- '[warning] Google Analytics was not loaded!', {
- level: 'warning'
- }
- );
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement