Introduction

Currently, global warming and resource constraints are becoming increasingly severe. The contradiction between economic development, environmental protection, and resource consumption is prominent in China. Improving green and sustainable development performance is an effective way to resolve the above contradictions, and it is a crucial strategy to achieve high-quality development in China (Zhu et al. 2019; Dong et al. 2021). The Beijing-Tianjin-Hebei (BTH) region accounts for nearly 10% of China’s total economy, and it is a pivotal region for China to explore green and sustainable development (Li et al. 2020). However, the BTH region has prominent problems such as high proportion of heavy industry, resource and environment overload, and serious air pollution. Meanwhile, the BTH region has a disparity in environmental quality, and cities with a high proportion of heavy industry are relatively polluted. Since the release of the Beijing-Tianjin-Hebei Synergistic Development Plan Outline in 2015, deepening the synergistic development of economy, resources, and environment has become the consensus. Liu and Dong (2021) indicated that green development is a growth mode that considers economic growth, environmental protection, and resource conservation. In the context of tighter resource and environmental constraints, the synergistic improvement at urban the green development level has become an essential topic to solve the contradiction between BTH’s environment and economic development (Li et al. 2020). Green development efficiency (GDE) is an effective indicator to measure the synergistic relationship between economy, resources, and environment. It can effectively evaluate the performance of urban green development (Rashidi and Saen 2015). Therefore, this study aims to investigate the new drivers and temporal and spatial evolution characteristics of urban GDE in the BTH region. This can provide new empirical evidence and references for the BTH region to enhance urban GDE and formulate regional synergistic green development policies.

With the “Digital China” strategy, the synergistic development of digitalization and greening has become an inherent demand for high-quality economic and social development. The ecological modernization theory shows that digital information technology can mitigate environmental problems (Huber 2000; Popkova et al. 2022) and lays the foundation for exploring the relationship between digital technology development (DTD) and GDE. In practice, the global pandemic of COVID-19 promoted the rapid development of emerging digital technology such as cloud computing, blockchain technology, and artificial intelligence. With the energy crises and environmental problems, the role of digitalization in environmental governance has attracted widespread attention (Wang et al. 2022a), but no general consensus has been reached. The Digital China Development Report (2020) shows that during the 13th Five-Year Plan period, the value of China’s digital economy core industries reached 7.8% of GDP. In 2020, internet users grew to 989 million, and the internet penetration rate increased to 70.4%. Therefore, as the frontier of China’s digital development, what are the spatial and temporal evolution characteristics of DTD in the BTH region? Can DTD improve urban GDE? If this logic is valid, what are the potential mechanisms of DTD affecting urban GDE? Does DTD have a spatial spillover effect on urban GDE? Clarifying the above issues can provide a robust empirical basis and decision reference for the BTH region and even China to use digital technology to improve urban green development.

In summary, based on the panel data of 13 cities above the prefecture level in the BTH region from 2011 to 2019, this study conducts the following extended research around the potential mechanism and spatial effect of DTD on urban GDE. (1) combining the connotations of DTD and GDE, this study improves the evaluation system of DTD and urban GDE based on the reference of existing studies; then, this study uses the principal component analysis method and the super-SBM model to measure each urban DTD level and GDE, respectively, (2) after testing the direct impact of DTD on urban GDE with a fixed-effects model, this study explores the potential mechanism of DTD in urban GDE through mediator variables such as environmental regulation, technological innovation level, and industrial structure optimization, (3) this study analyzes the spatial differences and evolutionary characteristics of DTD and GDE among cities; further, the spatial Durbin model is used to identify the spatial spillover effect of DTD on urban GDE, and (4) this study performs robustness tests by replacing the spatial weight matrix, and endogeneity tests using the two-stage least-squares method after setting instrumental variables. Eventually, based on the empirical results, this study proposes corresponding suggestions and expects to provide a reference for the green development of the BTH region and even China from a digital technology revolution perspective.

The potential contributions of this study are as follows. (1) From the perspective of digitally empowered green development, this study innovatively examines the intrinsic relationship between DTD and urban GDE from both theoretical and empirical aspects. It broadens the research perspective of GDE and achieves to analyze the comprehensive effect of digital technology on economy, resources, and environment under the same framework. (2) This study explores the theoretical basis and driving mechanism of DTD on urban GDE from three aspects: environmental regulation effect, technological innovation effect, and industrial structure effect. This improves the effect path of DTD on urban GDE that has not been covered by previous studies. (3) Different from the previous static causality studies, this study uses the kernel density estimation method and ArcGIS technology to effectively reveal the dynamic temporal and spatial evolution characteristics and differences of DTD and urban GDE in the BTH region. (4) This study adds the concept of spatial location and examines the spatial correlation and spatial spillover effects of DTD on urban GDE, which deepens the study on DTD and urban GDE from a spatial perspective.

The rest of the structure is as follows. The next section is literature review and mechanism analysis to formulate the hypothesis. The third section is research design including data description, variable selection, and model construction. The fourth section is empirical tests including benchmark and mediated regression results analysis. The fifth section is temporal and spatial evolutionary characteristics and spatial spillover effect analysis. The sixth section is robustness tests. The last section is the conclusions, recommendations, and research prospect.

Literature review and theoretical mechanism

Literature review

Green development efficiency

