algolia 3.27.0 → 3.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/do-not-edit-this-repository.yml +1 -1
- data/.github/workflows/release.yml +2 -2
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +11 -11
- data/lib/algolia/api/abtesting_client.rb +13 -13
- data/lib/algolia/api/abtesting_v3_client.rb +13 -13
- data/lib/algolia/api/analytics_client.rb +69 -69
- data/lib/algolia/api/composition_client.rb +17 -17
- data/lib/algolia/api/ingestion_client.rb +15 -15
- data/lib/algolia/api/insights_client.rb +13 -13
- data/lib/algolia/api/monitoring_client.rb +12 -12
- data/lib/algolia/api/personalization_client.rb +13 -13
- data/lib/algolia/api/query_suggestions_client.rb +13 -13
- data/lib/algolia/api/recommend_client.rb +13 -13
- data/lib/algolia/api/search_client.rb +41 -41
- data/lib/algolia/models/abtesting/ab_test.rb +0 -2
- data/lib/algolia/models/abtesting/ab_test_configuration.rb +0 -2
- data/lib/algolia/models/abtesting/ab_test_response.rb +1 -3
- data/lib/algolia/models/abtesting/ab_tests_variant.rb +0 -2
- data/lib/algolia/models/abtesting/ab_tests_variant_search_params.rb +0 -2
- data/lib/algolia/models/abtesting/add_ab_tests_request.rb +0 -2
- data/lib/algolia/models/abtesting/add_ab_tests_variant.rb +0 -1
- data/lib/algolia/models/abtesting/currency.rb +0 -2
- data/lib/algolia/models/abtesting/empty_search.rb +0 -2
- data/lib/algolia/models/abtesting/empty_search_filter.rb +0 -2
- data/lib/algolia/models/abtesting/error_base.rb +0 -2
- data/lib/algolia/models/abtesting/estimate_ab_test_request.rb +0 -2
- data/lib/algolia/models/abtesting/estimate_ab_test_response.rb +0 -2
- data/lib/algolia/models/abtesting/estimate_configuration.rb +0 -2
- data/lib/algolia/models/abtesting/filter_effects.rb +0 -2
- data/lib/algolia/models/abtesting/list_ab_tests_response.rb +0 -2
- data/lib/algolia/models/abtesting/minimum_detectable_effect.rb +0 -2
- data/lib/algolia/models/abtesting/outliers.rb +0 -2
- data/lib/algolia/models/abtesting/outliers_filter.rb +0 -2
- data/lib/algolia/models/abtesting/schedule_ab_test_response.rb +0 -2
- data/lib/algolia/models/abtesting/schedule_ab_tests_request.rb +0 -2
- data/lib/algolia/models/abtesting/variant.rb +0 -2
- data/lib/algolia/models/abtesting-v3/ab_test.rb +0 -2
- data/lib/algolia/models/abtesting-v3/ab_test_configuration.rb +0 -2
- data/lib/algolia/models/abtesting-v3/ab_test_response.rb +1 -3
- data/lib/algolia/models/abtesting-v3/ab_tests_variant.rb +0 -2
- data/lib/algolia/models/abtesting-v3/ab_tests_variant_search_params.rb +0 -2
- data/lib/algolia/models/abtesting-v3/add_ab_tests_request.rb +0 -2
- data/lib/algolia/models/abtesting-v3/add_ab_tests_variant.rb +0 -1
- data/lib/algolia/models/abtesting-v3/create_metric.rb +0 -2
- data/lib/algolia/models/abtesting-v3/empty_search_filter.rb +0 -2
- data/lib/algolia/models/abtesting-v3/error_base.rb +0 -2
- data/lib/algolia/models/abtesting-v3/estimate_ab_test_request.rb +0 -2
- data/lib/algolia/models/abtesting-v3/estimate_ab_test_response.rb +0 -2
- data/lib/algolia/models/abtesting-v3/estimate_configuration.rb +0 -2
- data/lib/algolia/models/abtesting-v3/filter_effects.rb +0 -2
- data/lib/algolia/models/abtesting-v3/list_ab_tests_response.rb +0 -2
- data/lib/algolia/models/abtesting-v3/metric_date.rb +0 -2
- data/lib/algolia/models/abtesting-v3/metric_metadata.rb +0 -2
- data/lib/algolia/models/abtesting-v3/metric_result.rb +0 -2
- data/lib/algolia/models/abtesting-v3/metrics_filter.rb +0 -2
- data/lib/algolia/models/abtesting-v3/minimum_detectable_effect.rb +0 -2
- data/lib/algolia/models/abtesting-v3/outliers_filter.rb +0 -2
- data/lib/algolia/models/abtesting-v3/schedule_ab_test_response.rb +0 -2
- data/lib/algolia/models/abtesting-v3/schedule_ab_tests_request.rb +0 -2
- data/lib/algolia/models/abtesting-v3/timeseries.rb +0 -2
- data/lib/algolia/models/abtesting-v3/timeseries_variant.rb +0 -2
- data/lib/algolia/models/abtesting-v3/variant.rb +0 -2
- data/lib/algolia/models/abtesting-v3/variant_metadata.rb +0 -2
- data/lib/algolia/models/analytics/click_position.rb +0 -2
- data/lib/algolia/models/analytics/currency_code.rb +0 -2
- data/lib/algolia/models/analytics/daily_add_to_cart_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_average_clicks.rb +0 -2
- data/lib/algolia/models/analytics/daily_click_through_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_conversion_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_no_click_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_no_results_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_purchase_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_revenue.rb +0 -2
- data/lib/algolia/models/analytics/daily_searches.rb +0 -2
- data/lib/algolia/models/analytics/daily_searches_no_clicks.rb +0 -2
- data/lib/algolia/models/analytics/daily_searches_no_results.rb +0 -2
- data/lib/algolia/models/analytics/daily_users.rb +0 -2
- data/lib/algolia/models/analytics/error_base.rb +0 -2
- data/lib/algolia/models/analytics/get_add_to_cart_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_average_click_position_response.rb +0 -2
- data/lib/algolia/models/analytics/get_click_positions_response.rb +0 -2
- data/lib/algolia/models/analytics/get_click_through_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_conversion_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_no_click_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_no_results_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_purchase_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_revenue.rb +0 -2
- data/lib/algolia/models/analytics/get_searches_count_response.rb +0 -2
- data/lib/algolia/models/analytics/get_searches_no_clicks_response.rb +0 -2
- data/lib/algolia/models/analytics/get_searches_no_results_response.rb +0 -2
- data/lib/algolia/models/analytics/get_status_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_countries_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filter_attribute.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filter_attributes_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filter_for_attribute.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filter_for_attribute_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filters_no_results_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filters_no_results_value.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filters_no_results_values.rb +0 -2
- data/lib/algolia/models/analytics/get_top_hits_response.rb +0 -1
- data/lib/algolia/models/analytics/get_top_searches_response.rb +0 -1
- data/lib/algolia/models/analytics/get_users_count_response.rb +0 -2
- data/lib/algolia/models/analytics/top_country.rb +0 -2
- data/lib/algolia/models/analytics/top_hit.rb +0 -2
- data/lib/algolia/models/analytics/top_hit_with_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_hit_with_revenue_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_hits_response.rb +0 -2
- data/lib/algolia/models/analytics/top_hits_response_with_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_hits_response_with_revenue_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_search.rb +0 -2
- data/lib/algolia/models/analytics/top_search_with_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_search_with_revenue_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_searches_response.rb +0 -2
- data/lib/algolia/models/analytics/top_searches_response_with_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_searches_response_with_revenue_analytics.rb +0 -2
- data/lib/algolia/models/composition/around_precision.rb +0 -1
- data/lib/algolia/models/composition/around_radius.rb +0 -1
- data/lib/algolia/models/composition/banner.rb +0 -2
- data/lib/algolia/models/composition/banner_image.rb +0 -2
- data/lib/algolia/models/composition/banner_image_url.rb +0 -2
- data/lib/algolia/models/composition/banner_link.rb +0 -2
- data/lib/algolia/models/composition/base_injection_query_parameters.rb +6 -8
- data/lib/algolia/models/composition/batch_composition_action.rb +0 -1
- data/lib/algolia/models/composition/batch_params.rb +0 -2
- data/lib/algolia/models/composition/composition.rb +0 -2
- data/lib/algolia/models/composition/composition_behavior.rb +0 -2
- data/lib/algolia/models/composition/composition_id_ranking_info.rb +0 -2
- data/lib/algolia/models/composition/composition_rule.rb +0 -2
- data/lib/algolia/models/composition/composition_rule_consequence.rb +0 -2
- data/lib/algolia/models/composition/composition_rules_batch_params.rb +0 -2
- data/lib/algolia/models/composition/composition_run_applied_rules.rb +0 -2
- data/lib/algolia/models/composition/composition_run_search_response.rb +0 -2
- data/lib/algolia/models/composition/composition_source.rb +0 -2
- data/lib/algolia/models/composition/composition_source_search.rb +0 -2
- data/lib/algolia/models/composition/compositions_search_response.rb +0 -2
- data/lib/algolia/models/composition/condition.rb +0 -2
- data/lib/algolia/models/composition/dedup_positioning.rb +34 -0
- data/lib/algolia/models/composition/deduplication.rb +209 -0
- data/lib/algolia/models/composition/delete_composition_action.rb +0 -2
- data/lib/algolia/models/composition/delete_composition_rule_action.rb +0 -2
- data/lib/algolia/models/composition/distinct.rb +0 -1
- data/lib/algolia/models/composition/error_base.rb +0 -2
- data/lib/algolia/models/composition/exhaustive.rb +0 -2
- data/lib/algolia/models/composition/external.rb +0 -2
- data/lib/algolia/models/composition/external_injected_item.rb +0 -2
- data/lib/algolia/models/composition/external_injection.rb +0 -2
- data/lib/algolia/models/composition/external_source.rb +0 -2
- data/lib/algolia/models/composition/facet_filters.rb +0 -1
- data/lib/algolia/models/composition/facet_hits.rb +0 -2
- data/lib/algolia/models/composition/facet_ordering.rb +0 -2
- data/lib/algolia/models/composition/facet_stats.rb +0 -2
- data/lib/algolia/models/composition/facets.rb +0 -2
- data/lib/algolia/models/composition/get_task_response.rb +0 -2
- data/lib/algolia/models/composition/highlight_result.rb +0 -1
- data/lib/algolia/models/composition/highlight_result_option.rb +0 -2
- data/lib/algolia/models/composition/hit.rb +0 -2
- data/lib/algolia/models/composition/hit_metadata.rb +0 -2
- data/lib/algolia/models/composition/hit_ranking_info.rb +0 -2
- data/lib/algolia/models/composition/ignore_plurals.rb +0 -1
- data/lib/algolia/models/composition/injected_item.rb +0 -2
- data/lib/algolia/models/composition/injected_item_hits_metadata.rb +0 -2
- data/lib/algolia/models/composition/injected_item_metadata.rb +0 -2
- data/lib/algolia/models/composition/injected_item_source.rb +0 -1
- data/lib/algolia/models/composition/injection.rb +13 -6
- data/lib/algolia/models/composition/inside_bounding_box.rb +0 -1
- data/lib/algolia/models/composition/list_compositions_response.rb +0 -2
- data/lib/algolia/models/composition/main.rb +0 -2
- data/lib/algolia/models/composition/main_injection_query_parameters.rb +7 -9
- data/lib/algolia/models/composition/matched_geo_location.rb +0 -2
- data/lib/algolia/models/composition/multiple_batch_request.rb +0 -2
- data/lib/algolia/models/composition/multiple_batch_response.rb +0 -2
- data/lib/algolia/models/composition/numeric_filters.rb +0 -1
- data/lib/algolia/models/composition/optional_filters.rb +1 -2
- data/lib/algolia/models/composition/optional_words.rb +0 -1
- data/lib/algolia/models/composition/params.rb +6 -8
- data/lib/algolia/models/composition/personalization.rb +0 -2
- data/lib/algolia/models/composition/range.rb +0 -2
- data/lib/algolia/models/composition/redirect.rb +1 -3
- data/lib/algolia/models/composition/redirect_rule_index_data.rb +0 -2
- data/lib/algolia/models/composition/redirect_rule_index_metadata.rb +0 -2
- data/lib/algolia/models/composition/redirect_url.rb +0 -2
- data/lib/algolia/models/composition/remove_stop_words.rb +0 -1
- data/lib/algolia/models/composition/rendering_content.rb +0 -2
- data/lib/algolia/models/composition/request_body.rb +0 -2
- data/lib/algolia/models/composition/results_composition_info_response.rb +0 -2
- data/lib/algolia/models/composition/results_injected_item_applied_rules_info_response.rb +0 -2
- data/lib/algolia/models/composition/results_injected_item_info_response.rb +0 -2
- data/lib/algolia/models/composition/rules_batch_composition_action.rb +0 -1
- data/lib/algolia/models/composition/rules_multiple_batch_request.rb +0 -2
- data/lib/algolia/models/composition/rules_multiple_batch_response.rb +1 -3
- data/lib/algolia/models/composition/search.rb +0 -2
- data/lib/algolia/models/composition/search_composition_rules_params.rb +2 -4
- data/lib/algolia/models/composition/search_composition_rules_response.rb +0 -2
- data/lib/algolia/models/composition/search_for_facet_values_params.rb +0 -2
- data/lib/algolia/models/composition/search_for_facet_values_request.rb +0 -2
- data/lib/algolia/models/composition/search_for_facet_values_response.rb +0 -2
- data/lib/algolia/models/composition/search_for_facet_values_results.rb +0 -2
- data/lib/algolia/models/composition/search_response.rb +0 -2
- data/lib/algolia/models/composition/search_results_item.rb +1 -3
- data/lib/algolia/models/composition/search_source.rb +0 -2
- data/lib/algolia/models/composition/snippet_result.rb +0 -1
- data/lib/algolia/models/composition/snippet_result_option.rb +0 -2
- data/lib/algolia/models/composition/task_id_response.rb +1 -3
- data/lib/algolia/models/composition/time_range.rb +0 -2
- data/lib/algolia/models/composition/typo_tolerance.rb +1 -2
- data/lib/algolia/models/composition/value.rb +0 -2
- data/lib/algolia/models/composition/widgets.rb +0 -2
- data/lib/algolia/models/ingestion/auth_algolia.rb +0 -2
- data/lib/algolia/models/ingestion/auth_algolia_insights.rb +0 -2
- data/lib/algolia/models/ingestion/auth_algolia_insights_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_algolia_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_api_key.rb +0 -2
- data/lib/algolia/models/ingestion/auth_api_key_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_basic.rb +0 -2
- data/lib/algolia/models/ingestion/auth_basic_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_google_service_account.rb +0 -2
- data/lib/algolia/models/ingestion/auth_google_service_account_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_input.rb +0 -1
- data/lib/algolia/models/ingestion/auth_input_partial.rb +0 -1
- data/lib/algolia/models/ingestion/auth_o_auth.rb +0 -2
- data/lib/algolia/models/ingestion/auth_o_auth_partial.rb +0 -2
- data/lib/algolia/models/ingestion/authentication.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_create.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_search.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_update.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/big_commerce_channel.rb +0 -2
- data/lib/algolia/models/ingestion/big_commerce_metafield.rb +0 -2
- data/lib/algolia/models/ingestion/commercetools_custom_fields.rb +0 -2
- data/lib/algolia/models/ingestion/delete_response.rb +0 -2
- data/lib/algolia/models/ingestion/destination.rb +0 -2
- data/lib/algolia/models/ingestion/destination_create.rb +0 -2
- data/lib/algolia/models/ingestion/destination_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/destination_input.rb +0 -2
- data/lib/algolia/models/ingestion/destination_search.rb +0 -2
- data/lib/algolia/models/ingestion/destination_update.rb +0 -2
- data/lib/algolia/models/ingestion/destination_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/docker_streams.rb +0 -2
- data/lib/algolia/models/ingestion/docker_streams_input.rb +0 -2
- data/lib/algolia/models/ingestion/email_notifications.rb +0 -2
- data/lib/algolia/models/ingestion/error_base.rb +0 -2
- data/lib/algolia/models/ingestion/event.rb +0 -2
- data/lib/algolia/models/ingestion/list_authentications_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_destinations_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_events_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_sources_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_tasks_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_tasks_response_v1.rb +0 -2
- data/lib/algolia/models/ingestion/list_transformations_response.rb +0 -2
- data/lib/algolia/models/ingestion/mapping_field_directive.rb +0 -2
- data/lib/algolia/models/ingestion/mapping_input.rb +0 -2
- data/lib/algolia/models/ingestion/mapping_kit_action.rb +0 -2
- data/lib/algolia/models/ingestion/notifications.rb +0 -2
- data/lib/algolia/models/ingestion/on_demand_trigger.rb +0 -2
- data/lib/algolia/models/ingestion/on_demand_trigger_input.rb +0 -2
- data/lib/algolia/models/ingestion/pagination.rb +0 -2
- data/lib/algolia/models/ingestion/platform_with_none.rb +0 -1
- data/lib/algolia/models/ingestion/policies.rb +0 -2
- data/lib/algolia/models/ingestion/push_task_payload.rb +0 -2
- data/lib/algolia/models/ingestion/push_task_records.rb +0 -2
- data/lib/algolia/models/ingestion/run.rb +0 -2
- data/lib/algolia/models/ingestion/run_list_response.rb +0 -2
- data/lib/algolia/models/ingestion/run_progress.rb +0 -2
- data/lib/algolia/models/ingestion/run_response.rb +0 -2
- data/lib/algolia/models/ingestion/run_source_payload.rb +0 -2
- data/lib/algolia/models/ingestion/run_source_response.rb +0 -2
- data/lib/algolia/models/ingestion/run_task_payload.rb +0 -2
- data/lib/algolia/models/ingestion/schedule_trigger.rb +0 -2
- data/lib/algolia/models/ingestion/schedule_trigger_input.rb +0 -2
- data/lib/algolia/models/ingestion/shopify_input.rb +0 -2
- data/lib/algolia/models/ingestion/shopify_market.rb +0 -2
- data/lib/algolia/models/ingestion/shopify_metafield.rb +0 -2
- data/lib/algolia/models/ingestion/source.rb +0 -2
- data/lib/algolia/models/ingestion/source_big_commerce.rb +0 -2
- data/lib/algolia/models/ingestion/source_big_query.rb +0 -2
- data/lib/algolia/models/ingestion/source_commercetools.rb +0 -2
- data/lib/algolia/models/ingestion/source_create.rb +0 -2
- data/lib/algolia/models/ingestion/source_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/source_csv.rb +0 -2
- data/lib/algolia/models/ingestion/source_docker.rb +0 -2
- data/lib/algolia/models/ingestion/source_ga4_big_query_export.rb +0 -2
- data/lib/algolia/models/ingestion/source_input.rb +0 -1
- data/lib/algolia/models/ingestion/source_json.rb +0 -2
- data/lib/algolia/models/ingestion/source_search.rb +0 -2
- data/lib/algolia/models/ingestion/source_shopify.rb +0 -2
- data/lib/algolia/models/ingestion/source_update.rb +0 -2
- data/lib/algolia/models/ingestion/source_update_commercetools.rb +0 -2
- data/lib/algolia/models/ingestion/source_update_docker.rb +0 -2
- data/lib/algolia/models/ingestion/source_update_input.rb +0 -1
- data/lib/algolia/models/ingestion/source_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/source_update_shopify.rb +0 -2
- data/lib/algolia/models/ingestion/streaming_input.rb +0 -2
- data/lib/algolia/models/ingestion/streaming_trigger.rb +0 -2
- data/lib/algolia/models/ingestion/subscription_trigger.rb +0 -2
- data/lib/algolia/models/ingestion/task.rb +0 -2
- data/lib/algolia/models/ingestion/task_create.rb +0 -2
- data/lib/algolia/models/ingestion/task_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/task_create_trigger.rb +0 -1
- data/lib/algolia/models/ingestion/task_create_v1.rb +0 -2
- data/lib/algolia/models/ingestion/task_input.rb +0 -1
- data/lib/algolia/models/ingestion/task_replace.rb +0 -2
- data/lib/algolia/models/ingestion/task_search.rb +0 -2
- data/lib/algolia/models/ingestion/task_update.rb +0 -2
- data/lib/algolia/models/ingestion/task_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/task_update_v1.rb +0 -2
- data/lib/algolia/models/ingestion/task_v1.rb +0 -2
- data/lib/algolia/models/ingestion/transformation.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_code.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_create.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_error.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_input.rb +0 -1
- data/lib/algolia/models/ingestion/transformation_no_code.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_search.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_try.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_try_response.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/trigger.rb +0 -1
- data/lib/algolia/models/ingestion/trigger_update_input.rb +0 -2
- data/lib/algolia/models/ingestion/watch_response.rb +0 -2
- data/lib/algolia/models/ingestion/window.rb +0 -2
- data/lib/algolia/models/insights/added_to_cart_object_ids.rb +2 -4
- data/lib/algolia/models/insights/added_to_cart_object_ids_after_search.rb +2 -4
- data/lib/algolia/models/insights/clicked_filters.rb +2 -4
- data/lib/algolia/models/insights/clicked_object_ids.rb +2 -4
- data/lib/algolia/models/insights/clicked_object_ids_after_search.rb +2 -4
- data/lib/algolia/models/insights/converted_filters.rb +2 -4
- data/lib/algolia/models/insights/converted_object_ids.rb +2 -4
- data/lib/algolia/models/insights/converted_object_ids_after_search.rb +2 -4
- data/lib/algolia/models/insights/discount.rb +0 -1
- data/lib/algolia/models/insights/error_base.rb +0 -2
- data/lib/algolia/models/insights/events_items.rb +0 -1
- data/lib/algolia/models/insights/events_response.rb +0 -2
- data/lib/algolia/models/insights/insights_events.rb +0 -2
- data/lib/algolia/models/insights/object_data.rb +0 -2
- data/lib/algolia/models/insights/object_data_after_search.rb +0 -2
- data/lib/algolia/models/insights/price.rb +0 -1
- data/lib/algolia/models/insights/purchased_object_ids.rb +2 -4
- data/lib/algolia/models/insights/purchased_object_ids_after_search.rb +2 -4
- data/lib/algolia/models/insights/value.rb +0 -1
- data/lib/algolia/models/insights/viewed_filters.rb +2 -4
- data/lib/algolia/models/insights/viewed_object_ids.rb +2 -4
- data/lib/algolia/models/monitoring/error_base.rb +0 -2
- data/lib/algolia/models/monitoring/incident.rb +0 -2
- data/lib/algolia/models/monitoring/incident_entry.rb +0 -2
- data/lib/algolia/models/monitoring/incidents_response.rb +0 -2
- data/lib/algolia/models/monitoring/indexing_metric.rb +0 -2
- data/lib/algolia/models/monitoring/indexing_time_response.rb +0 -2
- data/lib/algolia/models/monitoring/infrastructure_response.rb +0 -2
- data/lib/algolia/models/monitoring/inventory_response.rb +0 -2
- data/lib/algolia/models/monitoring/latency_metric.rb +0 -2
- data/lib/algolia/models/monitoring/latency_response.rb +0 -2
- data/lib/algolia/models/monitoring/metrics.rb +0 -2
- data/lib/algolia/models/monitoring/probes_metric.rb +0 -2
- data/lib/algolia/models/monitoring/server.rb +0 -2
- data/lib/algolia/models/monitoring/status_response.rb +0 -2
- data/lib/algolia/models/monitoring/time_entry.rb +0 -2
- data/lib/algolia/models/personalization/delete_user_profile_response.rb +1 -3
- data/lib/algolia/models/personalization/error_base.rb +0 -2
- data/lib/algolia/models/personalization/events_scoring.rb +0 -2
- data/lib/algolia/models/personalization/facets_scoring.rb +0 -2
- data/lib/algolia/models/personalization/get_user_token_response.rb +1 -3
- data/lib/algolia/models/personalization/personalization_strategy_params.rb +0 -2
- data/lib/algolia/models/personalization/set_personalization_strategy_response.rb +0 -2
- data/lib/algolia/models/query-suggestions/base_response.rb +0 -2
- data/lib/algolia/models/query-suggestions/config_status.rb +0 -2
- data/lib/algolia/models/query-suggestions/configuration.rb +0 -2
- data/lib/algolia/models/query-suggestions/configuration_response.rb +0 -2
- data/lib/algolia/models/query-suggestions/configuration_with_index.rb +0 -2
- data/lib/algolia/models/query-suggestions/error_base.rb +0 -2
- data/lib/algolia/models/query-suggestions/facet.rb +0 -2
- data/lib/algolia/models/query-suggestions/languages.rb +0 -1
- data/lib/algolia/models/query-suggestions/log_file.rb +0 -2
- data/lib/algolia/models/query-suggestions/source_index.rb +0 -2
- data/lib/algolia/models/recommend/around_precision.rb +0 -1
- data/lib/algolia/models/recommend/around_radius.rb +0 -1
- data/lib/algolia/models/recommend/auto_facet_filter.rb +0 -2
- data/lib/algolia/models/recommend/banner.rb +0 -2
- data/lib/algolia/models/recommend/banner_image.rb +0 -2
- data/lib/algolia/models/recommend/banner_image_url.rb +0 -2
- data/lib/algolia/models/recommend/banner_link.rb +0 -2
- data/lib/algolia/models/recommend/bought_together_query.rb +0 -2
- data/lib/algolia/models/recommend/condition.rb +1 -3
- data/lib/algolia/models/recommend/consequence.rb +0 -2
- data/lib/algolia/models/recommend/deleted_at_response.rb +1 -3
- data/lib/algolia/models/recommend/distinct.rb +0 -1
- data/lib/algolia/models/recommend/error_base.rb +0 -2
- data/lib/algolia/models/recommend/exhaustive.rb +0 -2
- data/lib/algolia/models/recommend/facet_filters.rb +0 -1
- data/lib/algolia/models/recommend/facet_ordering.rb +0 -2
- data/lib/algolia/models/recommend/facet_stats.rb +0 -2
- data/lib/algolia/models/recommend/fallback_params.rb +19 -21
- data/lib/algolia/models/recommend/get_recommend_task_response.rb +0 -2
- data/lib/algolia/models/recommend/get_recommendations_params.rb +0 -2
- data/lib/algolia/models/recommend/get_recommendations_response.rb +0 -2
- data/lib/algolia/models/recommend/hide_consequence_object.rb +0 -2
- data/lib/algolia/models/recommend/highlight_result.rb +0 -1
- data/lib/algolia/models/recommend/highlight_result_option.rb +0 -2
- data/lib/algolia/models/recommend/ignore_plurals.rb +0 -1
- data/lib/algolia/models/recommend/index_settings_facets.rb +0 -2
- data/lib/algolia/models/recommend/inside_bounding_box.rb +0 -1
- data/lib/algolia/models/recommend/looking_similar_query.rb +0 -2
- data/lib/algolia/models/recommend/matched_geo_location.rb +0 -2
- data/lib/algolia/models/recommend/numeric_filters.rb +0 -1
- data/lib/algolia/models/recommend/optional_filters.rb +1 -2
- data/lib/algolia/models/recommend/optional_words.rb +0 -1
- data/lib/algolia/models/recommend/params_consequence.rb +1 -3
- data/lib/algolia/models/recommend/personalization.rb +0 -2
- data/lib/algolia/models/recommend/promote_consequence_object.rb +0 -2
- data/lib/algolia/models/recommend/range.rb +0 -2
- data/lib/algolia/models/recommend/ranking_info.rb +0 -2
- data/lib/algolia/models/recommend/re_ranking_apply_filter.rb +1 -2
- data/lib/algolia/models/recommend/recommend_hit.rb +0 -2
- data/lib/algolia/models/recommend/recommend_rule.rb +0 -2
- data/lib/algolia/models/recommend/recommend_search_params.rb +19 -21
- data/lib/algolia/models/recommend/recommend_updated_at_response.rb +1 -3
- data/lib/algolia/models/recommend/recommendations_hit.rb +0 -1
- data/lib/algolia/models/recommend/recommendations_request.rb +0 -1
- data/lib/algolia/models/recommend/recommendations_results.rb +1 -3
- data/lib/algolia/models/recommend/redirect.rb +1 -3
- data/lib/algolia/models/recommend/redirect_rule_index_data.rb +0 -2
- data/lib/algolia/models/recommend/redirect_rule_index_metadata.rb +0 -2
- data/lib/algolia/models/recommend/redirect_url.rb +0 -2
- data/lib/algolia/models/recommend/related_query.rb +0 -2
- data/lib/algolia/models/recommend/remove_stop_words.rb +0 -1
- data/lib/algolia/models/recommend/rendering_content.rb +0 -2
- data/lib/algolia/models/recommend/rule_metadata.rb +0 -2
- data/lib/algolia/models/recommend/search_recommend_rules_params.rb +2 -4
- data/lib/algolia/models/recommend/search_recommend_rules_response.rb +0 -2
- data/lib/algolia/models/recommend/snippet_result.rb +0 -1
- data/lib/algolia/models/recommend/snippet_result_option.rb +0 -2
- data/lib/algolia/models/recommend/tag_filters.rb +0 -1
- data/lib/algolia/models/recommend/time_range.rb +0 -2
- data/lib/algolia/models/recommend/trending_facet_hit.rb +0 -2
- data/lib/algolia/models/recommend/trending_facets_query.rb +0 -2
- data/lib/algolia/models/recommend/trending_items_query.rb +0 -2
- data/lib/algolia/models/recommend/typo_tolerance.rb +1 -2
- data/lib/algolia/models/recommend/value.rb +0 -2
- data/lib/algolia/models/recommend/widgets.rb +0 -2
- data/lib/algolia/models/search/add_api_key_response.rb +0 -2
- data/lib/algolia/models/search/api_key.rb +1 -3
- data/lib/algolia/models/search/around_precision.rb +0 -1
- data/lib/algolia/models/search/around_radius.rb +0 -1
- data/lib/algolia/models/search/assign_user_id_params.rb +0 -2
- data/lib/algolia/models/search/attribute_to_update.rb +0 -1
- data/lib/algolia/models/search/automatic_facet_filter.rb +0 -2
- data/lib/algolia/models/search/automatic_facet_filters.rb +0 -1
- data/lib/algolia/models/search/banner.rb +0 -2
- data/lib/algolia/models/search/banner_image.rb +0 -2
- data/lib/algolia/models/search/banner_image_url.rb +0 -2
- data/lib/algolia/models/search/banner_link.rb +0 -2
- data/lib/algolia/models/search/batch_assign_user_ids_params.rb +0 -2
- data/lib/algolia/models/search/batch_dictionary_entries_params.rb +0 -2
- data/lib/algolia/models/search/batch_dictionary_entries_request.rb +0 -2
- data/lib/algolia/models/search/batch_params.rb +0 -2
- data/lib/algolia/models/search/batch_request.rb +0 -2
- data/lib/algolia/models/search/batch_response.rb +1 -3
- data/lib/algolia/models/search/batch_write_params.rb +0 -2
- data/lib/algolia/models/search/browse_params.rb +0 -1
- data/lib/algolia/models/search/browse_params_object.rb +10 -12
- data/lib/algolia/models/search/browse_response.rb +1 -3
- data/lib/algolia/models/search/built_in_operation.rb +0 -2
- data/lib/algolia/models/search/built_in_operation_value.rb +0 -1
- data/lib/algolia/models/search/condition.rb +0 -2
- data/lib/algolia/models/search/consequence.rb +0 -2
- data/lib/algolia/models/search/consequence_hide.rb +0 -2
- data/lib/algolia/models/search/consequence_params.rb +10 -12
- data/lib/algolia/models/search/consequence_query.rb +0 -1
- data/lib/algolia/models/search/consequence_query_object.rb +0 -2
- data/lib/algolia/models/search/created_at_response.rb +0 -2
- data/lib/algolia/models/search/delete_api_key_response.rb +0 -2
- data/lib/algolia/models/search/delete_by_params.rb +1 -3
- data/lib/algolia/models/search/delete_source_response.rb +0 -2
- data/lib/algolia/models/search/deleted_at_response.rb +1 -3
- data/lib/algolia/models/search/dictionary_entry.rb +0 -2
- data/lib/algolia/models/search/dictionary_language.rb +0 -2
- data/lib/algolia/models/search/dictionary_settings_params.rb +0 -2
- data/lib/algolia/models/search/distinct.rb +0 -1
- data/lib/algolia/models/search/edit.rb +0 -2
- data/lib/algolia/models/search/error_base.rb +0 -2
- data/lib/algolia/models/search/event.rb +0 -2
- data/lib/algolia/models/search/exhaustive.rb +0 -2
- data/lib/algolia/models/search/facet_filters.rb +0 -1
- data/lib/algolia/models/search/facet_hits.rb +0 -2
- data/lib/algolia/models/search/facet_ordering.rb +0 -2
- data/lib/algolia/models/search/facet_stats.rb +0 -2
- data/lib/algolia/models/search/facets.rb +0 -2
- data/lib/algolia/models/search/fetched_index.rb +0 -2
- data/lib/algolia/models/search/get_api_key_response.rb +1 -3
- data/lib/algolia/models/search/get_dictionary_settings_response.rb +0 -2
- data/lib/algolia/models/search/get_logs_response.rb +0 -2
- data/lib/algolia/models/search/get_objects_params.rb +0 -2
- data/lib/algolia/models/search/get_objects_request.rb +0 -2
- data/lib/algolia/models/search/get_objects_response.rb +0 -2
- data/lib/algolia/models/search/get_task_response.rb +0 -2
- data/lib/algolia/models/search/get_top_user_ids_response.rb +0 -2
- data/lib/algolia/models/search/has_pending_mappings_response.rb +0 -2
- data/lib/algolia/models/search/highlight_result.rb +0 -1
- data/lib/algolia/models/search/highlight_result_option.rb +0 -2
- data/lib/algolia/models/search/hit.rb +0 -2
- data/lib/algolia/models/search/ignore_plurals.rb +0 -1
- data/lib/algolia/models/search/index_settings.rb +15 -17
- data/lib/algolia/models/search/inside_bounding_box.rb +0 -1
- data/lib/algolia/models/search/languages.rb +0 -2
- data/lib/algolia/models/search/list_api_keys_response.rb +0 -2
- data/lib/algolia/models/search/list_clusters_response.rb +0 -2
- data/lib/algolia/models/search/list_indices_response.rb +0 -2
- data/lib/algolia/models/search/list_user_ids_response.rb +0 -2
- data/lib/algolia/models/search/log.rb +0 -2
- data/lib/algolia/models/search/log_query.rb +0 -2
- data/lib/algolia/models/search/matched_geo_location.rb +0 -2
- data/lib/algolia/models/search/multiple_batch_request.rb +0 -2
- data/lib/algolia/models/search/multiple_batch_response.rb +0 -2
- data/lib/algolia/models/search/numeric_filters.rb +0 -1
- data/lib/algolia/models/search/operation_index_params.rb +0 -2
- data/lib/algolia/models/search/optional_filters.rb +1 -2
- data/lib/algolia/models/search/optional_words.rb +0 -1
- data/lib/algolia/models/search/personalization.rb +0 -2
- data/lib/algolia/models/search/promote.rb +0 -1
- data/lib/algolia/models/search/promote_object_id.rb +0 -2
- data/lib/algolia/models/search/promote_object_ids.rb +0 -2
- data/lib/algolia/models/search/range.rb +0 -2
- data/lib/algolia/models/search/ranking_info.rb +0 -2
- data/lib/algolia/models/search/re_ranking_apply_filter.rb +1 -2
- data/lib/algolia/models/search/redirect.rb +1 -3
- data/lib/algolia/models/search/redirect_rule_index_data.rb +0 -2
- data/lib/algolia/models/search/redirect_rule_index_metadata.rb +0 -2
- data/lib/algolia/models/search/redirect_url.rb +0 -2
- data/lib/algolia/models/search/remove_stop_words.rb +0 -1
- data/lib/algolia/models/search/remove_user_id_response.rb +0 -2
- data/lib/algolia/models/search/rendering_content.rb +0 -2
- data/lib/algolia/models/search/replace_all_objects_response.rb +0 -2
- data/lib/algolia/models/search/replace_all_objects_with_transformation_response.rb +0 -2
- data/lib/algolia/models/search/replace_source_response.rb +0 -2
- data/lib/algolia/models/search/rule.rb +0 -2
- data/lib/algolia/models/search/save_object_response.rb +1 -3
- data/lib/algolia/models/search/save_synonym_response.rb +1 -3
- data/lib/algolia/models/search/search_dictionary_entries_params.rb +0 -2
- data/lib/algolia/models/search/search_dictionary_entries_response.rb +1 -3
- data/lib/algolia/models/search/search_for_facet_values_request.rb +0 -2
- data/lib/algolia/models/search/search_for_facet_values_response.rb +0 -2
- data/lib/algolia/models/search/search_for_facets.rb +10 -12
- data/lib/algolia/models/search/search_for_hits.rb +10 -12
- data/lib/algolia/models/search/search_method_params.rb +0 -2
- data/lib/algolia/models/search/search_params.rb +0 -1
- data/lib/algolia/models/search/search_params_object.rb +10 -12
- data/lib/algolia/models/search/search_params_string.rb +0 -2
- data/lib/algolia/models/search/search_query.rb +0 -1
- data/lib/algolia/models/search/search_response.rb +1 -3
- data/lib/algolia/models/search/search_responses.rb +0 -2
- data/lib/algolia/models/search/search_result.rb +0 -1
- data/lib/algolia/models/search/search_rules_params.rb +2 -4
- data/lib/algolia/models/search/search_rules_response.rb +0 -2
- data/lib/algolia/models/search/search_synonyms_params.rb +0 -2
- data/lib/algolia/models/search/search_synonyms_response.rb +0 -2
- data/lib/algolia/models/search/search_user_ids_params.rb +0 -3
- data/lib/algolia/models/search/search_user_ids_response.rb +1 -3
- data/lib/algolia/models/search/secured_api_key_restrictions.rb +0 -2
- data/lib/algolia/models/search/semantic_search.rb +0 -2
- data/lib/algolia/models/search/settings_response.rb +15 -17
- data/lib/algolia/models/search/snippet_result.rb +0 -1
- data/lib/algolia/models/search/snippet_result_option.rb +0 -2
- data/lib/algolia/models/search/source.rb +0 -2
- data/lib/algolia/models/search/standard_entries.rb +1 -3
- data/lib/algolia/models/search/synonym_hit.rb +4 -6
- data/lib/algolia/models/search/tag_filters.rb +0 -1
- data/lib/algolia/models/search/time_range.rb +0 -2
- data/lib/algolia/models/search/typo_tolerance.rb +1 -2
- data/lib/algolia/models/search/update_api_key_response.rb +0 -2
- data/lib/algolia/models/search/updated_at_response.rb +1 -3
- data/lib/algolia/models/search/updated_at_with_object_id_response.rb +1 -3
- data/lib/algolia/models/search/user_highlight_result.rb +0 -2
- data/lib/algolia/models/search/user_hit.rb +0 -2
- data/lib/algolia/models/search/user_id.rb +0 -2
- data/lib/algolia/models/search/value.rb +0 -2
- data/lib/algolia/models/search/watch_response.rb +0 -2
- data/lib/algolia/models/search/widgets.rb +0 -2
- data/lib/algolia/version.rb +1 -1
- metadata +3 -1
@@ -11,6 +11,18 @@ module Algolia
|
|
11
11
|
raise "`app_id` is missing." if config.app_id.nil? || config.app_id == ""
|
12
12
|
raise "`api_key` is missing." if config.api_key.nil? || config.api_key == ""
|
13
13
|
|
14
|
+
if config.connect_timeout.nil?
|
15
|
+
config.connect_timeout = 2000
|
16
|
+
end
|
17
|
+
|
18
|
+
if config.read_timeout.nil?
|
19
|
+
config.read_timeout = 5000
|
20
|
+
end
|
21
|
+
|
22
|
+
if config.write_timeout.nil?
|
23
|
+
config.write_timeout = 30000
|
24
|
+
end
|
25
|
+
|
14
26
|
@api_client = Algolia::ApiClient.new(config)
|
15
27
|
end
|
16
28
|
|
@@ -34,22 +46,10 @@ module Algolia
|
|
34
46
|
)
|
35
47
|
|
36
48
|
config = Algolia::Configuration.new(app_id, api_key, hosts, "Analytics", opts)
|
37
|
-
|
49
|
+
new(config)
|
38
50
|
end
|
39
51
|
|
40
52
|
def self.create_with_config(config)
|
41
|
-
if config.connect_timeout.nil?
|
42
|
-
config.connect_timeout = 2000
|
43
|
-
end
|
44
|
-
|
45
|
-
if config.read_timeout.nil?
|
46
|
-
config.read_timeout = 5000
|
47
|
-
end
|
48
|
-
|
49
|
-
if config.write_timeout.nil?
|
50
|
-
config.write_timeout = 30000
|
51
|
-
end
|
52
|
-
|
53
53
|
new(config)
|
54
54
|
end
|
55
55
|
|
@@ -245,14 +245,14 @@ module Algolia
|
|
245
245
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
246
246
|
end
|
247
247
|
|
248
|
-
# Retrieves the add-to-cart rate for all your searches with at least one add-to-cart event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of add-to-cart conversion events divided by the number of tracked searches. A search is tracked if it returns a queryID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null add-to-cart rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the add-to-cart rate is null. - **0** mean there _were_ queries but no [add-to-cart events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
248
|
+
# Retrieves the add-to-cart rate for all your searches with at least one add-to-cart event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of add-to-cart conversion events divided by the number of tracked searches. A search is tracked if it returns a queryID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null add-to-cart rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the add-to-cart rate is null. - **0** mean there _were_ queries but no [add-to-cart events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
249
249
|
#
|
250
250
|
# Required API Key ACLs:
|
251
251
|
# - analytics
|
252
252
|
# @param index [String] Index name. (required)
|
253
253
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
254
254
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
255
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
255
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
256
256
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
257
257
|
# @return [Http::Response] the response
|
258
258
|
def get_add_to_cart_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -284,14 +284,14 @@ module Algolia
|
|
284
284
|
@api_client.call_api(:GET, path, new_options)
|
285
285
|
end
|
286
286
|
|
287
|
-
# Retrieves the add-to-cart rate for all your searches with at least one add-to-cart event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of add-to-cart conversion events divided by the number of tracked searches. A search is tracked if it returns a queryID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null add-to-cart rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the add-to-cart rate is null. - **0** mean there _were_ queries but no [add-to-cart events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
287
|
+
# Retrieves the add-to-cart rate for all your searches with at least one add-to-cart event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of add-to-cart conversion events divided by the number of tracked searches. A search is tracked if it returns a queryID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null add-to-cart rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the add-to-cart rate is null. - **0** mean there _were_ queries but no [add-to-cart events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
288
288
|
#
|
289
289
|
# Required API Key ACLs:
|
290
290
|
# - analytics
|
291
291
|
# @param index [String] Index name. (required)
|
292
292
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
293
293
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
294
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
294
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
295
295
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
296
296
|
# @return [GetAddToCartRateResponse]
|
297
297
|
def get_add_to_cart_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -302,14 +302,14 @@ module Algolia
|
|
302
302
|
)
|
303
303
|
end
|
304
304
|
|
305
|
-
# Retrieves the average click position of your search results, including a daily breakdown. The average click position is the average of all clicked search result positions. For example, if users only ever click on the first result for any search, the average click position is 1. By default, the analyzed period includes the last eight days including the current day. An average of `null` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
305
|
+
# Retrieves the average click position of your search results, including a daily breakdown. The average click position is the average of all clicked search result positions. For example, if users only ever click on the first result for any search, the average click position is 1. By default, the analyzed period includes the last eight days including the current day. An average of `null` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) for the queries. The average is `null` until Algolia receives at least one click event.
|
306
306
|
#
|
307
307
|
# Required API Key ACLs:
|
308
308
|
# - analytics
|
309
309
|
# @param index [String] Index name. (required)
|
310
310
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
311
311
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
312
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
312
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
313
313
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
314
314
|
# @return [Http::Response] the response
|
315
315
|
def get_average_click_position_with_http_info(
|
@@ -347,14 +347,14 @@ module Algolia
|
|
347
347
|
@api_client.call_api(:GET, path, new_options)
|
348
348
|
end
|
349
349
|
|
350
|
-
# Retrieves the average click position of your search results, including a daily breakdown. The average click position is the average of all clicked search result positions. For example, if users only ever click on the first result for any search, the average click position is 1. By default, the analyzed period includes the last eight days including the current day. An average of `null` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
350
|
+
# Retrieves the average click position of your search results, including a daily breakdown. The average click position is the average of all clicked search result positions. For example, if users only ever click on the first result for any search, the average click position is 1. By default, the analyzed period includes the last eight days including the current day. An average of `null` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) for the queries. The average is `null` until Algolia receives at least one click event.
|
351
351
|
#
|
352
352
|
# Required API Key ACLs:
|
353
353
|
# - analytics
|
354
354
|
# @param index [String] Index name. (required)
|
355
355
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
356
356
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
357
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
357
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
358
358
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
359
359
|
# @return [GetAverageClickPositionResponse]
|
360
360
|
def get_average_click_position(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -365,14 +365,14 @@ module Algolia
|
|
365
365
|
)
|
366
366
|
end
|
367
367
|
|
368
|
-
# Retrieves the positions in the search results and their associated number of clicks. This lets you check how many clicks the first, second, or tenth search results receive. An average of `0` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
368
|
+
# Retrieves the positions in the search results and their associated number of clicks. This lets you check how many clicks the first, second, or tenth search results receive. An average of `0` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) for the queries.
|
369
369
|
#
|
370
370
|
# Required API Key ACLs:
|
371
371
|
# - analytics
|
372
372
|
# @param index [String] Index name. (required)
|
373
373
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
374
374
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
375
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
375
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
376
376
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
377
377
|
# @return [Http::Response] the response
|
378
378
|
def get_click_positions_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -404,14 +404,14 @@ module Algolia
|
|
404
404
|
@api_client.call_api(:GET, path, new_options)
|
405
405
|
end
|
406
406
|
|
407
|
-
# Retrieves the positions in the search results and their associated number of clicks. This lets you check how many clicks the first, second, or tenth search results receive. An average of `0` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
407
|
+
# Retrieves the positions in the search results and their associated number of clicks. This lets you check how many clicks the first, second, or tenth search results receive. An average of `0` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) for the queries.
|
408
408
|
#
|
409
409
|
# Required API Key ACLs:
|
410
410
|
# - analytics
|
411
411
|
# @param index [String] Index name. (required)
|
412
412
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
413
413
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
414
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
414
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
415
415
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
416
416
|
# @return [GetClickPositionsResponse]
|
417
417
|
def get_click_positions(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -422,14 +422,14 @@ module Algolia
|
|
422
422
|
)
|
423
423
|
end
|
424
424
|
|
425
|
-
# Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CTR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CTR is null. - **0** mean there _were_ queries but no [click events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
425
|
+
# Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CTR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CTR is null. - **0** mean there _were_ queries but no [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
426
426
|
#
|
427
427
|
# Required API Key ACLs:
|
428
428
|
# - analytics
|
429
429
|
# @param index [String] Index name. (required)
|
430
430
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
431
431
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
432
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
432
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
433
433
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
434
434
|
# @return [Http::Response] the response
|
435
435
|
def get_click_through_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -461,14 +461,14 @@ module Algolia
|
|
461
461
|
@api_client.call_api(:GET, path, new_options)
|
462
462
|
end
|
463
463
|
|
464
|
-
# Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CTR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CTR is null. - **0** mean there _were_ queries but no [click events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
464
|
+
# Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CTR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CTR is null. - **0** mean there _were_ queries but no [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
465
465
|
#
|
466
466
|
# Required API Key ACLs:
|
467
467
|
# - analytics
|
468
468
|
# @param index [String] Index name. (required)
|
469
469
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
470
470
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
471
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
471
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
472
472
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
473
473
|
# @return [GetClickThroughRateResponse]
|
474
474
|
def get_click_through_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -479,14 +479,14 @@ module Algolia
|
|
479
479
|
)
|
480
480
|
end
|
481
481
|
|
482
|
-
# Retrieves the conversion rate (CR) for all your searches with at least one conversion event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CR is null. - **0** mean there _were_ queries but no [conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
482
|
+
# Retrieves the conversion rate (CR) for all your searches with at least one conversion event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CR is null. - **0** mean there _were_ queries but no [conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
483
483
|
#
|
484
484
|
# Required API Key ACLs:
|
485
485
|
# - analytics
|
486
486
|
# @param index [String] Index name. (required)
|
487
487
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
488
488
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
489
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
489
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
490
490
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
491
491
|
# @return [Http::Response] the response
|
492
492
|
def get_conversion_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -518,14 +518,14 @@ module Algolia
|
|
518
518
|
@api_client.call_api(:GET, path, new_options)
|
519
519
|
end
|
520
520
|
|
521
|
-
# Retrieves the conversion rate (CR) for all your searches with at least one conversion event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CR is null. - **0** mean there _were_ queries but no [conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
521
|
+
# Retrieves the conversion rate (CR) for all your searches with at least one conversion event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CR is null. - **0** mean there _were_ queries but no [conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
522
522
|
#
|
523
523
|
# Required API Key ACLs:
|
524
524
|
# - analytics
|
525
525
|
# @param index [String] Index name. (required)
|
526
526
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
527
527
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
528
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
528
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
529
529
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
530
530
|
# @return [GetConversionRateResponse]
|
531
531
|
def get_conversion_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -543,7 +543,7 @@ module Algolia
|
|
543
543
|
# @param index [String] Index name. (required)
|
544
544
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
545
545
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
546
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
546
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
547
547
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
548
548
|
# @return [Http::Response] the response
|
549
549
|
def get_no_click_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -582,7 +582,7 @@ module Algolia
|
|
582
582
|
# @param index [String] Index name. (required)
|
583
583
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
584
584
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
585
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
585
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
586
586
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
587
587
|
# @return [GetNoClickRateResponse]
|
588
588
|
def get_no_click_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -597,7 +597,7 @@ module Algolia
|
|
597
597
|
# @param index [String] Index name. (required)
|
598
598
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
599
599
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
600
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
600
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
601
601
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
602
602
|
# @return [Http::Response] the response
|
603
603
|
def get_no_results_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -636,7 +636,7 @@ module Algolia
|
|
636
636
|
# @param index [String] Index name. (required)
|
637
637
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
638
638
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
639
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
639
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
640
640
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
641
641
|
# @return [GetNoResultsRateResponse]
|
642
642
|
def get_no_results_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -647,14 +647,14 @@ module Algolia
|
|
647
647
|
)
|
648
648
|
end
|
649
649
|
|
650
|
-
# Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of purchase conversion events divided by the number of tracked searches. A search is tracked if it returns a query ID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the purchase rate is null. - **0** mean there _were_ queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
650
|
+
# Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of purchase conversion events divided by the number of tracked searches. A search is tracked if it returns a query ID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the purchase rate is null. - **0** mean there _were_ queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
651
651
|
#
|
652
652
|
# Required API Key ACLs:
|
653
653
|
# - analytics
|
654
654
|
# @param index [String] Index name. (required)
|
655
655
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
656
656
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
657
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
657
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
658
658
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
659
659
|
# @return [Http::Response] the response
|
660
660
|
def get_purchase_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -686,14 +686,14 @@ module Algolia
|
|
686
686
|
@api_client.call_api(:GET, path, new_options)
|
687
687
|
end
|
688
688
|
|
689
|
-
# Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of purchase conversion events divided by the number of tracked searches. A search is tracked if it returns a query ID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the purchase rate is null. - **0** mean there _were_ queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
689
|
+
# Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of purchase conversion events divided by the number of tracked searches. A search is tracked if it returns a query ID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the purchase rate is null. - **0** mean there _were_ queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
690
690
|
#
|
691
691
|
# Required API Key ACLs:
|
692
692
|
# - analytics
|
693
693
|
# @param index [String] Index name. (required)
|
694
694
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
695
695
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
696
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
696
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
697
697
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
698
698
|
# @return [GetPurchaseRateResponse]
|
699
699
|
def get_purchase_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -711,7 +711,7 @@ module Algolia
|
|
711
711
|
# @param index [String] Index name. (required)
|
712
712
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
713
713
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
714
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
714
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
715
715
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
716
716
|
# @return [Http::Response] the response
|
717
717
|
def get_revenue_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -750,7 +750,7 @@ module Algolia
|
|
750
750
|
# @param index [String] Index name. (required)
|
751
751
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
752
752
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
753
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
753
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
754
754
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
755
755
|
# @return [GetRevenue]
|
756
756
|
def get_revenue(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -765,7 +765,7 @@ module Algolia
|
|
765
765
|
# @param index [String] Index name. (required)
|
766
766
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
767
767
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
768
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
768
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
769
769
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
770
770
|
# @return [Http::Response] the response
|
771
771
|
def get_searches_count_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -804,7 +804,7 @@ module Algolia
|
|
804
804
|
# @param index [String] Index name. (required)
|
805
805
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
806
806
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
807
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
807
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
808
808
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
809
809
|
# @return [GetSearchesCountResponse]
|
810
810
|
def get_searches_count(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -824,7 +824,7 @@ module Algolia
|
|
824
824
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
825
825
|
# @param limit [Integer] Number of items to return. (default to 10)
|
826
826
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
827
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
827
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
828
828
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
829
829
|
# @return [Http::Response] the response
|
830
830
|
def get_searches_no_clicks_with_http_info(
|
@@ -875,7 +875,7 @@ module Algolia
|
|
875
875
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
876
876
|
# @param limit [Integer] Number of items to return. (default to 10)
|
877
877
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
878
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
878
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
879
879
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
880
880
|
# @return [GetSearchesNoClicksResponse]
|
881
881
|
def get_searches_no_clicks(
|
@@ -911,7 +911,7 @@ module Algolia
|
|
911
911
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
912
912
|
# @param limit [Integer] Number of items to return. (default to 10)
|
913
913
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
914
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
914
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
915
915
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
916
916
|
# @return [Http::Response] the response
|
917
917
|
def get_searches_no_results_with_http_info(
|
@@ -962,7 +962,7 @@ module Algolia
|
|
962
962
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
963
963
|
# @param limit [Integer] Number of items to return. (default to 10)
|
964
964
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
965
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
965
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
966
966
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
967
967
|
# @return [GetSearchesNoResultsResponse]
|
968
968
|
def get_searches_no_results(
|
@@ -1043,7 +1043,7 @@ module Algolia
|
|
1043
1043
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1044
1044
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1045
1045
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1046
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1046
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1047
1047
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1048
1048
|
# @return [Http::Response] the response
|
1049
1049
|
def get_top_countries_with_http_info(
|
@@ -1094,7 +1094,7 @@ module Algolia
|
|
1094
1094
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1095
1095
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1096
1096
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1097
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1097
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1098
1098
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1099
1099
|
# @return [GetTopCountriesResponse]
|
1100
1100
|
def get_top_countries(
|
@@ -1123,7 +1123,7 @@ module Algolia
|
|
1123
1123
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1124
1124
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1125
1125
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1126
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1126
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1127
1127
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1128
1128
|
# @return [Http::Response] the response
|
1129
1129
|
def get_top_filter_attributes_with_http_info(
|
@@ -1177,7 +1177,7 @@ module Algolia
|
|
1177
1177
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1178
1178
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1179
1179
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1180
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1180
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1181
1181
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1182
1182
|
# @return [GetTopFilterAttributesResponse]
|
1183
1183
|
def get_top_filter_attributes(
|
@@ -1217,7 +1217,7 @@ module Algolia
|
|
1217
1217
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1218
1218
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1219
1219
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1220
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1220
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1221
1221
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1222
1222
|
# @return [Http::Response] the response
|
1223
1223
|
def get_top_filter_for_attribute_with_http_info(
|
@@ -1277,7 +1277,7 @@ module Algolia
|
|
1277
1277
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1278
1278
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1279
1279
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1280
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1280
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1281
1281
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1282
1282
|
# @return [GetTopFilterForAttributeResponse]
|
1283
1283
|
def get_top_filter_for_attribute(
|
@@ -1308,7 +1308,7 @@ module Algolia
|
|
1308
1308
|
)
|
1309
1309
|
end
|
1310
1310
|
|
1311
|
-
# Retrieves the 1,000 most frequently used filters for a search that didn't return any results. To get the most frequent searches without results, use the [Retrieve searches without results](
|
1311
|
+
# Retrieves the 1,000 most frequently used filters for a search that didn't return any results. To get the most frequent searches without results, use the [Retrieve searches without results](https://www.algolia.com/doc/rest-api/analytics/get-searches-no-results) operation.
|
1312
1312
|
#
|
1313
1313
|
# Required API Key ACLs:
|
1314
1314
|
# - analytics
|
@@ -1318,7 +1318,7 @@ module Algolia
|
|
1318
1318
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1319
1319
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1320
1320
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1321
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1321
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1322
1322
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1323
1323
|
# @return [Http::Response] the response
|
1324
1324
|
def get_top_filters_no_results_with_http_info(
|
@@ -1362,7 +1362,7 @@ module Algolia
|
|
1362
1362
|
@api_client.call_api(:GET, path, new_options)
|
1363
1363
|
end
|
1364
1364
|
|
1365
|
-
# Retrieves the 1,000 most frequently used filters for a search that didn't return any results. To get the most frequent searches without results, use the [Retrieve searches without results](
|
1365
|
+
# Retrieves the 1,000 most frequently used filters for a search that didn't return any results. To get the most frequent searches without results, use the [Retrieve searches without results](https://www.algolia.com/doc/rest-api/analytics/get-searches-no-results) operation.
|
1366
1366
|
#
|
1367
1367
|
# Required API Key ACLs:
|
1368
1368
|
# - analytics
|
@@ -1372,7 +1372,7 @@ module Algolia
|
|
1372
1372
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1373
1373
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1374
1374
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1375
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1375
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1376
1376
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1377
1377
|
# @return [GetTopFiltersNoResultsResponse]
|
1378
1378
|
def get_top_filters_no_results(
|
@@ -1401,7 +1401,7 @@ module Algolia
|
|
1401
1401
|
)
|
1402
1402
|
end
|
1403
1403
|
|
1404
|
-
# Retrieves the object IDs of the 1,000 most frequent search results. If you set the `clickAnalytics` query parameter to true, the response also includes: - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
1404
|
+
# Retrieves the object IDs of the 1,000 most frequent search results. If you set the `clickAnalytics` query parameter to true, the response also includes: - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
1405
1405
|
#
|
1406
1406
|
# Required API Key ACLs:
|
1407
1407
|
# - analytics
|
@@ -1413,7 +1413,7 @@ module Algolia
|
|
1413
1413
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1414
1414
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1415
1415
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1416
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1416
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1417
1417
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1418
1418
|
# @return [Http::Response] the response
|
1419
1419
|
def get_top_hits_with_http_info(
|
@@ -1461,7 +1461,7 @@ module Algolia
|
|
1461
1461
|
@api_client.call_api(:GET, path, new_options)
|
1462
1462
|
end
|
1463
1463
|
|
1464
|
-
# Retrieves the object IDs of the 1,000 most frequent search results. If you set the `clickAnalytics` query parameter to true, the response also includes: - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
1464
|
+
# Retrieves the object IDs of the 1,000 most frequent search results. If you set the `clickAnalytics` query parameter to true, the response also includes: - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
1465
1465
|
#
|
1466
1466
|
# Required API Key ACLs:
|
1467
1467
|
# - analytics
|
@@ -1473,7 +1473,7 @@ module Algolia
|
|
1473
1473
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1474
1474
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1475
1475
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1476
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1476
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1477
1477
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1478
1478
|
# @return [GetTopHitsResponse]
|
1479
1479
|
def get_top_hits(
|
@@ -1503,7 +1503,7 @@ module Algolia
|
|
1503
1503
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Analytics::GetTopHitsResponse")
|
1504
1504
|
end
|
1505
1505
|
|
1506
|
-
# Returns the most popular searches. For each search, it also includes the average number of hits. If you set the `clickAnalytics` query parameter to `true`, the response also includes - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` query parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
1506
|
+
# Returns the most popular searches. For each search, it also includes the average number of hits. If you set the `clickAnalytics` query parameter to `true`, the response also includes - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` query parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
1507
1507
|
#
|
1508
1508
|
# Required API Key ACLs:
|
1509
1509
|
# - analytics
|
@@ -1516,7 +1516,7 @@ module Algolia
|
|
1516
1516
|
# @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
|
1517
1517
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1518
1518
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1519
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1519
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1520
1520
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1521
1521
|
# @return [Http::Response] the response
|
1522
1522
|
def get_top_searches_with_http_info(
|
@@ -1566,7 +1566,7 @@ module Algolia
|
|
1566
1566
|
@api_client.call_api(:GET, path, new_options)
|
1567
1567
|
end
|
1568
1568
|
|
1569
|
-
# Returns the most popular searches. For each search, it also includes the average number of hits. If you set the `clickAnalytics` query parameter to `true`, the response also includes - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` query parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started
|
1569
|
+
# Returns the most popular searches. For each search, it also includes the average number of hits. If you set the `clickAnalytics` query parameter to `true`, the response also includes - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` query parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
|
1570
1570
|
#
|
1571
1571
|
# Required API Key ACLs:
|
1572
1572
|
# - analytics
|
@@ -1579,7 +1579,7 @@ module Algolia
|
|
1579
1579
|
# @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
|
1580
1580
|
# @param limit [Integer] Number of items to return. (default to 10)
|
1581
1581
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
1582
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1582
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1583
1583
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1584
1584
|
# @return [GetTopSearchesResponse]
|
1585
1585
|
def get_top_searches(
|
@@ -1618,7 +1618,7 @@ module Algolia
|
|
1618
1618
|
# @param index [String] Index name. (required)
|
1619
1619
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
1620
1620
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1621
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1621
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1622
1622
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1623
1623
|
# @return [Http::Response] the response
|
1624
1624
|
def get_users_count_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|
@@ -1657,7 +1657,7 @@ module Algolia
|
|
1657
1657
|
# @param index [String] Index name. (required)
|
1658
1658
|
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
1659
1659
|
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
1660
|
-
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
1660
|
+
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
1661
1661
|
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
|
1662
1662
|
# @return [GetUsersCountResponse]
|
1663
1663
|
def get_users_count(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
|