Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getLoadTimeDistribution-sorting-fix #510

Merged
merged 1 commit into from
Aug 12, 2016
Merged

Conversation

CLKeenan
Copy link
Contributor

@CLKeenan CLKeenan commented Aug 9, 2016

Currently, the load time events are passed through to GA as follows:

0-200ms
200-300ms
300-400ms
400-500ms
500-600ms
600-800ms
800-1000ms
1000-1200ms
1200-1500ms
1500-2000ms
2000ms above

Unfortunately, this means they are sorted like this in the GA sheet:

0-200ms
1000-1200ms
1200-1500ms
1500-2000ms
2000ms above
200-300ms
300-400ms
400-500ms
500-600ms
600-800ms
800-1000ms

This makes the Load Time Distribution chart difficult to read. I've fixed this within my own prebid.js file by adding a leading 0 to the 200-1000ms ranges, e.g. '0200-300ms'. It appears as though in the past the 1000ms+ ranges were entered as follows solving for this issue as well:

t2:1000-1200ms

t2:1200-1500ms

t2:1500-2000ms

t2:2000ms above

Currently, the load time events are passed through to GA as follows:

0-200ms
200-300ms
300-400ms
400-500ms
500-600ms
600-800ms
800-1000ms
1000-1200ms
1200-1500ms
1500-2000ms
2000ms above

Unfortunately, this means they are sorted like this in the GA sheet:

0-200ms
1000-1200ms
1200-1500ms
1500-2000ms
2000ms above
200-300ms
300-400ms
400-500ms
500-600ms
600-800ms
800-1000ms

This makes the Load Time Distribution chart difficult to read. I've fixed this within my own prebid.js file by adding a leading 0 to the 200-1000ms ranges, e.g. '0200-300ms'. It appears as though in the past the 1000ms+ ranges were entered as follows solving for this issue as well:

t2:1000-1200ms

t2:1200-1500ms

t2:1500-2000ms

t2:2000ms above
@mkendall07
Copy link
Member

@CLKeenan
Won't this break existing data in GA?

@mkendall07
Copy link
Member

I'm going to merge this, but it might alter existing data so buyer beware.

@mkendall07 mkendall07 merged commit f6ba404 into prebid:master Aug 12, 2016
olafbuitelaar pushed a commit to olafbuitelaar/Prebid.js that referenced this pull request Aug 13, 2016
Currently, the load time events are passed through to GA as follows:

0-200ms
200-300ms
300-400ms
400-500ms
500-600ms
600-800ms
800-1000ms
1000-1200ms
1200-1500ms
1500-2000ms
2000ms above

Unfortunately, this means they are sorted like this in the GA sheet:

0-200ms
1000-1200ms
1200-1500ms
1500-2000ms
2000ms above
200-300ms
300-400ms
400-500ms
500-600ms
600-800ms
800-1000ms

This makes the Load Time Distribution chart difficult to read. I've fixed this within my own prebid.js file by adding a leading 0 to the 200-1000ms ranges, e.g. '0200-300ms'. It appears as though in the past the 1000ms+ ranges were entered as follows solving for this issue as well:

t2:1000-1200ms

t2:1200-1500ms

t2:1500-2000ms

t2:2000ms above
protonate pushed a commit that referenced this pull request Aug 20, 2016
Currently, the load time events are passed through to GA as follows:

0-200ms
200-300ms
300-400ms
400-500ms
500-600ms
600-800ms
800-1000ms
1000-1200ms
1200-1500ms
1500-2000ms
2000ms above

Unfortunately, this means they are sorted like this in the GA sheet:

0-200ms
1000-1200ms
1200-1500ms
1500-2000ms
2000ms above
200-300ms
300-400ms
400-500ms
500-600ms
600-800ms
800-1000ms

This makes the Load Time Distribution chart difficult to read. I've fixed this within my own prebid.js file by adding a leading 0 to the 200-1000ms ranges, e.g. '0200-300ms'. It appears as though in the past the 1000ms+ ranges were entered as follows solving for this issue as well:

t2:1000-1200ms

t2:1200-1500ms

t2:1500-2000ms

t2:2000ms above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants