Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Examining the themes of STD-related Internet searches to increase specificity of disease forecasting using Internet search terms


US surveillance of sexually transmitted diseases (STDs) is often delayed and incomplete which creates missed opportunities to identify and respond to trends in disease. Internet search engine data has the potential to be an efficient, economical and representative enhancement to the established surveillance system. Google Trends allows the download of de-identified search engine data, which has been used to demonstrate the positive and statistically significant association between STD-related search terms and STD rates. In this study, search engine user content was identified by surveying specific exposure groups of individuals (STD clinic patients and university students) aged 18–35. Participants were asked to list the terms they use to search for STD-related information. Google Correlate was used to validate search term content. On average STD clinic participant queries were longer compared to student queries. STD clinic participants were more likely to report using search terms that were related to symptomatology such as describing symptoms of STDs, while students were more likely to report searching for general information. These differences in search terms by subpopulation have implications for STD surveillance in populations at most risk for disease acquisition.


The Internet is an important source of health information, as it is anonymous, low- to-no cost, and can be accessed at any time. Millions of people search online for health- related information each day, most starting their search via a search engine such as Google1. Search terms can be downloaded and analyzed to detect patterns in relation to rates of disease to test the hypothesis that increases in specific search terms may be related to increases in rates of disease. Ginsberg et al. developed the Google-based application Google Flu Trends which can predict influenza 7–10 days earlier than traditional surveillance systems2. From this groundbreaking work published in 2009 came many subsequent studies. Following the popular Google Flu trends model, influenza has been successfully monitored via search engine data and outbreaks have been predicted in not only the United States but also in China, France and Spain3,4. In addition, multiple infectious diseases have been successfully predicted using Google Trends, such as dengue, West Nile Virus, tuberculosis, and more recently HIV3,4,5,6.

There are some limitations in using Internet search volume to forecast disease. First, accurate disease data is needed to train the initial predictive model. Search volume is not a stand-alone disease alert system, but rather an enhancement to established surveillance systems. Second, the algorithms of Internet search engines are adaptive to the individual user and present an unmeasured variable within the model7. Third, characteristics of Internet users who generate disease related searches as well as the content of their searches have not yet been examined. Finally, models have been shown to be sensitive to media hype (e.g., swine flu media coverage). Ideally, search terms used are reflective only of users with suspected or known disease, as opposed to Internet users in general. This is unlikely, and an increase in search volume could indicate a true finding or may indicate the need to further train the model by revising or weighting the search terms included. Investigators have proven that models with multiple search terms outperform models combining query volume into one variable, as those with multiple search terms allow for more nuanced discrimination8,9. For example, when Google Flu Trends erroneously predicted an outbreak of influenza it was based on the contribution of volume of a single search term, which once corrected, the model performed at its peak10.

In our preliminary study, we used publicly available Google Trends data to examine the association between sexually transmitted disease (STD) search terms and rates of disease by US state11. We found a positive and statistically significant correlation between rate of gonorrhea by state and volume of gonorrhea search terms11. Our follow-up study sought to characterize Internet users and STD-related search behavior. We found differences in user characteristics related to STD search prevalence, specifically that demographics were important predictors in a high-risk sample and sexual risk behavior was predictive in a low-risk sample. Here we present the analysis of reported Internet search terms to ascertain whether or not there are similarities or differences in the specific terms individuals use to access STD information. If there are differences in the content of the search terms, by demographics or risk behavior, specificity can be increased in the application of Google Trends for STD surveillance which enhances this modeling technique.


Briefly, subjects were recruited from public STD clinics and from a university event. Recruitment was restricted to subjects aged 18–35 who were English-speaking. Survey completion took between 5 and 10 minutes and participants did not receive compensation. Data collection included demographic, sexual risk behavior and Internet search behavior. The Institutional Review Boards (IRBs) of the University of Illinois at Chicago and the Chicago Department of Public Health approved the study and study procedures were carried out in accordance with the approved protocol. Oral informed consent was obtained from all participants prior to survey completion; a waiver of written informed consent was obtained from both IRBs.