The World Bank emphasizes that green development refers to the coordinated development of economic, social, and environmental resources by strengthening ecological protection under the constraints of ecological capacity and resource-carrying pressure (Meng and Qu 2021). As an important indicator to measure urban economic development activities, GDE can measure the performance of green development by measuring the urban input–output efficiency. Previous literature has studied the connotation (Liu et al. 2022a), measurement, influencing factors, and enhancement pathways of GDE. Regarding the measurement approach, some studies chose to construct an evaluation system to investigate the level of green development in different regions (Sun et al. 2018; Fang et al. 2020; Yang et al. 2022a). Another mainstream approach includes nonparametric data envelopment analysis (DEA) and parametric stochastic frontier analysis (SFA) (Tao et al. 2017; Zhao et al. 2020; Yuan et al. 2022). Regarding influencing factors, previous studies found that environmental regulation (Li and Wu 2017; Fan et al. 2022), fiscal decentralization (Song et al. 2018), factor distortions (Lyu et al. 2022; Lin and Chen 2018), technological innovation (Yang et al. 2022b), and financial development (Liu et al. 2019; Yang and Ni 2022) all impact GDE in different degrees. Furthermore, a few scholars studied the spatiotemporal evolution characteristics and spatial differences of GDE (Zhou et al. 2020; Liu et al. 2022a).

Digital technology development

Since Solow proposed the “Information Technology Productivity Paradox,” academics have continuously debated on the utility of information technology (Wu et al. 2021), which lays a foundation for the research on digital technology. Popkova et al. (2022) indicated that digital technology includes artificial intelligence, cloud computing, information and communication technology (ICT), and other technologies. Existing studies have examined the welfare effects of digital technology from enterprise innovation performance (Usai et al. 2021), real economy development (Tian and Li 2022), green total factor energy efficiency (Gao et al. 2022), and other aspects. However, regarding the environmental effects of DTD, the few available studies have not yet reached consistent conclusions. Among them, some studies considered that DTD is beneficial to improve the environment. Liu et al. (2022b) showed that DTD not only reduces local carbon emissions but also promotes carbon reduction in neighboring cities. Wang et al. (2022b) noted that digital technology effectively contributes to energy sustainability, which is helpful to reduce SO2 pollution. Some studies also argued that digital development requires more energy consumption and releases large amounts of CO2, which can increase the environmental burden. Lee and Brahmasrene (2014) studied the Association of Southeast Asian Nations and noted that ICT positively affects carbon emissions. Lange et al. (2020) proposed that digitization did not decouple economic growth from energy consumption, and that the energy-increasing effect of digitization was greater than the energy-decreasing effect. Furthermore, Asongu et al. (2018) found that ICT did not significantly affect carbon emissions with data from sub-Saharan Africa.

In summary, previous studies mainly investigated the unilateral effect of DTD on economic growth, energy consumption, or environmental pollution. The following research needs to be expanded and supplemented. (1) The effect of DTD on urban GDE lacks systematic investigation. Furthermore, the indirect mechanism of how DTD affects urban GDE lacks in-depth analysis. (2) The quantitative assessment of digitalization is still weak, and single indicators such as internet penetration rate and number of websites need to be expanded (Asongu et al. 2018; Yu 2022). (3) Most studies are based on provincial and municipal samples in China and lack studies focusing on regions, which cannot reflect the imbalances and differences among cities within the region. (4) With the wide application of digital technology, DTD and GDE among cities have become more closely connected in space. However, the existing research has fewer effective explanations for their spatial–temporal evolution characteristics and spatial spillover effect. Therefore, due to the special strategic position of the BTH region in green development and digital development, this study explores the direct effect and mechanism path of DTD on urban GDE in the BTH region. Further, this study further identifies the spatial and temporal evolutionary characteristics and spatial spillover effects of DTD and urban GDE.

Theoretical mechanism and research hypothesis

Direct effect

With modern information networks as an important carrier, digital technology is the key production factor in the digital economy era. Wu et al. (2021) indicated that the Internet created by digital technology can reduce the cost of information collection and improve the management efficiency of enterprises. In terms of system optimization, Thompson et al. (2014) revealed that digital technology can optimize production operation processes, decrease unnecessary losses, reduce negative production externalities, and thus achieve the ultimate goal of environmental protection. Digital technology provides advanced technical support for the intelligent and green transformation of enterprises, which can optimize the efficiency of resource allocation, thus reducing resource input and energy consumption (Litvinenko 2020). Li et al. (2021) proposed that the application of digital technology can diagnose and address inefficient links in the energy production, transportation, and consumption systems, thereby improving energy efficiency. The application of digital technology in socioeconomic activities such as living services, transportation operations, and industrial manufacturing can directly or indirectly reduce resource consumption and environmental pollution, which contributes to improving urban GDE (Jiang et al. 2021). For example, digital transportation systems, paperless transmissions, bike-sharing, and car-sharing can reduce unnecessary logistics and commute (Chen and Yan 2020), thus reducing energy consumption and environmental pollution. Therefore, the following hypothesis is proposed: hypothesis 1: digital technology development can positively affect urban GDE in the BTH region.

Indirect effects

Environmental regulation driving path

Sareen and Haarstad (2021) deemed that environmental regulation plays a crucial role in promoting urban green development. The impact of environmental regulation on urban GDE is mainly realized through the combination of both constraint effect and innovation compensation effect (Fan et al. 2022). From the perspective of the constraint effect, digital technology has broadened the way for social agents to participate in environmental regulation and has driven a stronger implementation of environmental regulation policies and tools. It could form greater constraints on enterprises’ production and operation behaviors (Wang et al. 2021). To satisfy the requirements of environmental regulations, enterprises need to increase relevant investments for energy saving and pollution reduction, which reduces the productivity and desired output level of enterprises (Zhang et al. 2018). Thus, environmental regulation negatively affects urban GDE. However, stronger environmental regulations force enterprises to increase technological innovation. Enterprises gradually form green production styles, which can improve production efficiency and operating profitability (Zhao et al. 2018). The compensation effect of innovation promoted by increased profits offsets and exceeds the constraint effect caused by increased costs. It eventually makes enterprises improve their desired output and ecological quality level (Lee et al. 2022). Thus, environmental regulation positively affects urban GDE. Furthermore, the government improves the efficiency of environmental regulation through digital government platforms, which is helpful to improve urban GDE (Janowski 2016). In summary, the following hypothesis is proposed: hypothesis 2: digital technology development enhances urban GDE in the BTH region by increasing the intensity of environmental regulations.

