1 from django
.conf
import settings
4 def analytics(request
):
5 pid
= settings
.GOOGLE_ANALYTICS_PROPERTY_ID
7 return {"google_analytics_property_id": pid
}
13 adclient
= settings
.ADSENSE_CLIENT
17 slot_bottom
= settings
.ADSENSE_SLOT_BOTTOM
21 return {"adsense_client": adclient
, "adsense_slot_bottom": slot_bottom
}