assets: generify analytics tracking

Extract config into initializers.

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>
legs: proof of concept of Twitter integration

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>