Technological innovation drive path

The endogenous growth theory believes that technological innovation is the main factor for the improvement of green economy efficiency. Currently, digital transformation and sustainable development effectively stimulate the market demand for green technological innovation and force enterprises to innovate production technology (Llopis-Albert et al. 2021). Proeger and Runst (2020) indicated that digital technology promotes resource sharing and information flow, and is beneficial for enterprises to acquire and integrate innovation resources. According to Schumpeter’s innovation theory, the recombination of production factors is the process of achieving innovation. As a key production factor in the digital era, data resources can break through the limitations of traditional production factors and innovate production technologies and organizational models through resource reorganization (Michaels et al. 2014). Meanwhile, digital technology helps enterprises identify the direction, potential, and path of innovation. It can reduce the cost and risk of innovation and then facilitate green technological innovation. According to the new information technology paradigm, digital technology can improve the way enterprises utilize resources by accelerating technological innovation (Popkova et al. 2022). Enterprises apply innovative energy-saving and environmental protection technologies, cleaner production technologies, and pollution monitoring technologies to production systems, which can improve production efficiency and reduce negative externalities of production and environmental pollution (Wu et al. 2021). As a result, urban economic growth can be decoupled from resource consumption and environmental pollution, and urban GDE will increase. In summary, the following hypothesis is proposed: hypothesis 3: digital technology development can enhance urban GDE in the BTH region by improving the level of technological innovation.

Industry structure drive path

Previous studies showed that digital technologies such as the Internet of Things can help traditional industries reorganize factor resources, optimize production processes, and realize transformation from extensive to intensive and high efficiency (Cardona et al. 2013). The application of digital technologies such as 5G, big data, and cloud computing will also give birth to high-tech industries with low energy consumption and high added value, which will optimize the industrial structure (Yu 2022). Zhu et al. (2019) indicated that industrial structure optimization is an effective measure to realize green development. The “structural dividend” brought by industrial structure optimization benefits economic growth and improves environmental quality, thus enhancing urban GDE. Szalavetz (2019) revealed that digital technology promotes the transformation of industrial structure from labor-intensive to technology-intensive. From the perspective of production inputs, industrial structure optimization can improve GDE by reducing energy and resource consumption (Zhang et al. 2022a). From the perspective of output, the process of industrial structure transformation from low-technology to high-technology will inevitably improve environmental performance and green productivity, thereby increasing urban GDE (Gu et al. 2022). Furthermore, digital technology can break through the time and space limitations of industrial development, which is conducive to realizing nonspatial industrial agglomeration. Using the externalities of agglomeration, it can accelerate the elimination of low-quality or backward production capacity, which is conducive to driving the development of green transformation (Ding et al. 2022). In summary, the following hypothesis is proposed: hypothesis 4: digital technology development can enhance urban GDE in the BTH region by promoting industrial structure optimization.

Spatial spillover effect

OMRI (2020) indicated that digital technology can reduce inter-industry differences and spatial boundaries, thus, promoting the rapid flow of resources and technology in a wider region. Similarly, Paunov and Rollo (2016) confirmed that digital technology can enhance knowledge and technology spillover effects, promote cross-regional resource reorganization, and optimize factor allocation and production layout in adjacent regions. It has a positive synergistic effect on the urban GDE of neighboring regions. Yu (2022) showed that the Internet generates positive spatial spillover effects, which significantly promoted the industrial green productivity of local and neighboring regions. However, Zhang et al. (2022b) found that the digital economy failed to exert a spatial spillover effect on promoting the carbon performance of neighboring cities. Meanwhile, it should not be overlooked that the gap between developed regions and backward regions in terms of DTD level is relatively large. The “digital divide” has intensified the siphoning of talents and resources by developed cities (Wang et al. 2022a). The “competition effect” between cities has led to negative externalities in space. The divergence of digital technology further widens the gap in urban GDE. In summary, the impact of DTD on urban GDE may also have a spatial spillover effect, and the total spillover effect depends on the magnitude of the two effects. Therefore, the following hypothesis is proposed: hypothesis 5: digital technology development has a spatial spillover effect on GDE in neighboring cities of the BTH region.

In the comprehensive analysis above, a mechanism diagram of DTD in urban GDE is shown in Fig. 1.

Fig. 1
figure 1

The mechanism diagram of DTD in urban GDE in the BTH region

Variable definition and model construction

Variable definition

Explanatory variable: digital technology development (DTD) index

Considering the availability of city-level data, this study measures the urban DTD level in four aspects: digital infrastructure, digital factor inputs, digital technology-related outputs, and digital transaction development (Table 1), with reference to Liu et al. (2022b) and Gao et al. (2022), wherein digital transaction development is measured using the Digital Inclusive Finance Index of Peking University. Since Luo et al. (2022) indicated that the principal component analysis method can assign objective weights based on the characteristics of data and indicators, it can avoid the problems of the high correlation of indicators and subjectivity of weight structure. Referring to Liu et al. (2022b), this study uses the principal component analysis method to calculate the variables in Table 1 according to the relevant process to obtain the comprehensive index of DTD.

Table 1 Digital technology development level evaluation index system

Explained variable

Green development efficiency (GDE)

The increase of GDE relies on the improvement of urban economic development and environmental quality. This is related to the demographic, social, and resource factors involved in the quality of urban development. Therefore, with reference to Zhao et al. (2020), Luo et al. (2022) and Liu et al. (2022a), this study expands the variables from “inputs-desired outputs-undesired outputs” to construct the urban GDE evaluation index system (Table 2). The system includes economic, natural, and social dimensions. Compared with Dong et al. (2021), Lyu et al. (2022), Yang and Ni (2022), and Ding et al. (2022), the input aspects add land input and policy inputs. The desired outputs referred to in Yang et al. (2022a) additionally consider environmental benefits and social benefits. The undesired outputs add domestic waste emission indicate negative environmental outputs.

