def _add_tracking_summary_to_resource_dict(resource_dict, model):
 tracking_summary = model.TrackingSummary.get_for_resource(resource_dict['url'])
 resource_dict['tracking_summary'] = tracking_summary

def _add_tracking_summary_to_resource_dict ( resource_dict , model ) : tracking_summary = model . TrackingSummary . get_for_resource ( resource_dict [ 'url' ] ) resource_dict [ 'tracking_summary' ] = tracking_summary
add page-view tracking summary data to the given resource dict .