Skip to content

Donations Page: Add GA tracking #279

@lauraehiller

Description

@lauraehiller

Basically we want to track when people click the donate links as DonatePageLink. Anywhere there is a donate link. This helps us track conversions. How to: https://developers.google.com/analytics/devguides/collection/ga4/events?client_type=gtag.

note: donate links are located in nav menu, footer, button at bottom of homepage, and possibly elsewhere.

The code on the website could be for example might look something like this (although this didn't quite work, I may have used the wrong quote marks or backticks or something)
DONATE

To test look for the DonatePageLink under Event count by Event name.
Look for an event that reads donateclick like in your code.
Here is link: (usually loads realtime events in about 60 seconds)
https://analytics.google.com/analytics/web/#/p341004145/realtime/overview

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImprovement on an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions