Professional Documents
Culture Documents
EDesign N630 Process Flow
EDesign N630 Process Flow
Setup:
b. If you want to change the view id of change in the variable. (line 19)
N630_VIEW_ID = '213348516'
PROD 213348516
PPR 213374712
SQE 209614453
DEV 209530435
c. Check whether you have imported the SQL Backup of N630, which can be found in
https://schneider-electric.app.box.com/folder/163402482246
Run Command:
-m Mode = ALL
Note: You Need to Run for an Entire Month. And the process cannot be clubbed for more than one
month. For e.g., 2022-05-01 to 2022-06-30 this is not correct as our code is designed to process only
for one month at a time
Testcases:
Internal
N630 Events:
1. BOM Value
eventLabel and eventValue are the important dimensions for calculation. Eventlabel
contains project id and event value contains BOM Value.
2. BOM Exports
Note: If the users have exported same project with same exports type multiple times, only
single count is considered
3. Project Created
Unique project Id’s are counted for the particular period and taken for calculation.
Note: We are also considering Duplicated projects into account. If a project have been
duplicated it was also counted
4. Switchboard Created
Unique switchboard Id’s are counted for the particular period and taken for calculation.
Note: We are also considering Duplicated Switchboard into account. If a switchboard have
been duplicated it was also counted
5. Sessions
Internal
15 – 30 Min Between 900 and 1800
30 Min Greater than 1800
6. Traffic Sources
"dimensions" : [
{"name": "ga:channelGrouping"}, -> Gives whether the mode is Direct, Organic or Referral
{"name": "ga:year"}
],
"metrics" : [
{"expression": "ga:users"},
{"expression": "ga:newUsers"},
{"expression": "ga:sessions"},
{"expression": "ga:bounceRate"},
{"expression": "ga:avgSessionDuration"},
{"expression": "ga:pageviewsPerSession"}
Traffic Sources calculation is pretty much straight forward. The above Json was a configuration
file for sources with relevant metrics.
7. Users
Active Users:
ClientID was automatically assigned to users by google via cookies. Unique ClientID for each
month was calculated for active users.
Active users – Calculated manually as if we add multiple dimensions in ga query value gets
reduced drastically. So, we are manually calculating the active users using client id.
New Users:
Ga:newUsers parameter was considered for counting new users.
Internal