Table 2 Urban green development efficiency evaluation index system

For indicator measurement, Yuan et al. (2022) indicated that the super-SBM model that considers undesired outputs can solve the slackness problem caused by the traditional data envelopment analysis model. It can also solve the problem that the SBM model cannot rank multiple efficiency effective units. Thus, referring to Zhu et al. (2019), this study uses Tone’s (2004) modified super-SBM model to measure urban GDE with the help of the MAXDEA software. Higher GDE values indicate better urban development benefits and vice versa.

Mediating variables

Environmental regulation (ER)

The “Porter hypothesis” argued that ER can stimulate firms to invest in environmental technology transformation and obtain “innovation compensation.” The “cost constraint theory” argued that ER can increase enterprises’ production costs, thus dragging down economic efficiency (Luo et al. 2022). Referring to Song and Han (2022) and Zheng et al. (2023), this study selects industrial SO2 emissions, industrial smoke (dust) emissions, and industrial wastewater emissions to form the ER index system. Then, the entropy method is used to calculate the comprehensive ER index.

Technological innovation level (TIL)

The increase in TIL is conducive to improving enterprises’ technical efficiency of production and management level of the environment, which may promote the improvement of urban GDE. Referring to Zheng et al. (2023), this study uses the ratio of science and technology expenditure to local fiscal expenditure to measure TIL.

Industrial structure optimization (ISO)

Industrial structure has a decisive role in the input–output efficiency of resource factors. Therefore, ISO has a significant role in regulating resource consumption and pollution emission (Song et al. 2021). Following Zhu et al. (2019), this study uses the ratio of the added value of the tertiary industry to the added value of the secondary industry to measure ISO.

Control variables

To more accurately analyze the correlation between DTD and urban GDE, this study controls for the following variables. ① Population density (POP) is measured by the number of people per unit of land area in the city (Yuan et al. 2022). ② Government intervention degree (GID) is measured by the proportion of total fiscal expenditure in GDP (Luo et al. 2022). ③ Capital labor rate (CLR) is expressed by the ratio of the urban annual fixed asset investment to employment (Liu et al. 2022b). ④ Environmental preference (EP) is described by the urban green coverage (Yuan et al. 2022). ⑤ Infrastructure level (INF) is expressed by the urban road area per capita at year end (Gao et al. 2022). All the variables are logarithmically processed before empirical estimation to eliminate heteroskedasticity in the model.

Model construction

Fixed-effects model

To reasonably examine the effect of DTD on urban GDE, this study selects the panel model type by correlation test. According to the Hausman test, the value of the statistic is 35.78, which passes the 1% significance test. The result supports to adopt the fixed effect model. Therefore, model (1) is constructed to verify the direct impact of DTD on GDE:

$$\mathrm{ln}{GDE}_{it}={\alpha }_{0}+{\alpha }_{1}\mathrm{ln}{DTD}_{it}+{\alpha }_{2}\mathrm{ln}{POP}_{it}+{\alpha }_{3}\mathrm{ln}{GID}_{it}+{\alpha }_{4}\mathrm{ln}{CLR}_{it}+{\alpha }_{5}\mathrm{ln}{EP}_{it}+{\alpha }_{6}\mathrm{ln}{INF}_{it}+{u}_{i}+{v}_{t}+{\varepsilon }_{it}$$
(1)

where GDEit is the GDE in period t of city i and DTDit is the DTD level in period t of city i. ui is the unobserved individual fixed effect, vt is the control time fixed effect, and εit is the random disturbance term.

Mediating effect model

Models (2) and (3) are used to test the role of environmental regulation, technological innovation level, and industrial structure optimization in the path of DTD affecting urban GDE:

$$\mathrm{ln}{ESI}_{it}={\beta }_{0}+{\beta }_{1}\mathrm{ln}{DTD}_{it}+{\beta }_{2}\mathrm{ln}{POP}_{it}+{\beta }_{3}\mathrm{ln}{GID}_{it}+{\beta }_{4}\mathrm{ln}{CLR}_{it}+{\beta }_{5}\mathrm{ln}{EP}_{it}+{\beta }_{6}\mathrm{ln}{INF}_{it}+{u}_{i}+{v}_{t}+{\varepsilon }_{it}$$
(2)
$$\mathrm{ln}{GDE}_{it}={\varphi }_{0}+{\varphi }_{1}\mathrm{ln}{DTD}_{it}+{\varphi }_{2}\mathrm{ln}{ESI}_{it}+{\varphi }_{3}\mathrm{ln}{POP}_{it}+{\varphi }_{4}\mathrm{ln}{GID}_{it}+{\varphi }_{5}\mathrm{ln}{CLR}_{it}+{\varphi }_{6}\mathrm{ln}{EP}_{it}+{\varphi }_{7}\mathrm{ln}{INF}_{it}+{u}_{i}+{v}_{t}+{\varepsilon }_{it}$$
(3)

where ESIit represents the mediating variables, which are ER, TIL, and ISO in period t in city i. β1 × φ2 is the mediating effect indicating DTD’s indirect impact on urban GDE through ER, TIL, and ISO.

Spatial Durbin model (SDM)

Since urban DTD has spatial network characteristics such as mobility and replicability, it may have spatial spillover effects. The green development level of a local city will impact neighboring cities, and there may also be a correlation in space. To explore the spatial spillover effect of DTD on urban GDE in the BTH region, the SDM is constructed by adding a spatial interaction term in model (4):

