Generate widget embed code