📜  烧瓶谷歌分析 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:49.955000             🧑  作者: Mango

代码示例1
from flask import Flask, render_template
from flask_analytics import Analytics

app = Flask(__name__)
Analytics(app)

app.config['ANALYTICS']['GAUGES']['SITE_ID'] = 'XXXXXXXXXXXXX'


@app.route('/')
def index():

    return render_template('index.html')