1. Introduction
Sustainable agriculture is the core foundation for ensuring food security, protecting the ecological environment, and achieving long-term economic and social stability and coordination [
1,
2]. Two critical indicators of agricultural sustainability are agricultural carbon emissions (ACEs), which include carbon emissions generated from resource utilization during agricultural production, and agricultural green total factor productivity (AGTFP), which quantifies the relationship between agricultural economic output and environmental impact while assessing the efficiency of sustainable agricultural development [
3,
4,
5,
6]. China’s agricultural sector has experienced significant growth in production capacity, but this growth has created some environmental problems, such as an increase in agricultural carbon emissions [
7,
8]. This is mainly due to the widespread use of agricultural machinery, fertilizers, and fossil fuels [
9]; thus, the key players in the agricultural sector must make an effort to mitigate the environmental challenges of productivity growth. Carbon emissions from agriculture have become one of the most critical issues facing governments and researchers around the world [
8]. Controlling and reducing such emissions are important tasks for the Chinese government. In addition to controlling agricultural carbon emissions, the green development of agriculture has become the focus of the policy issued by the Chinese government. AGTFP is a holistic measure of the impact of agricultural green development, incorporating four key dimensions: resource conservation, production efficiency, environmental protection, and economic growth. It can also comprehensively measure agricultural production behavior [
10]. Enhancing agricultural green total factor productivity is an essential approach to foster green agricultural development and a vital prerequisite for achieving sustainable agricultural growth [
11,
12].
The deep integration of digital technology and agriculture is becoming a key path to improving agricultural sustainability, and traditional agriculture is being restructured through digital resource elements. Agricultural digital transformation has become an effective way to improve agricultural sustainable development, improve agricultural production efficiency, and reduce agricultural pollution [
13,
14]. Relying on digital technology can optimize the agricultural production mode through intelligent means, play a role in reducing industrial carbon footprint intensity, promote ecological resource adaptation, provide a good practice path for green and low-carbon transformation, etc. [
15,
16]. With the improvement in rural network coverage and the advancement of information technology, digital means are being integrated into the whole process of agricultural production, management, and marketing, and the utilization rate of agricultural resources is also improving [
17,
18]. At the same time, digitalization can also help mitigate the negative impact of agriculture on the environment, reduce the ecological damage caused by agricultural production, and make agricultural development more sustainable [
19].
The impact of digitalization on agricultural sustainability has become a focus of academic attention, among which empirical analysis is one of the key research methods in this field. From an econometric perspective, if the relative unit is a scalar multiple of the cardinal unit, the choice of measurement units typically does not influence the econometric analysis of a single site. As a result, researchers usually choose different units of measurement based on research feasibility or research needs. In the existing literature studying digital transformation for agricultural sustainability, relatively little attention has been paid to the unit of measure, which, coupled with the choice of different measurement units, reflects the neglect of the choice of metrics in this area of research. By reviewing the currently available literature, the impact of the unit of measure on the validity of carbon emission measurement studies is not recognized. Yet the lack of research on such issues in the literature does not mean that the seemingly inconsequential difference in the unit of measure does not make a difference in coefficients and significance.
This study begins with a theoretical analysis of the direct and indirect impacts of digitalization on agricultural sustainability and discusses the results arising from different units of measurement. Then, using panel data from 31 provinces in China from 2013 to 2021, we empirically test whether digitization affects agricultural sustainability and explain the heterogeneity brought about by variable measures. Finally, we further examine the mechanism and heterogeneity of digitalization’s impact on agricultural sustainability. This study has the following marginal academic contributions: First, this study simultaneously investigates the dual dimensions of carbon emission and green production efficiency for the first time and constructs a framework to analyze the influence pathways of digitalization on agricultural sustainability, examining their parallel impacts and addressing the research gap in single-perspective studies. Secondly, it refines the definition of digitalization, the core explanatory variable, moving beyond the frequent use of the entropy method in prior studies. Although the entropy method is an objective index selection method, different types of index combinations bias the research conclusions. In this study, the world’s largest Chinese search engine, the Baidu Index, is used as a digital index to define digitalization more intuitively and dynamically. It increases the validity and scientificity of the use of core explanatory variables and contributes to the empirical research field of agricultural sustainability. Finally, for the first time in this research field, this study compares the research differences produced by different units of measurement, which improves the accuracy and reliability of the research. By systematically studying the impact of digitization on agricultural sustainability, the heterogeneity of measurement units is found, which not only provides micro-evidence support for the optimization of agricultural sustainability policy but also pioneers the analysis paradigm of empirical research in this field.
The rest of this paper is organized as follows:
Section 2 presents the relevant literature, and
Section 3 provides a theoretical analysis and proposes the research hypotheses.
Section 4 contains the explanation of the methods and data, including the model setting, variable selection, and data description.
Section 5 provides the empirical results and conclusions, further describing the quantitative analysis of the impact of digitization on agricultural sustainability, and
Section 6 provides a summary of the research conclusions and recommendations.
Figure 1 below shows the research roadmap of this paper. It illustrates the use of the OLS model to analyze how digitization directly and indirectly affects agricultural sustainability, with ACEs and AGTFP as core variables to describe the impact results. It further proves that the results remain reliable after analyzing measurement heterogeneity.
2. Literature Review
Agricultural activities account for approximately 14% of global greenhouse gas emissions and are thus a significant contributor to global greenhouse gas (GHG) emissions [
3,
20,
21]. The path of traditional agriculture to reduce the environmental impact mainly focuses on the adjustment of the planting structure or the improvement in biotechnology, while its environmental benefits are decreasing under the constraint of land resources. In this context, the penetration of digital technology provides a new paradigm for reducing agricultural carbon emissions and improving agricultural green total factor productivity, and it drives the green low-carbon transformation of agriculture [
7,
22,
23,
24].
Existing studies confirm that agricultural digitalization reduces carbon emissions by driving technological innovation, optimizing production modes, and improving capital efficiency, thereby clarifying the nexus between digital technologies and sustainable agriculture. Yue Yuan et al. [
18], using data from listed agricultural enterprises, showed that agricultural digitalization indirectly promotes green transformation by enhancing scale economies, technological innovation, and structural adjustments through mechanisms like factor reorganization. Further analysis of China’s 30 provinces’ panel data reveals that the digital economy significantly reduces agricultural carbon intensity by correcting capital misallocation and accelerating green technology adoption [
25]. Qiang Zhou et al. [
26], using rural digitalization and spatial econometrics, reported that concentrated tourism raises agricultural carbon intensity while digital adoption mitigates tourism-related emissions. The analysis of 30 Chinese provinces (2011–2021) shows that the digital economy reduces agricultural carbon emissions, with regional disparities and an inverted U-shaped emission trajectory [
24]. On the basis of empirical analysis, studies show that digital agriculture reduces emissions through farmers scaling up operations, focusing on agri-services, and advancing technological innovation [
7].
Agricultural digital transformation demonstrates dual efficacy in reducing carbon emissions and enhancing production efficiency, serving as dual pillars of sustainable agriculture that highlight the critical research imperative for digital innovation in agroecological systems. Haitao Wu et al. [
4] used a DEA to measure agricultural energy efficiency and showed that the Internet enhances the efficiency of energy saving and emission reduction, with a dual-threshold effect on China’s agricultural green total factor energy efficiency (ATFEE) in threshold models. The analysis of 2825 farmers surveyed in 2020 shows that digital economy participation boosts EAT adoption, with digital marketing and finance indirectly improving production efficiency via the increased demand for machinery services, enhanced information access, and heightened food safety awareness [
27]. It is verified using the World Input-Output Database (WIOD) that, under carbon emission constraints, the promotion of digitalization significantly improves low-carbon green total factor productivity (GTFP). At the same time, digitization promotes low-carbon GTFP through energy efficiency and labor productivity [
23]. Junxia Liu et al.’s spatial econometric analysis revealed that digital finance (DIFI) drives low-carbon agriculture, achieving synergy between food security and production system decarbonization [
28]. Research establishing a theoretical framework for agricultural digitalization’s impact on agricultural carbon productivity (ACP) reveals a positive effect driven by industrial structure upgrades and large-scale management. Moreover, urbanization and rural human capital improvements create a U-shaped effect, where digital transformation initially inhibits but ultimately promotes ACP [
29].
Existing studies predominantly focus on the single-dimensional impact of digital technologies on agricultural carbon emission intensity and production efficiency, yet they lack a systematic synthesis of digital-driven sustainable agricultural transformation. A critical gap lies in the neglect of heterogeneity arising from measurement differences in empirical models. At the same time, most empirical studies quantify digitalization—the core explanatory variable—via index systems, which may distort objectivity due to varying weight distributions, thereby compromising model accuracy. While the existing literature has explored agricultural sustainability through dimensions like digital factor endowment, digital processes, and digital economy development and has conducted quantitative tests on key parameters (e.g., carbon emission estimation and factor productivity), the systematic analysis of agricultural sustainable development remains inadequate, and the robustness of econometric model construction requires further scrutiny. This study improves this analytical framework by explicitly linking agricultural carbon emissions and total factor productivity through digital technology while enhancing model precision and addressing the heterogeneity of measurement units in empirical research.
3. Theoretical Analysis and Research Hypothesis
Digital technological innovation has significantly increased the marginal benefits of agricultural sustainability by reconfiguring production factors. Traditional agricultural practices often suffer from mismatches in resource allocation due to fragmented technical information across various stages of production. The excessive reliance on chemical fertilizers, pesticides, and mechanization has contributed to environmental degradation—most notably, the heightened emissions of agricultural carbon and nitrogen [
7,
8,
30]—which, in turn, impedes improvements in green total factor productivity. In contrast, digital technologies introduce information-driven elements into agriculture, optimizing the marginal productivity of technology, labor, and capital, thereby improving green total factor efficiency.
Aligned with the United Nations’ Sustainable Development Goals (SDGs), digital technologies enable holistic integration across agricultural production, management, and marketing. By enhancing resource allocation and reducing environmental impacts, these innovations support the transition toward resource-efficient, environmentally sustainable agricultural systems. First, digital innovation accelerates both the structural and technical transformation of traditional farming. For example, in crop cultivation, Unmanned Aerial Vehicle (UAV) monitoring enables precision fertilization and targeted disease management through high-resolution field data [
27,
31], while sensor networks measure soil fertility to reduce costs related to drip irrigation, pesticide application, and soil testing, allowing for fine-tuned control over production processes. Second, digital platforms diversify sales channels for agricultural products. Live-streaming e-commerce, in particular, reduces the number of intermediaries in supply chains, mitigates information asymmetry, and increases producer surplus by facilitating direct connections between farmers and consumers, thereby promoting sustainable agricultural development [
32,
33,
34]. Third, the digital economy lowers transaction costs for agricultural operators by streamlining financial services such as digital payments, credit, and investment. Precision agriculture tools reduce resource waste and carbon emissions, while digital financial instruments foster equipment upgrades and the green restructuring of production factors, further advancing agricultural sustainability [
6,
35].
Unlike traditional farming, which often depends on chemical inputs, water-intensive irrigation, and extensive management, digital technologies such as UAVs and sensor networks enable the precise application of water, fertilizers, and pest control measures for minimizing resource waste. Concurrently, online marketplaces (e.g., live-streaming e-commerce) decrease the number of intermediaries in the supply chain, thereby enhancing efficiency. By integrating data from multiple sources, digital agricultural systems facilitate dynamic resource allocation and real-time carbon footprint tracking. The comparison of key agricultural digital technology performance is shown in the
Appendix A. As a result, they outperform conventional approaches in scalability and environmental impact mitigation.
Hypothesis 1 is therefore proposed.
H1: Digitalization promotes agricultural sustainability and has a positive impact on agricultural carbon emission reduction and agricultural green total factor productivity.
Agriculture’s sustainable transition lags digital penetration, partly because technological deployment evolves progressively. On the one hand, the technology application itself has the characteristics of stages, and it is difficult for the initial investment and capacity building to be immediately transformed into the process of productivity improvement, data accumulation, and subject adaptation. On the other hand, the response of agro-ecosystems is naturally retarded, and the optimization of resource utilization efficiency by digital management requires multiple production cycles. This intertemporal effect essentially reflects that technological innovation and agricultural systems need time to match, and a balance between short-term costs and long-term benefits needs to be established in the process.
Digital technology has fundamentally transformed agricultural production by reconstructing the interactive logic of production factors, establishing a release mechanism for environmental pressures, and fostering a virtuous cycle within the agroecological economic system. This transformation is driven by technological progress under the digitalization wave, which addresses critical inefficiencies in agricultural capital allocation while amplifying the marginal returns of green production factors [
22,
23,
35]. As a novel production factor, digitalization synergizes with technological advancements to optimize pathways for sustainable agricultural development [
15,
36].
The optimization of production scale achieved through land transfer and intensive management can enhance the efficiency of digitalization in agricultural systems. By improving transparency in land transfer processes, transaction costs are reduced, while large-scale operations lower the per-unit costs of advanced equipment such as intelligent irrigation systems and large agricultural machinery [
37,
38,
39]. These structural advantages create an environment where digital technologies can more effectively drive resource optimization and operational efficiency. Furthermore, digitalization empowers business entities to adopt green technologies by enhancing their capacity to absorb innovations and tolerate risks, leading to more pronounced reductions in agricultural carbon emissions [
24]. At the same time, digital tools reduce information exchange costs, supporting the transformation of the agricultural industry toward low-carbon structures [
10,
14].
Digital technologies at the production end, such as the Internet of Things (IoT) and remote sensing monitoring, play a critical role in reducing resource waste inherent in traditional extensive farming models [
18]. For instance, the deployment of soil moisture sensors conserves water resources by enabling precision irrigation caused by excessive fertilization through data-driven nutrient management. Supply-side e-commerce platforms streamline production marketing linkages, significantly lowering logistics costs while minimizing energy consumption and post-harvest losses by shortening storage cycles [
34]. Real-time sales data obtained via smart analytics help identify market trends, enabling flexible adjustments to crop yields, thus boosting efficiency. Digital transformation reshapes agricultural value chains and industrial structures. Structural shifts are evident in the tertiary sector, which is highly responsive to change, and structural shifts influence digitalization’s effects as technology adoption interacts with evolving frameworks to shape sustainability outcomes.
Given these mechanisms, it is plausible that the effects of digitalization on agricultural sustainability affect the current period of agriculture. At the same time, they are not completely independent but contingent on connected factors such as technological progress and the optimization of agricultural production scale and industrial structure.
Therefore, Hypothesis 2 is proposed.
H2: Digitalization affects the sustainable development of agriculture, exhibiting a trans-time effect. Moreover, technological progress and the optimization of the agricultural production scale and industrial structure have a moderating effect on the digitalization affect.
Ordinary least squares (OLS) is a linear unbiased estimation of minimum variance under the classical assumption. Under the classical linear regression assumption, ordinary least squares ensures the unbiased and effective parameter estimation and provides a robust and explanatory model framework for econometric analysis [
40]. Therefore, we set up the OLS model to evaluate the impact of digitalization on agricultural sustainability, and we assume the model to be as follows:
where X
1 denotes the core explanatory variable digitalization, X
2 denotes the control variable disposable income of rural residents, X
i denotes the other control variables, and ξ denotes the residual term. Y represents the proxy variables of agricultural sustainability carbon emission and agricultural green total factor productivity. In this OLS model, the explanatory variable coefficient β
2 can be easily obtained as follows:
If the per capita disposable income of rural residents is converted to the per capita disposable income of rural residents divided by the per capita disposable income of all residents, the model is as follows:
In the OLS model, when the independent variable X2 changes from the income of rural residents to the per capita disposable income of all residents, other coefficients do not change, but β2 changes, and other coefficients such as intercept β0 may be fine-tuned due to dimensional adjustment. In unit conversion, attention should be paid to the multicollinearity problem. If X2 is related to other variables, the significance may change due to collinearity. When VIF exceeds 10, significant multicollinearity arises, propagating endogenous distortions in β2’s estimates so that it is impossible to determine whether the change in β2 is caused by the change in unit of measure. Although the estimates of β2 remain unbiased, increases in variance and standard errors can lead to a decrease in T-value and a loss of significance.
In empirical studies on the impact of digitalization on agricultural carbon emissions and green total factor productivity, although the classical OLS theory reveals the mathematical influence of variable quantization on coefficients, more complex challenges are associated with the real data. Even if the credibility of the model is established through variable screening, the variance inflation factor test, and other means, differences in explanatory variables can result in significant variations in estimated outcomes, particularly because of disparities in their dimensions. Therefore, the selection of different variable measures can enhance the explanatory power of the model for real problems, which is also an important embodiment of the scientificity of empirical analysis.
H3: The unit heterogeneity analysis of explanatory variables can enrich the conclusions of agricultural sustainability research and obtain more accurate analysis results.
Due to differences in digital inequality between regions and the dependence on technical infrastructure, there are different degrees of digitalization in the four regions of eastern, Central, Western, and northeastern China [
41,
42]. The eastern region, relying on its economic advantages and technological innovation capability, has the most significant effect of digital emission reduction [
7]. However, the layout of data centers also produces additional carbon footprints and partially offsets the reduction in carbon emissions. Relying on the advantages of large-scale production, major agricultural producing areas in Central China show carbon emission reductions due to the application of digital technology [
43]. The Western region is constrained by infrastructure and ecological fragility. Although the state promotes the westward relocation of data centers, the digitalization of agriculture still faces challenging constraints of low network coverage. The northeast suffers from institutional inertia and an aging agricultural population, which leads to lagging technology adoption. Due to the different user groups of computer terminal and mobile terminal, the application of technology is different. In areas with weak infrastructure but a widespread mobile network, mobile devices, especially mobile phones, become key for digital applications [
44]. In areas where traditional agricultural infrastructure is lagging, the high coverage of mobile networks and the popularity of smart phones form a unique technology empowerment path. As an integrated information terminal, mobile phones, with a built-in instant communication function have effectively eliminated the obstacles of knowledge acquisition and information exchange due to their portability and low threshold of operation. Accordingly, as a medium for collecting Baidu Index data, different hardware may yield different results.
Therefore, Hypothesis 4 is proposed.
H4: There are regional differences in the application effect of digitalization in sustainable agricultural development, and there is heterogeneity in the research results estimated by different Internet hardware facilities.
6. Empirical Results and Conclusions
6.1. Baseline Regression
Our focus is on using baseline regression models to determine the impact of digitization on agricultural sustainability and the heterogeneity arising from measures of different levels of agricultural economic development.
Table 2 shows the main outcomes of digitization regarding agricultural sustainability in different units of measurement for different levels of agricultural economic development, all of which use the bidirectional fixed effects of years and individuals. Columns (1) and (2) show the effect of digitization on the reduction in carbon emissions from agriculture, which is estimated to be negative and statistically significant. Regarding the measure unit of per capita disposable income (ECO) of rural residents, for every 1 unit increase in digitization level, agricultural carbon emissions decrease by 5380 tons. On the other hand, when the per capita disposable income of rural residents is divided by the overall per capita disposable income measure (ECO2), agricultural carbon emissions decrease by 4570 tons. There is no significant difference between the two, but there is a deviation of about 15% in the coefficient. Columns (3) and (4) show that digitalization has a positive effect on agricultural total factor productivity but no statistically significant impact, and there is no heterogeneity under different measures of agricultural economic development levels.
6.2. Variance Inflation Factor Test
Table 3 shows the results of verifying the inflation factors for all variables in the ACE and AGTFP empirical models. In OLS regression, the variance inflation factor must be less than 10 to avoid multicollinearity. In
Table 2, the inflation factor of all variables is less than 10, less than five values of the inflation factor are more than 95.8%, and the average value of the overall inflation factor is 2.27. Therefore, multicollinearity is excluded.
6.3. Robustness Test
To test the reliability of the baseline regression results, we used three methods of testing. The first method is the robustness test that entails removing samples from remote areas. Specifically, the samples in the original analysis covered 31 provinces across the country. Considering that there may be differences in data collection or heterogeneity in policy implementation in remote areas, we excluded the sample data from Xinjiang and Tibet, two remote areas. After re-estimation, we found that the direction of coefficients, significance level, and economic significance of core variables did not change.
Furthermore, the panel correction standard error was added to re-estimate the model. In view of the possible problems such as inter-group heteroscedasticity, sequence correlation, and cross-sectional dependence in panel data, this method alleviates the result bias caused by the structural bias of error terms by adjusting the estimation method of standard errors. Based on the original data, the coefficient direction and significance level of the core explanatory variables did not change under the premise of keeping the core variables and control variables unchanged.
Finally, a robustness analysis was carried out by removing samples of extreme values. The specific method involves removing outliers larger than 99% of the explained variables and then re-estimating the model. After re-estimation, the coefficient direction, significance level, and economic significance of the core explanatory variables were consistent with the benchmark results.
In addition, the R2 value of the above key hypothesis test hardly changed, indicating that the conclusion is highly resistant to extreme value interference. A series of robustness tests show that the results are robust. Therefore, Hypothesis 1 is confirmed.
The robustness check results are shown in
Table 4.
6.4. Mechanism Analysis
Mechanism 1: Digitization has an intertemporal impact on sustainable agriculture.
We further examined the intertemporal dynamic effects of digitalization. The regression results show that the first and second phases of digitalization lag have a significant negative effect on agricultural carbon emissions and promote the agricultural green total factor productivity. Each 1 unit increase in digitization can result in 6860 tons and 9170 tons of carbon emission reductions in the case of ECO measurement and 56,100 tons and 65,800 tons of carbon emission reductions in the case of ECO2 measurement. As for the impact of total factor productivity, the different measures of ECO and ECO2 still have heterogeneity. Under the ECO unit, the digitization lag term has a significant positive impact on the green total factor productivity. Each unit of increase in the digitalization level increases the level of the second-year and the third-year total factor green productivity by 0.0014 and 0.0028, respectively. However, the lag in the first phase has no significant positive impact on ECO2’s unit of measurement, and each unit of increase in the second phase of the lag will still significantly increases it by 0.0019 units.
The Mechanism 1 results are shown in
Table 5.
Mechanism 2: The agricultural production scale, industrial structure, and technological progress have positive moderating effects on agricultural sustainability.
Interaction terms such as digit1 * Tech, digit1 * Sca, and digit1 * Indu were introduced into the regression model to test whether the variables of agricultural production scale, industrial structure, and technological progress play a moderating role in the relationship between digitalization, agricultural carbon emissions, and green total factor productivity. For the analysis of agricultural carbon emissions, both the ECO and ECO2 cases have a significant regulatory effect on technological progress for reducing agricultural carbon emissions, and there is no heterogeneity of measurement units. The agricultural production scale has a significant moderating effect on reducing agricultural carbon emissions, but there is a certain degree of metric heterogeneity. In terms of industrial structure, under different measures, the ECO measure had a negative effect, but no statistical significance was found. For green total factor productivity, the agricultural production scale has a negative moderating effect, but the coefficient is very small, and there is no metric heterogeneity for ECO and ECO2. So far, Hypothesis 2 and Hypothesis 3 are proven.
The Mechanism 2 results are shown in
Table 6.
6.5. Heterogeneity Analysis
A regional heterogeneity test and search media heterogeneity test were carried out.
In our study, through the heterogeneity test, significant regional heterogeneity was found in the impact of digitalization on the study objects, which was specifically manifested as systematic differences in the carbon reduction effect and green total factor productivity improvement in the eastern, Central, Western, and northeastern regions of China, and measurement heterogeneity existed in some results. The most obvious coefficients of agricultural carbon emission reduction effect for ECO and ECO2 for the eastern region are 0.597 and 0.396. Digitalization in Central and northeast China has brought about the improvement in agricultural green total factor productivity, which has statistical significance, and there is a certain measure of heterogeneity.
Information search is usually performed using computer and mobile terminals, and the impact of digitization on agricultural sustainability is significantly different in different search media. Specifically, the digitalization index effect on PCs is smaller than that on mobiles. In terms of green total factor productivity, both of them have positive effects, but there is no statistical difference. Thus, Hypothesis 4 is proven.
8. Conclusions and Suggestions
Based on panel data from 31 provinces in China between 2013 and 2021, this study employs a novel digital definition and incorporates the Baidu Index to analyze factors to calculate their impact on agricultural sustainability. It also empirically examines the impact of digitalization on two representative proxy variables, agricultural carbon emissions and agricultural green total factor productivity, as well as the mechanism and the heterogeneity of measures of the agricultural economic development level. The conclusions drawn from the OLS model are as follows.
Firstly, digitalization enhances agricultural sustainability by lowering carbon emissions and boosting green total factor productivity. Furthermore, the robustness test confirms that the findings align with the baseline regression results. Secondly, digitization has intertemporal influence. For agricultural carbon emissions, the effect of interphase and interphase reduction is more obvious. The improvement effect of agricultural green total factor productivity became significant after the interperiod of digitization, while in the current period, although digitization had a positive impact, it did not show statistical significance. Thirdly, there is a mechanism of digitalization to positively moderate agricultural sustainability through the agricultural production scale, industrial structure, and technological progress. The reduction in agricultural carbon emissions is significant, but the improvement in agricultural green total factor productivity is relatively limited. Additionally, the heterogeneity analysis reveals that the digital economy has varied impacts on agricultural energy-related carbon emissions. Specifically, digitalization has a notable positive effect on agricultural sustainability in the eastern and Western regions of China, while its impact is less pronounced in the Central and northeastern regions. From the perspective of search media, the digitalization index effect on PCs is smaller than that on mobiles, but there is no significant difference in green total factor productivity. Last but not the least, among the research results, there are relatively obvious differences in the coefficient of agricultural carbon emission between the two interperiod studies and the heterogeneity analysis in the eastern region, but this does not affect the significance of the results. The heterogeneity of agricultural carbon emissions and agricultural green total factor productivity measures in other parts of the study is not large, which proves that the research results are credible and enrich the research conclusions.
Based on the above conclusions, the following suggestions are put forward in this study. First, the government should speed up the promotion of digitalization and improve the application level of digital technology in the agricultural field. To advance agricultural sustainability, it is essential to enhance the widespread adoption of digital infrastructure and Internet accessibility. Additionally, fostering the implementation of technologies like the Internet of Things and big data across the entire agricultural supply chain is crucial. Moreover, providing farmers with robust technical training can facilitate the integration of scientific and technological innovations with agricultural practices. Secondly, in the process of deepening the digital transformation of agriculture, it is necessary to simultaneously promote the intensification of production scale, the upgradation of industrial structure, and the intelligent development of technological systems. Through the popularization of intelligent equipment such as intelligent agricultural machinery to achieve scale management, a food traceability system should be built with the help of digital platform technology, and data should be used to empower the agricultural industry to achieve industrial chain extension and interaction. Digital elements and traditional resources should be implemented to improve green total factor productivity while reducing the carbon footprint, a positive feedback mechanism should be developed for the entire agricultural industry chain under digitalization, and the momentum of sustainable agricultural development should be increased. Then, digital construction should be promoted according to local conditions. While retaining the digital advantages of the Central and eastern regions, market-oriented digital reform should be promoted in the northeast and Western regions. The digital farm model contracted by enterprises should be promoted, and large-scale agricultural machinery networking should be used to improve operation accuracy. Western mountainous areas focus on training local e-commerce experts to expand the market for featured agricultural products through live streaming. At the same time, a cross-provincial technical assistance mechanism has been established, and a team of experts from the east has been organized to provide targeted support to farmers in the Western region and impart advanced agricultural technologies and other practical skills. As a large developing nation with a strong aggregate but low per capita agricultural output, China’s digitalization offers valuable insights for less-developed agrarian economies. Furthermore, its regionally varied digitalization has successfully reduced agricultural emissions and the observed cross-temporal effects of digitalization, providing strategies for countries with uneven development to improve environmental outcomes. Finally, it is suggested that in the empirical research of agricultural sustainability and digital transformation, attention should be paid to the influence of variable measurement methods on research conclusions. In a specific operation, the key explanatory variables (such as economy-related variables) can be compared and analyzed using different measurement standards. If it is found that after changing the dimension, the significance of the variable does not fluctuate significantly and the direction of the coefficient is stable, this indicates that the conclusion has strong reliability. On the contrary, if the significance disappears or the coefficient changes significantly, it is necessary to comprehensively analyze the experimental results to avoid misjudgment caused by a single measurement method and ensure the reliability of the research results.
Due to data limitations, this study was restricted to the provincial level and did not delve into the municipal or county levels, resulting in a lack of more precise research findings and insights. Future research could utilize computer technology to further collect data and improve research accuracy. Additionally, representative digital tools such as big data and drones have significant research value. However, existing studies primarily rely on qualitative analysis and lack large-scale empirical studies, which is another area worthy of in-depth exploration.