Send event with attribute set correctly