Inject analytics code.