Data was collected via in-person interview and recorded verbatim by trained research assistants and the study PI. Open-ended responses were solicited by the question, “Please tell us what words or phrases you used to find the information.” All data was entered by the PI and later verified by a research assistant. Data files were imported into Dedoose, an online cloud-based mixed methods analysis program that specializes in allowing multiple users to code and display qualitative and quantitative data12. A strength of Dedoose is its ability to integrate mixed methods analysis, utilizing “descriptors” or quantitative data within the program.

Qualitative coding procedures followed grounded theory approach in which the codes applied reflect the content of the data rather than prior hypotheses13. The goal of using grounded theory approach was to highlight and explore similarities and differences within the data.

A multi-stage process of establishing inter-coder reliability and agreement was implemented14. The first rater read all response excerpts and developed a preliminary codebook consisting of 12 codes that emerged from the data. The second rater read all responses and then viewed the preliminary codebook. We used multiple raters and the process of multiple coding to enhance objectivity of analysis15. Multiple coders also allow for discussion and insight from establishing agreement. As the dataset was relatively small, the entire dataset was coded by both raters. After each rater reviewed the dataset the raters met to discuss adding, deleting or modifying codes (deleted 2 codes, added 2, modified 1); raters also discussed and documented their understating of each code. For example, the difference between applying the code “transmission” versus applying the code “prevention” was discussed. The process of concordance allows insights to the data which helps refine the coding frame13,15.

The Dedoose training module was used to randomly select 20 percent of all excerpts for both samples. Both raters coded these excerpts for training purposes and to establish a baseline reliability score prior to coding the entire dataset. In the majority of cases the disagreement involved omission of code and was agreed upon once reviewed. Including the passages where omission occurred the kappa coefficient was 0.81, representing a very good level of agreement; when the omissions were not included the kappa increased to 0.92, an excellent level of agreement reflecting very few disagreements in coding.

Both raters then coded the entire dataset for both samples. The dataset was compared for reliability, any divergence (n = 38) was discussed and reconciled, creating 100% inter-coder agreement. Divergence in general resulted from omission of codes, for example omitting a code in an excerpt that already had a code applied. After all divergences were reconciled the data was analyzed to detect themes and patterns by descriptors (e.g., response patterns in males compared to females). After all codes were analyzed, we selected only those with frequency of occurrence of at least 10% within each sample to compare between descriptors. However, we also present a summary of the codes that applied to a lower proportion of the sample to present the depth and breadth of the dataset fully.

Bivariate analysis was conducted using Pearson’s chi-square and Fisher’s exact test (when cell sizes contained fewer than 5 observations) to detect differences between the presence and absence of codes between samples, as well as the presence or absence of codes within samples by descriptors (e.g., age, sex). In effort to triangulate responses within the samples, we compared the presence or absence of each qualitative assigned code with the distribution of responses to the following statement: “I am going to read a list of reasons people use the Internet to search for information about STDs. In general, did you look for information because…” with the following yes/no categories: a) you wanted to learn more about STDs; b) you thought you might have an STD; c) you wanted to know how to prevent getting an STD; d) you wanted to know how to treat an STD; d) you wanted to find a place to get tested for STDs. Chi-square p-values are reported.

Google Correlate was used to identify correlated search terms in the United States with those search terms identified in the analysis. Google Correlate is a publicly available data tool that is a part of the Google Trends package. It enables users to enter search terms and to find queries with high correlations of the entered terms. Google Correlate is used to build multiple search query models in effort to refine and enhance the specificity of predictive models using Google Trends16.


Overall, 446 subjects were recruited from the public STD clinics and 279 students were recruited from the university. STD clinic patients were 57% male, median age 24, 30% non- Hispanic White, 51% non-Hispanic Black, and 19% Latino/Hispanic of any race. Students were 54% female, median age of 19, 32% Hispanic/Latino, 26% Non- Hispanic Black, 22% Non-Hispanic White, and 18% Asian.

