Skip to content

Add snowplow haml attr helper

Luke Bennett requested to merge snowplow-attrs-helper into master

What does this MR do?

  • Adds SnowplowHelper with snowplow_attr method. This method accepts the tracking values and returns a data hash. It returns an empty hash if snowplow is disabled.

  • Update import_project_page from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7403 to use the new attr to test.

  • With snowplow enabled

Screenshot_2019-05-24_at_17.21.02

  • With snowplow disabled

Screenshot_2019-05-24_at_17.21.35

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/7827

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Edited by Mayra Cabrera

Merge request reports