Skip to content

Commit

Permalink
Update rnd and appid params
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayFrantsev committed Nov 12, 2021
1 parent ccd6f40 commit e85034a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-native-userreport-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ const fireTrackingPixel = async (trackingCode, consentString) => {

const path = `https://${domain}/hit.gif`;
const params = `?t=${encodeURIComponent(trackingCode)}` // eslint-disable-line prefer-template
+ `&r=${random}`
+ `&rnd=${random}`
+ (!useAnonymousTracking && idfa ? `&d=${encodeURIComponent(idfa)}` : '')
+ (!useAnonymousTracking && idfv ? `&idfv=${encodeURIComponent(idfv)}` : '')
+ `&med=${encodeURIComponent(bundleId)}`
+ `&appid=${encodeURIComponent(bundleId)}`
+ `&os=${encodeURIComponent(systemName)}`
+ `&osv=${encodeURIComponent(systemVersion)}`
+ `&dn=${encodeURIComponent(deviceName)}`
Expand Down

0 comments on commit e85034a

Please sign in to comment.