Twelve codes emerged from the dataset in roughly two major content areas: seeking information about STDs using general terms (including prevention, testing and treatment) and accessing information based on symptoms (Table 1). One code “sex education” was only applied to the student excerpts. The term “education” occurred in 11% of the student excerpts and none of the clinic excerpts.

Table 1 Search term codes and quotes from STD clinic and student sample.

The clinic sample length of query ranged from 4 to 230 characters, with a median of 50 characters; the student sample ranged from 4 to 116 characters with a median of 41. The average English language query on Google is estimated at 20 characters or approximately 4–5 words17,18, thus our participants reported longer than average search queries. There were no demographic differences detected in the student sample in regard to length of query, however, in the clinic sample all respondents who reported queries over 150 characters were also Non-Hispanic Black.

Nearly half (47%) of the clinic sample reported using the search term “STD Symptoms” compared to 17% of the student sample (p < 0.01; Fig. 1). In addition, clinic participants were significantly more likely than student participants to report describing STD-related symptoms, or searching using words related to treatment and testing. Student participants were significantly more likely than the clinic sample to report general terms, using “STD” as their only search term (26% vs. 8%; p < 0.01) or searching for general STD information (26% vs. 6%, p < 0.01). The clinic sample was more likely to report seeking information based on symptoms, reflected in codes for describing symptoms and using the phrase ‘‘STD symptoms’’, compared to the student sample, which was more likely to search for general information.

Figure 1
figure 1

Frequency of qualitative code occurrence applied to STD-related search content in STD clinic (N = 446) and student (N = 279) samples.

(*p < 0.05, **p < 0.01).

The top 5 codes that exceeded the 10% threshold are presented in Table 2 for the clinic participants and Table 3 for the student participants. The top codes for the clinic participants were codes that encompassed describing STD symptoms, using STD disease names, using the phrase “STD symptoms”, searching for STD testing information and/or searching for STD treatment. The top codes for the student participants were codes that encompassed searching for STD information, using the term “STD” as the only search term, using the phrase “STD symptoms”, searching for sexual education and/or searching using STD names. Two of the content areas using “STD symptoms” and searching using STD names were found in both the clinic and student samples among the top reported search queries.

Table 2 Top qualitative codes by clinic sample characteristics.
Table 3 Top qualitative codes by student sample characteristics.

In the clinic sample, females were more likely to report describing specific STD-related symptoms than were males (p = 0.04; Table 2). In addition, Non-Hispanic Blacks (22%) were more likely than both Non-Hispanic Whites (11%) and Hispanic/Latinos of any race (12%) to report searching for STD information by describing symptoms (p = 0.01). Those who were Hispanic/Latino were more likely to report using the search term STD symptoms compared to other races (p = 0.04). Those who were 25–29 years old were more likely to use the STD disease name in their search compared to any other age category (p = 0.01). Finally, those who used condoms were more likely than those who did not use condoms to report searching for STD test information (22% vs.14%, p = 0.02).

In the student sample, there were no differences in occurrence of the codes by race or sex (Table 3). Compared to other age groups, those who were older (25–29 years old) were more likely to report they searched using the term “STD Symptoms” (p = 0.01) or that they only used the term “STD” (p = 0.04). In terms of sexual behavior, men who have sex with women (MSW) were the most likely to report searching for STD information by typing “STD symptoms” (p = 0.04), there were no other differences in code occurrence by sexual behavior. Those who reported having a previous STD were more likely to search using a disease name (p = 0.05). Finally, those with zero sex partners in the past 6 months, were more likely to report searching for general STD information (p = 0.02).

Results of Triangulation