$$\mathrm{ln}{GDE}_{it}={\lambda }_{0}+\rho W\mathrm{ln}{GDE}_{it}+{\lambda }_{1}\mathrm{ln}{DTD}_{it}+{\varphi }_{1}W\mathrm{ln}{DTD}_{it}+{\lambda }_{2}{X}_{it}+{\varphi }_{2}{WX}_{it}+{u}_{i}+{v}_{t}+{\varepsilon }_{it}$$
(4)

where ρ is the spatial autocorrelation coefficient. W is the spatial weight matrix. Xit is the control variables. φ1 and φ2 are the coefficients of independent and control variables’ spatial interaction terms, respectively. Considering the high economic closeness of cities in the BTH region, W used the economic geographic weight matrix to measure the spatial correlation of DTD between cities. Formula (5) is as follows:

$${W}_{i,j}=\left\{\begin{array}{c}\frac{{GDP}_{i}\times {GDP}_{j}}{{d}_{i,j}^{2}},i\ne j\\ 0,i=i\end{array}\right.$$
(5)

where GDPi and GDPj represent the GDP of the city i and j, respectively. dij represents the geographic distance between city i and city j.

We considered that Lesage and Pace (2009) indicated that the regression coefficient of DTD in the SDM model failed to reflect its marginal effect on urban GDE. Therefore, referring to the process of Ding et al. (2022) and Liu et al. (2022b), this study decomposes the direct, indirect, and total effects of DTD on urban GDE using the SDM partial differential method, which will investigate the spatial spillover effects in more detail.

Data description and descriptive statistics

This study uses 13 cities in the BTH region from 2011 to 2019 as the research samples. The panel data of each city are obtained from the China Statistical Yearbook, China Urban Statistical Yearbook, China Environmental Statistical Yearbook, and statistical bulletins from 2011 to 2019. Furthermore, the missing data are supplemented by the interpolation method. The results of descriptive statistics for each variable are shown in Table 3.

Table 3 Descriptive statistics of variables

Empirical analyses

Benchmark regression results

The regression results of model (1) are shown in Table 4. The regression results show adjusted R2 > 0.5 in all cases, indicating that the model has a high fit. The coefficient values of lnDTD in columns (1) and (2) are 0.242 and 0.316, and both are significant at the 1% level regardless of whether control variables are included. It indicates that DTD significantly enhances the urban GDE in the BTH region. Specifically, for every 1% increase in DTD, urban GDE will improve by 0.316%, which confirms hypothesis 1. The possible explanation is that the wide application of digital technology within various fields in the BTH region made the production process efficient and low carbon, forming a green development model with low energy consumption and high output. Furthermore, the construction of a “smart city” through digital technology improved the quality of regional environmental governance, ultimately realizing the improvement of urban GDE in the BTH region.

Table 4 The regression results of direct effect and explanatory variable on mediating variables

For the control variables, the coefficient of lnPOP and lnGID are − 0.024 and − 0.224, which are significant at the 10 and 1% levels, respectively. They indicate that population size and government intervention suppress urban GDE. The reason may be that the BTH region failed to convert population size into human capital benefits during the development process. The “negative effects” caused by overpopulation such as air pollution and resource and environmental constraints are detrimental to urban green growth. Moreover, the stronger the government intervention in the BTH region, the more local governments tend to adopt administrative environmental regulations for pollution reduction. It creates resource distortion and is not conducive to improving urban GDE. The coefficient of lnEP is 0.202 at the 1% significance level, indicating that environmental preferences contribute to improving urban GDE. Cities with stronger environmental preferences in the BTH region usually focus on ecological and environmental management. They actively guide enterprises to make a green and high-quality transformation, thus obtaining higher urban GDE.

Transmission mechanism analysis

Referring to the mediation effect test procedure of Ding et al. (2022), Lee et al. (2022), and Luo et al. (2022), this part uses a stepwise test method to validate models (2) and (3). To further ensure the robustness of the mediating test results, this study uses the Bootstrap test to strengthen the verification of the mediating effect. The regression results of the explanatory variable on mediating variables are shown in Table 4. The coefficient of lnDTD in column (3) is − 1.986, with significance at the 1% level. Since ER is measured by three waste emissions, its smaller value indicates the higher intensity of ER, which is a negative indicator. Therefore, it indicates that DTD significantly improves the intensity of ER in the BTH region. The coefficient of lnDTD in columns (4) and (5) is 2.706 and 0.648, and both are significant at the 1% level. It indicates that DTD has obviously contributed to the TIL and ISO in the BTH region. The possible explanations are as follows. First, since the collaborative development of the BTH region, cities have focused on environmental governance and leveraged digital technology to build a “smart city,” which improved the intensity of ER. Second, the BTH region has abundant digital resources and excellent infrastructure conditions for using digital technology to improve urban TIL. Furthermore, the BTH region has achieved deep integration with the industrial sector using digital technologies, thus promoting the ISO of traditional industries.

The regression results of the explanatory variable on the explained variable after adding the mediating variables are shown in Table 5. Overall, the inclusion of mediating variables does not affect the promotion effect of DTD on urban GDE. The coefficient of lnER in column (1) is − 0.020, which is significant at the 1% level. However, ER is an inverse indicator. It means that ER significantly increases urban GDE, which confirms hypothesis 3. The above study shows that the “technology spillover effect” of environmental regulation offsets and exceeds the “cost constraint effect” in the BTH region, which is consistent with Porter’s hypothesis. In reality, the ER in the BTH region improved the environmental requirements for industrial development. In summary, ER effectively reduced the emission of pollutants and improved the urban GDE in the BTH region.

Table 5 Regression results of DTD on urban GDE through ER, TIL, and ISO

In column (2), the coefficient of lnTIL is 0.057, which is significant at the 1% level, indicating that the level of technological innovation promotes the urban GDE of the BTH region. It indicates that the DTD in the BTH region increases urban GDE by enhancing the TIL, so hypothesis 4 is confirmed. Driven by digital technology, the technological advances in the BTH region help improve the efficiency of environmental management. It changes the previous development style of high energy consumption, high pollution, and low technology, and then promotes high-quality green development in the BTH region.

In column (3), the coefficient of lnISO is − 0.043, which is significant at the 5% level, indicating that ISO inhibits urban GDE in the BTH region. Specifically, β1 × φ2 = 0.648 × (− 0.043) =  − 0.028; however, φ1 = 0.344, and the two values have different signs. The total effect of DTD on urban GDE (α1: 0.316) is smaller than the direct effect (φ1: 0.344). Therefore, the indirect effect of ISO shows a “masking effect.” Next, this part further uses the Bootstrap test to verify the “masking effect” of ISO. The results show that the indirect effect of DTD on urban GDE through ISO is − 0.028, with a 95% confidence interval [LLCI =  − 0.186, ULCI =  − 0.051], excluding 0. Therefore, the “masking effect” of ISO is further confirmed, and hypothesis 5 is not supported. The reason may be that due to the different development orientations of the three cities in the BTH region, there are obvious gradient differences and imbalances in their industrial structure, which makes ISO negatively affect the urban GDE in the BTH region. Especially, Hebei faced a tough period of industrial restructuring and environmental governance due to its rough industrial structure, and its economic growth rate slowed down. Similarly, through the Bootstrap test, the indirect effects of ER and TIL are 0.039 and 0.154, which are significant at the 5 and 1% levels, respectively. Their 95% confidence intervals are LLCI = 0.007 and ULCI = 0.072 and LLCI = 0.082 and ULCI = 0.226; neither of which excludes 0. Thus, the mediating effects of ER and TIL are further confirmed.

Spatiotemporal evolutionary characteristics and spatial spillover effects

Spatiotemporal evolutionary characteristics

As a nonparametric estimation method, kernel density estimation can describe the distribution conditions of research objects and is specifically described in Zheng et al. (2023). Then, this part uses Matlab16 to plot the kernel density figure (Fig. 2a) to explore the evolution trend of urban DTD. From Fig. 2a, the wave crest of the DTD index for each year is roughly around 0.1 during 2011–2019. Meanwhile, the DTD index shows a trailing trend, indicating the presence of cities with higher DTD levels in the BTH region. Combined with the time trend figure (Fig. 2b), the DTD level of the BTH region shows an overall upward trend, but Beijing, Tianjin, and Shijiazhuang are further away from other cities. This is due to their strengths in economic development and technological innovation, which are favorable to enhancing higher levels of urban DTD.

Fig. 2
figure 2

a Kernel density figure. b Time trend figure

Then, this part draws the spatial distribution figure (Fig. 3) by using the ArcGIS 10.7 software to visualize the geographical distribution of urban DTD in the BTH region. Overall, the urban DTD faces the problem of unbalanced development. It reflects in the fact that Beijing’s DTD level is always the highest, and that the DTD level of neighboring cities such as Langfang increases rapidly. Furthermore, Tianjin and Shijiazhuang also consistently maintain high DTD levels. However, southeastern cities such as Handan, Xingtai, Hengshui, and Cangzhou are long-lagging behind in DTD levels. Therefore, it is still an urgent task to narrow the urban DTD gap in the BTH region to avoid the expansion of the “digital divide.”

Fig. 3
figure 3

Spatial distribution of urban DTD levels

Similarly, from the kernel density figure (Fig. 4a), the height of the wave crest gradually decreases, and the width subsequently increases, indicating that the differences in urban GDE are becoming more significant. From the time trend figure (Fig. 4b), the urban GDE in the BTH region overall showed a fluctuating upward trend, and the mean value of urban GDE increased from 0.694 in 2011 to 0.831 in 2019. The urban GDE in the BTH region can be roughly divided into the “oscillation period” (2011–2014) and the “rising period” (2015–2019). The early rough growth model of the BTH region caused the growth of urban GDE to fluctuate. With the improvement of regional environmental awareness and sustainable development requirements, cities relied on green transformation and technological innovation to drive the GDE to steadily increase.

Fig. 4
figure 4

a Kernel density figure. b Time trend figure

From the spatial distribution figure (Fig. 5), the urban GDE shows a “ladder” characteristic, with apparent high and low partitions. In 2011, only Beijing and Tianjin are highly efficient cities, and most Hebei cities are low efficiency. By 2019, the urban GDE of Tangshan and Langfang had significantly improved, while Xingtai and Handan had dropped to inefficient levels. The growth rate of urban GDE in the northeast part of the BTH region is faster than that in the southwest region. It shows a trend of spreading from the center to the surrounding areas. Furthermore, the “agglomeration” differentiation of cities is obvious. It has formed high-efficiency areas centered in Beijing, Tianjin, and Langfang, and inefficient areas mainly in Handan, Xingtai, and Hengshui.

Fig. 5
figure 5

Spatial distribution of urban GDE

Spatial correlation test

Before exploring the spatial effect of DTD on urban GDE, it is necessary to test whether DTD is spatially correlated. This study uses global Moran’s I to test whether the DTD in the BTH region has spatial autocorrelation on a global scale. It reflects the overall characteristics of the spatial correlation of urban DTD. The expression is as follows:

$${Moran}^{^{\prime}}s I=\frac{n\sum_{i=1}^{n}\sum_{j=1}^{n}{\omega }_{ij}\left({y}_{i}-\overline{y }\right)\left({y}_{j}-\overline{y }\right)}{\left(\sum_{i=1}^{n}\sum_{j=1}^{n}{\omega }_{ij}\right)\sum_{i=1}^{n}{\left(y-\overline{y }\right)}^{2}}$$
(6)

Here, n is the total number of spatial units. yi is the DTD level of spatial unit i. ωij is the spatial weight matrix coefficient. Moran’s I ∈ [− 1,1], which measures the overall correlation of spatial unit elements. Moran’s I > 0 means positive correlation, Moran’s I < 0 means negative correlation, and Moran’s I = 0 means no correlation.

To more visually display the relative geographic distribution of urban DTD, this study plots the global Moran’s I scatter figure (Fig. 6). The global Moran’s I value of lnDTD is 0.614 and passes the 1% significance test, which indicates that urban DTD has a significant positive correlation in space. Except for Beijing and Tianjin, the distribution of DTD in most cities is concentrated in the first and third quadrants, showing obvious H–H and L-L clustering. Furthermore, the DTD levels of 13 cities in the BTH region have jumped to different degrees. Tianjin shifted from the fourth quadrant to the first quadrant, and the other cities mostly shifted from the third quadrant to the first quadrant. It also shows a positive correlation, indicating that the DTD in the BTH region jumped from generally lower levels to higher levels during 2011–2019. In summary, urban DTD has a significant positive spillover effect, and it is necessary to use a spatial regression model for empirical analysis.

Fig. 6
figure 6

Moran’s I scatter plot for urban DTD

Spatial spillover effect

This study conducted LR and LM tests to select the appropriate spatial econometric model (Table 6). The LM test results show that LM-lag, robust LM-lag, LM-error, and robust LM-error are significant at the 1% level. It indicates that compared with the spatial auto-regressive model (SAR), the spatial error model (SEM) is more appropriate. The LR test results show that SDM cannot be degraded to the SEM or SAR model. Combined with the Hausman test, the results show that using the fixed-effects model is better than using the random-effects model. Therefore, this study uses SDM with fixed effects to test the spatial spillover effect.

Table 6 Spatial econometric model tests

Similar to Fan et al. (2022), this study decomposes the effect of DTD on urban GDE into direct, indirect, and total effects (Table 7). The coefficient of lnDTD in column (1) is 0.120 and significant at the 5% level, indicating that DTD improves the local urban GDE in the BTH region. The spatial lag term of lnDTD in column (2) is 0.687 and significant at the 1% level, indicating that the local DTD has a positive spillover effect on the GDE of neighboring cities in the BTH region. The coefficients of lnDTD in columns (3), (4), and (5) are significantly positive at the 5 and 1% levels, which indicates that DTD positively affects the GDE in both local city and neighboring cities in the BTH region. Specifically, the coefficient of lnDTD in column (4) is larger than that in column (3), which confirms that urban DTD has a strong spatial spillover effect on the BTH region. The possible explanation is that the increased level of local DTD improves green production technology through the technology spillover effect. Thus, it positively affects the local urban GDE in the BTH region. Meanwhile, neighboring cities can imitate or absorb high-level technology and production experience at a lower cost, and local DTD has a “diffusion effect” on neighboring cities. Therefore, local DTD can promote the improvement of GDE in neighboring cities of the BTH region.

Table 7 Spatial Durbin model regression results

For the control variables, the spatial lag term of lnPOP in column (2) is significantly positive at the 1% level, indicating that POP can raise the GDE of neighboring cities in the BTH region. Fang et al. (2020) showed that over-concentration of population inhibits urban GDE. Local cities share a large amount of population migration from neighboring cities, which will increase the GDE of neighboring cities. The coefficients of lnGID and lnLCR are significantly negative at the 1% level in column (1) and not significant in column (2). It indicates that GID and LCR suppress local urban GDE and that the suppression effect is regional with no spatial spillover in the BTH region. The possible reason is that with the increase of GID, the BTH governments tend to use stricter administrative environmental regulations to constrain social production and development. Due to resource misallocation and green transition, the productivity of enterprises fluctuates in the short term, which is not conducive to improving urban GDE. The relatively small correlation coefficients show that little green benefits are obtained in the short term from fixed asset investments in the BTH region. The coefficients of lnEP and lnINF are significantly positive at the 1 and 10% levels in column (1), and the spatial lag term in column (2) is significantly positive at the 1 and 5% levels. It indicates that EP and INF raise the GDE of both local city and neighboring cities in the BTH region. With stronger environmental preferences in the BTH region, cities have cooperated in environmental management and developed a green economy that has reaped effective benefits. Furthermore, the increase in infrastructure level has achieved regional connectivity, thus promoting regional green synergistic development in the BTH region.

Robustness tests

Replacement space weight matrix

This part uses the inverse geographic distance matrix to verify the spatial spillover effect of DTD on urban GDE. The regression results of the SDM are shown in Table 8. Except for the significant reduction of EP and INF, the signs of regression coefficients of other variables are consistent with the above studies. Only the size and significance of the values are relatively improved, which shows that DTD still has a significant spillover effect on urban GDE in the BTH region. This confirms the robustness of the above empirical results.

Table 8 Robustness test: SDM regression results

Endogeneity test

Considering the possible reverse causality between urban GDE and DTD, this study uses an instrumental variable method to alleviate the endogeneity problem. Referring to Bartik (2009), this study constructs an instrumental variable “Bartik instrument,” that is, the interaction term (lnDTDi,t−1 × ΔlnDTDt,t−1) of the lagged one-period term (lnDTDi,t−1) and the first-order difference term (ΔlnDTDt,t−1). The reasons are as follows: first, the lag period of the DTD index is significantly correlated with urban GDE, so there is no weak instrumental variable; second, the interference term of the current period cannot affect the result of the lag period of the DTD index, which satisfies the exogenous constraint. Based on this instrumental variable, the two-stage least squares method (IV-2SLS) is used for estimation. The model is as follows:

$$\mathrm{ln}{DTD}_{it}={\beta }_{0}+{\beta }_{1}\mathrm{ln}{IV}_{it}+{\beta }_{2}\mathrm{ln}{POP}_{it}+{\beta }_{3}\mathrm{ln}{GID}_{it}+{\beta }_{4}\mathrm{ln}{CLR}_{it}+{\beta }_{5}\mathrm{ln}{EP}_{it}+{\beta }_{6}\mathrm{ln}{INF}_{it}+{u}_{i}+{v}_{t}+{\varepsilon }_{it}$$
(7)
$$\mathrm{ln}{GDE}_{it}={{\beta }^{^{\prime}}}_{0}+{{\beta }^{^{\prime}}}_{1}\mathrm{ln}{DTD}_{it}+{{\beta }^{^{\prime}}}_{2}\mathrm{ln}{POP}_{it}+{{\beta }^{^{\prime}}}_{3}\mathrm{ln}{GID}_{it}+{{\beta }^{^{\prime}}}_{4}\mathrm{ln}{CLR}_{it}+{{\beta }^{^{\prime}}}_{5}\mathrm{ln}{EP}_{it}+{{\beta }^{^{\prime}}}_{6}\mathrm{ln}{INF}_{it}+{u}_{i}+{v}_{t}+{\varepsilon }_{it}$$
(8)

As shown in Table 9, the coefficients of instrumental variables in the first-stage regression results are significantly positive. The unidentifiable test (Kleibergen–Paap rk LM test) is significant at the 1% level. For the weak instrumental variable test, the Kleibergen–Paap Wald rk F statistic is higher than 16.38 (the critical value at the 10% level of stock Yogo weak identification test). The above test proves the selection of the instrumental variable is reasonable. After considering the endogeneity, the coefficient of lnDTD is still positive, and the regression results in the second stage pass the significance test at the 1% level. It also shows that DTD can improve urban the GDE in the BTH region, which confirms the robustness of the previous regression results.

Table 9 Robustness test: IV-2SLS regression results

Conclusions and recommendations

In the critical period of China’s economic digitalization and green development, how to use digital technology to promote urban green development has become the focus of practice and academia. In this context, based on the panel data of 13 cities in the BTH region from 2011 to 2019, this study examines the effects and mechanisms of DTD on urban GDE with multi-dimensional by using the fixed effect model, mediation effect model, and spatial Durbin model. This study provides a strong empirical basis for Chinese regions to exert the driving effect of digital tools on urban green development.

The following interesting and noteworthy findings can be identified from the empirical analysis.

  1. (1).

    Unlike the conclusion of Asongu et al. (2018), the results confirm that DTD is conducive to improving urban GDE in the BTH region.

  2. (2).

    The mediating effect test shows that DTD increases urban GDE by improving environmental regulation intensity and technological innovation level. Interestingly, the industrial structure optimization shows a “masking effect.” This is different from Zhu et al. (2019), which concludes that industrial structure adjustment can improve GDE.

  3. (3).

    The DTD is generally on an upward trend in the BTH region, but there is a “digital divide” between cities. The urban GDE shows a fluctuating upward trend, which can be divided into “shock period” and “rising period.” The geographical distribution shows a “ladder” characteristic, with obvious high-low partitions.

  4. (4).

    The DTD shows a positive spatial autocorrelation in the BTH region, exhibiting a spatial distribution pattern of “H–H” and “L-L” clustering. The DTD has a positive spatial spillover effect on urban GDE in the BTH region. It indicates that DTD promotes the GDE of neighboring cities.

Around the above conclusions, this study proposes the following recommendations.

  1. (1).

    The BTH region should increase the construction of digital infrastructures such as 5G and artificial intelligence. Meanwhile, the BTH region should fully utilize digital technology to empower the green transformation for key emission and carbon reduction fields in life services, transportation, and industrial manufacturing. By using digital technology to optimize production processes and resource allocation efficiency, it is possible to increase productivity while reducing environmental pollution. In this way, the urban GDE can be improved. This can provide a Chinese paradigm for the new pattern of global green development.

  2. (2).

    ① In terms of environmental regulation, the BTH region can use digital technology to innovate intelligent environmental regulation manners. It can help the government to propose targeted environmental management strategies. Moreover, the BTH region needs to improve the digital government platform and environmental management information system. This will facilitate the government to formulate dynamic urban green development policies according to social needs. ② In terms of technological innovation, the BTH region should use digital technology to promote green technological innovation. Through clean technology innovation, enterprises can develop green and low-carbon production methods. Furthermore, the BTH region can build a collaborative innovation platform to acquire, integrate, and share innovation resources. It can help enterprises innovate production technology through resource restructuring, thus increasing productivity. ③ In terms of industrial structure optimization, the BTH region should vigorously develop high-tech industries with low energy consumption and high added value spawned by digital technology. Meanwhile, the BTH region needs to deepen the intelligent use of digital technology in manufacturing to improve the energy use efficiency and environmental management level of traditional industries. This will help the traditional industry develop a green manufacturing mode and boost the green development of the city.

  3. (3).

    Due to the differences in digital resources and green development among cities, the BTH region should properly plan the progress and patterns of DTD and green development among cities. Beijing and Tianjin should exert the radiation-driving effect of DTD and increase the spillover effect of their knowledge and technology to neighboring cities. Meanwhile, the BTH government should formulate favorable tax concessions and fiscal expenditure policies to support the DTD and green development in relatively backward cities. This will promote the synergistic development of digitalization and greening in the BTH region.

Nevertheless, there is still the following space to be filled. First, the multi-layer measurement system of DTD under the Chinese background still needs to be refined and supplemented. Second, this study mainly controls the variables at the city level and lacks discussion on the control variables of financial development and foreign trade. Furthermore, this study only briefly analyzes the spatial evolution of DTD and GDE in the BTH region. On this basis, subsequent research can focus on analyzing their spatial logical relationship and other impact mechanisms.