Google Trends icon

Google Trends

Retrieve Google Trends data using @alkalisummer/google-trends-js

Interest Over Time

AI-generated

Overview

This node retrieves Google Trends data specifically for the 'Interest Over Time' operation. It fetches the interest level of a given keyword over time within a specified geographic location. This is useful for analyzing how the popularity of a search term changes over a period, helping marketers, researchers, and analysts understand trends and seasonality in search behavior.

Use Case Examples

  1. Tracking the popularity of a product keyword over the past year in the US to plan marketing campaigns.
  2. Analyzing interest in a political topic over time in a specific country to gauge public attention.

Properties

Name Meaning
Keyword The search keyword for which to retrieve interest over time data.
Geo Location The geographic location code to filter the interest data (e.g., US for United States).

Output

JSON

  • operation - The operation performed, here it will be 'interestOverTime'.
  • data - The interest over time data returned from Google Trends for the specified keyword and location.

Dependencies

  • Uses the @alkalisummer/google-trends-js library to interact with Google Trends API.

Troubleshooting

  • If the keyword is missing or empty, the node will throw an error as the keyword is required.
  • Invalid geographic location codes may result in no data or errors from the Google Trends API.
  • If the Google Trends API returns an error, the node will throw a 'Google Trends API error' with the message from the API response.

Links

Discussion