Nine of the 11 codes applied to the clinic sample had no statistically significant relationship with the quantitative question and 9 of the 12 codes applied to the student sample had no statistically significant relationship. In the clinic sample, the code encompassing specific sexually transmitted disease name was associated with selecting “yes” to the response reflecting searching the Internet to learn more (p = 0.01). The codes reflecting searches related to transmission and prevention of STDs were associated with selecting “yes” to the response reflecting searching to learn how to treat an STD and how to prevent an STD (p = 0.01 and p = 0.03, respectively). In the student sample, the code for description of specific STD-related symptoms was related to selecting “yes” on the responses related to searching because you think you have a STD and for treatment information (Fisher’s exact p = 0.04; p = 0.02). The code for searches for STD test information was associated with selecting “yes” on the response related to searching to find a place to get tested (p = 0.02) and the code for searching for STD treatment was associated with selecting “yes” on the response related to searching to learn how to treat an STD (p = 0.01).

Results of Google Correlate analysis

The direct term “STD symptoms” was reported by 47% of the clinic sample and 17% of the student sample. When entered into Google Correlate, the term “STD symptoms” generated many STD-related terms with high levels of correlation (0.87–0.94). The top 20 terms that were associated with “STD symptoms” are displayed in Table 4. Five of the twenty terms are not directly related to STDs (“how to talk to women”, “estrogen pills”, “pregnant symptoms” “talk to women” and “first trimester symptoms”). As disease name was often stated as a term used in searching for STD information (19% clinic; 13% student), “Chlamydia” was entered into Google Correlate. Sixteen of the top 20 search terms that were correlated with “STD symptoms” were also highly correlated with “Chlamydia.” Two of the terms that were generated by “STD symptoms” and not directly related to STDs (“how to talk to women”, “first trimester symptoms”) were not correlated with the search term “Chlamydia.” Search terms related to STD test, discharge (“thick discharge” “white discharge” “creamy discharge”), “STD” or STD treatment had few terms correlated that were related to STD information. For example, the term “STD” generated “gonorrhea” as the third highest correlated term at 0.924, however all of the other top 20 terms were unassociated with STDs. In addition, participant-generated search terms related to “sex education” and using the phrase “sexually transmitted infection” did not result in any Google correlated STD-related terms.

Table 4 Google Correlate results for the United States: Top reported search terms generated by STD clinic and student samples.


Using grounded theory approach, two main themes emerged: searching to find general STD information and searching based on symptoms. The themes emerged from the dataset, yet are intuitive based on our two samples. The assumption that a lower risk sample would search for more general information held true in our results, as did a higher risk sample searching based on symptoms of disease. There was an overlap in the highest frequency codes across samples of searching by disease name and using the phrase “STD symptoms”. In the student sample, risk behavior was associated with being more likely to have these codes applied, whereas in the clinic sample there were no associations found by demographic or risk behavior characteristics. This highlights that there is an overlap in the populations; although students as a whole are lower risk, at the individual level there is variation in exposure to STDs as well as search queries. This finding was previously undocumented, and aids in establishing specificity in disease forecasting.

We also noted that the query length median of our sample was double the reported average length of a Google query. This discrepancy may be due to data collection methods; participants were asked to report what they type to find STD information, they were not directly observed. Self-reported behaviors related to Internet search behavior may differ from actual behaviors, introducing measurement error. To our knowledge there has not been any published literature assessing the reported versus actual content of Internet searches. Google has an autocomplete feature which suggests the end of a search based on the first letters and words typed in. Thus, participants may have used more words to describe their search query then they would have if they were actually typing into Google. However, the qualitative codes did not account for query length and therefore our study’s main findings are not impacted by the data collection method. Additionally, we did not assess search process and patterns or type of device used to access information. All of these factors are not only important in understanding how users access STD-information online, but also in refining search terms used for predicting trends in disease.

Our efforts to triangulate the data were inconclusive, likely due to data collection methods and the multiple response format of the quantitative question. Participants were able to select multiple reasons why they searched for STD information and they were asked for their search terms generally. However, when associations were detected, they were between codes and responses that were congruent (i.e., code for STD test correlated with search reason “search for STD test information”). Future studies should consider a multi-stage approach to data collection in which qualitative responses are recorded and coded to inform the quantitative questions, which should then validate the coding scheme and content.

Google Correlate results produced 16 STD-related and strongly correlated search terms for two of the top reported terms (STD symptoms and disease name). The two terms were reported by both samples and validated using Google Correlate as a national sample. These terms could be used to build a multi-query predictive model for STD rates, by US state. Lampos et al. discovered a multi-query model enhanced the performance of the predictive capabilities of the Google Flu Trends model9. Accounting for variation within clusters of terms, weighting specific terms (to control for their overall contribution to the model), as well as supervising the machine learning (e.g., not completely automating the procedure) significantly improves inference9. The combination of search query data and disease data leads to better trained models for prediction9.

Study results should be interpreted in light of some limitations. All information was self-reported, including sexual risk behavior and previous STDdiagnosis. Surveys were confidential and anonymous, in effort to increase the validity of self-reported data.The study was cross-sectional and used convenience sampling, therefore, it is not representative of all Internet users or all persons with STDs. The study did target the population most affected by STDs who are also most likely to use the Internet (individuals ages 18–35). The primary weakness of previous studies analyzing the relationship between search trend data and disease rates is the absence of measuring and describing the content of disease-specific Internet searches. Our study addresses this gap and characterizes Internet users as well as the content of their STD-related searches. The mixed method approach allowed us to examine the content of queries from various angles leading to a more comprehensive understanding of search behavior. In addition, the combination of a high risk and lower risk sample allowed us to generate a rich heterogeneous qualitative data set15.


This study described and analyzed search term query contents by content and sample characteristic. As models for disease monitoring are developed based on search term volume, it is important to understand if there are differences or similarities in search behavior and content in subpopulations that may be at risk for disease acquisition. Results from this study will help inform using Google Trends for STD surveillance by building queries specific to those most at risk of disease. Future studies should incorporate direct observation of search behavior and examine the influence of search patterns and Google’s autosuggest function, as well as testing predictive models using multiple correlated search queries.

Additional Information

