Skip to content

Commit

Permalink
Add data-cta-name to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaniehobson committed Oct 24, 2024
1 parent cbebf79 commit f73edfa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/attribution/0001-analytics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ The attribute ``data-cta-text`` must be present to trigger the event. All links
| | - This is to group CTAs by their destination |
| | - Do not use this to identify the element (ie. link, button) |
+-----------------------+----------------------------------------------------------------------------------+

| ``data-cta-name`` | A identifier for this cta that is unique across the entire site. (e.g. |
| | ``fx20-primarycta``, ``wnp118-sfaq-so-special-features``). This is to help with |
| | reporting since it is difficult to filter on more than one parameter at a time. |
+-----------------------+----------------------------------------------------------------------------------+


.. code-block:: html
Expand Down

0 comments on commit f73edfa

Please sign in to comment.