Skip to content

Commit

Permalink
Merge pull request #5320 from hessaum/hessaum-braze-docs
Browse files Browse the repository at this point in the history
Update html_in-app_messages.md
  • Loading branch information
KellieHawks authored Apr 27, 2023
2 parents f7f6fd6 + adc28f8 commit a6911b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ In addition to custom JavaScript, Braze SDKs can also send analytics data with t
### Button click tracking

{% alert warning %}
The use of `abButtonID` is not supported in [HTML with Preview]({{site.baseurl}}/user_guide/message_building_by_channel/in-app_messages/preview/) message types. For more information, see our [upgrade guide]({{site.baseurl}}/user_guide/message_building_by_channel/in-app_messages/preview/#backward-incompatible-changes).
The use of `abButtonID` is not supported in [HTML with Preview]({{site.baseurl}}/user_guide/message_building_by_channel/in-app_messages/traditional/customize/html_in-app_messages/#html-upload-with-preview/) message types. For more information, see our [upgrade guide]({{site.baseurl}}/user_guide/message_building_by_channel/in-app_messages/preview/#backward-incompatible-changes).
{% endalert %}

To log button clicks for in-app message analytics, you can add `abButtonId` as a query parameter to any deep link, redirect URL, or anchor element `<a>`. Use `?abButtonId=0` to log a "Button 1" click, and `?abButtonId=1` to log a "Button 2" click.
Expand Down

0 comments on commit a6911b2

Please sign in to comment.