How to cite this article: Johnson, A. K. et al. Examining the themes of STI-related Internet searches to increase specificity of disease forecasting using Internet search terms. Sci. Rep. 6, 36503; doi: 10.1038/srep36503 (2016).

Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.


  • Fox, S. Pew Internet: Health 2013 . Available at: Health.aspx. Date of access 07/22/2013. (2013).

  • Ginsberg, J., Mohebbi, M. H., Patel, R. S., Brammer, L., Smolinski, M. S. & Brilliant, L. Detecting influenza epidemics using search engine query data. Nature. 457, 1012–1012, doi: 10.1038/nature07634 (2009).

    CAS  ADS  Article  PubMed  Google Scholar 

  • Gu, H., Chen, B. & Zhu, H. Importance of Internet surveillance in public health emergency control and prevention: Evidence from a digital epidemiologic study during avian influenza A H7N9 outbreaks. Journal of medical Internet research. 16(1), e20, doi: 10.2196/jmir.2911 (2014).

    Article  PubMed  PubMed Central  Google Scholar 

  • Carneiro, H. A. & Mylonakis, E. Google trends: A web-based tool for real-time surveillance of disease outbreaks. Clin Infect Dis . 49(10), 1557–1564, doi: 10.1086/630200 (2009).

    Article  PubMed  Google Scholar 

  • Pelat, C., Turbelin, C., Bar-Hen, A., Flahault, A. & Valleron, A. J. More diseases tracked by using google trends. Emerging Infectious Diseases. 15(8), 1327–1328, doi: 10.3201/eid508.090299 (2009).

    Article  PubMed  PubMed Central  Google Scholar 

  • Chan, E. H., Sahai, V., Conrad, C. & Brownstein, J. S. Using web search query data to monitor dengue epidemics: A new model for neglected tropical disease surveillance. PLoS neglected tropical diseases . 5(5), e1206, doi: 10.1371/journal.pntd.0001206 (2011).

    Article  PubMed  PubMed Central  Google Scholar 

  • Lazer, D., Kennedy, R., King, G. & Vespingnani, A. The parable of Google Flu: Traps in Big Data Analysis. Science . 343(6176), 1203–1205, doi: 10.1126/science.1248506 (2014).

    CAS  ADS  Article  PubMed  Google Scholar 

  • Santillana, M., Zhang, D. W., Althouse, B. M. & Ayers, J. W. What can digital disease detection learn from (an external revision to) Google Flu Trends? American Journal of Preventive Medicine. 47(3), 341–347, doi: 10.1016/j.ampre.2014.05.020 (2014).

    Article  PubMed  Google Scholar 

  • Lampos, V., Miller, A. C., Miller, S. C. & Stefansen, C. Advances in Nowcasting Influenza-Like Illness Rates using Search Query Logs. Scientific Reports 5, doi: 10.1038/srep12760 (2015).

  • Copeland, P., Romano, R., Zhang, T., Hecht, G., Zigmond, D. & Stefansen, C. Google Disease Trends: An update. Date of access: 05/17/2014 (2013).

  • Johnson, A. K. & Mehta, S. D. A comparison of Internet search trends and sexually transmitted infection rates using google trends. Sex Transm Dis. 41(1), 61–63, doi: 10.1097/OLQ.0000000000000065 (2014).

    Article  PubMed  Google Scholar 

  • SocioCultural Research Consultants, LLC. Dedoose: Web application for managing, analyzing, and presenting qualitative and mixed method research data, Los Angeles, CA . (2015).

  • Glaser, B. G. Theoretical sensitivity: Advances in the methodology of grounded theory. Sociology Pr . (1978).

  • Campbell, J. L., Quincy, C., Osserman, J. & Pedersen, O. K. Coding in-depth semistructured interviews problems of unitization and intercoder reliability and agreement. Sociological Methods & Research, 42(3), 294–320, doi: 10.1177/0049124113500475 (2013).

    MathSciNet  Article  Google Scholar 

  • Barbour, R. S. Checklists for improving rigour in qualitative research: a case of the tail wagging the dog? Bmj. 322(7294), 1115–1117, PMCID: OMC1120242 (2001).

    CAS  Article  Google Scholar 

  • Varian, H. R. Big data: New tricks for econometrics. The Journal of Economic Perspectives 28(2), 3–27, doi: 10.1257/jep.28.2.3 (2014).

    Article  Google Scholar 

  • Google search statistics. Available at: (date of access: 05/17/2014) (2014).

  • Kamvar, M. & Shumeet, B. A large scale study of wireless search behavior: Google mobile search. Proceedings of the SIGCHI conference on Human Factors in computing systems . ACM, (2006).

Download references


The authors would like to thank study participants, CDPH STD clinic staff, and research assistants: Kalthum Abdikeir, Deesha Bhaumik, Bailey Buxbaum, De’Juan Ellsworth, and Kristen Rogers for their contributions to the study.

Author information

Authors and Affiliations



All authors were involved in study design and execution. A.K.J. wrote the main manuscript text with revision and input from S.D.M. and T.M. All authors reviewed the manuscript.

Ethics declarations

Competing interests

The authors declare no competing financial interests.

Rights and permissions

This work is licensed under a Creative Commons Attribution 4.0 International License. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in the credit line; if the material is not included under the Creative Commons license, users will need to obtain permission from the license holder to reproduce the material. To view a copy of this license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Johnson, A., Mikati, T. & Mehta, S. Examining the themes of STD-related Internet searches to increase specificity of disease forecasting using Internet search terms. Sci Rep 6, 36503 (2016).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing