If you are using the older version of the setup where open data is not included in your Braze current, use the following code snippet in the HTML Email Body of your Braze email campaign to track opens in Jacquard:
{%- connected_content https://realtime.phrasee.co/live/single_variant?campaign_id=<campaign_id>&delivery_id={{campaign.${dispatch_id}}}&recipient_id={{${user_id}}} :method get :headers { "Authorization": "Bearer <token>" } :content_type application/json :no_cache :rerender :save variants -%}{%- comment -%}{%- endcomment -%}
<img src="{{variants.statistics_url}}" width="1px" height="1px">Generally, we recommend pasting the snippet for the HTML body just above the closing </body> tag in your email. If you are using a Braze content block for the connected content call then you will need to adjust the code accordingly.
There are two critical pieces of data you'll need to enter into your code snippets at a minimum:
Jacquard experiment ID - you'll paste this over <campaign_id> in the code snippet
Jacquard Connect Server token - you'll paste this over <token> in the code snippet
If you're not sure where to find your experiment ID, we've got an article for that. Your token should have been provided to you during your initial setup. If you can't find it, please reach out to your Jacquard Customer Success representative.
Below is an example of what the code snippet for the HTML body snippet might look like:
