Skip to content

Data Tracking

Configuring YouTube Keyword Search

For Non-authenticated users

1. Go to digi7
2. Open: vi /home/ec2-user/quickmetrix/crawler/seedlist/youtubeseedlist.txt
3. Add the keywords and masterkey in the format at the top.
Keyword1,keyword2…|masterkey
4. Save and exit

For Authenticated users

1. Go to digi7
2. Open: vi /home/ec2-user/quickmetrix/crawler/seedlist/youtubeseedlist_athenticated.txt
3. Add the keywords and masterkey in the format at the top.
Keyword1,keyword2…|masterkey
4. Save and exit

Add Keywords For Enabling Twitter Response Exception

1. Go to Appserver
2. Go to: cd /quickmetrix/appserver
3. Open: vi textfiles/twitter_reply_exceptions.txt
4. Add the keyword(s) in this format: usergroup|prodname|keyword(s)
5. Save and come out of the file.

Enabling Instagram Data

Please check if the entry you are adding already exists
1. Go to digi2 server
2. Open: vi ingest/seedlist/instaseedlist.txt
3. Add the Instagram admin id at the top
4. Save and exit
5. Go to digi7 server
6. Go to: cd quickmetrix/crawler/
7. Open: vi seedlist/instabusinessaccounts.txt
8. Add the Instagram admin id at the top.
9. Save and exit

Enable Playstore

Please check if the entry you are adding already exixts
Step 1 : Go to digi3 server
Step 2 : /home/ec2-user/quickmetrix/crawler/shell_files/run_reviewsgoogleplaystore_Authenticated.sh
Step 3 : Add the usergroup of the given userid in the below order.
SERVICE='androidreviews_by_googleAPI.py usergroup '
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/crawler
python -m complaints.direct.androidreviews_by_googleAPI.py usergroup
fi
Eg:
SERVICE='androidreviews_by_googleAPI.py ring '
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/crawler
python -m complaints.direct.androidreviews_by_googleAPI.py rings
fi

Enable GMB

Please check if the entry you are adding already exists
Step 1 : Go to digi3
Step 2 : Open the below file
vi /home/ec2-user/quickmetrix/crawler/shell_files/check_googlereviews_authenticated.sh
Step 3 : Change the userid prodname and prodtype
SERVICE='crawlgoogleplacereviews_authenticated.py userid'
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/crawler
python -m complaints.direct.crawlgoogleplacereviews_authenticated.py userid “prodname” prodtype
fi
Eg:
SERVICE='crawlgoogleplacereviews_authenticated.py Ring_QuickMetrix '
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/crawler
python -m complaints.direct.crawlgoogleplacereviews_authenticated.py Ring_QuickMetrix "Ring" prod
Fi

Enable Twitter DMs

Please check if the entry you are adding already exists
Step 1 : As we have moved the process to TwitterEvents server we have to open that server and do the below Steps
Goto TwitterEvents server
Step 2 : Open the below file
vi /home/ec2-user/quickmetrix/newui_services/run_twitterevents.sh
Step 3 : Add
SERVICE='processtwitterevents_v3.py userid “prodname” prodtype '
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/
/usr/bin/python -m newui_services.processtwitterevents_v3.py userid “prodname” prodtype &
fi
Example:
SERVICE='processtwitterevents_v3.py Ring_QuickMetrix Ring prod'
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/
/usr/bin/python -m newui_services.processtwitterevents_v3.py Ring_QuickMetrix "Ring" prod &
fi

Adding Instagram competitor data

Please check if the entry you are adding already exixts
1. Goto digi7
2. open vi /home/ec2-user/quickmetrix/crawler/seedlist/instagramcompetitordata.txt
3. Press i to go to insert mode and add the competitor in the form
instaadminid|comp_1_insta_handle, comp_2_insta_handle..,comp_n_insta_handle
4. Press Esc and run command :wq
5. Goto digi2
6. Open
vi ingest/seedlist/instagramcompetitordata.txt
7. Add main userid and instaadminid of main brand
userid| instaadminid
Example:
NipponPaint|17841403772994786
8. Press Esc and run command :wq

App Store Configuration

Please check if the entry you are adding already exists
Step 1 : Go to digi3
Step 2 : vi "/home/ec2-user/quickmetrix/crawler/complaints/direct/itunesappslinkseedlist.txt"
Step 3 : Add the data to the txt file in the below format.
itunes link|masterkey|usergroup|tagname1,tagname2
Note: Cs team will provide the link, we have to take the id from it and add that id in the below format
Eg: https://itunes.apple.com/in/rss/customerreviews/id=1619766077/sortBy=mostRecent/xml|isecicicidirectilearneducation|

Key word Tracking for News

1. Goto digi3
2. cd quickmetrix/crawler
3. Open seedlist/newsgooglecomseedlist.txt
4. Add the links in the format
https://news.google.com/rss/search?q=KEYWORD&hl=en-IN&gl=IN&ceid=IN:en|master key
5. save :wq

This embedded link can't be shown.
This embedded link can't be shown.
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.