Attributing a transaction id passed from landing URL to additional script pixel code parameter

ryanccsb
New Member
6 0 0

Hi all,

wondering is there a way we can capture this transaction_id value from landing URL : www.domain.com/?utm_source=google&session_id={transaction_id}

then store the cookie within the transaction_id and pass this value to the conversion pixel code at additional script such that :

{% for line_item in line_items %}
<img src="https://tracking.server/aff_l?offer_id=1234&currency={{ shop.currency }}&amount={{ line_item.final_line_price | money_without_currency | remove: ',' }}&adv_sub={{ order.order_number }}&adv_sub2={{ customer.orders_count }}&adv_sub3={{ line_item.title }}&adv_sub4={{ line_item.sku }}&adv_sub5={{ line_item.vendor }}&transaction_id={transaction_id}" width="1" height="1"
style="display:none" />
{% endfor %}

Could someone enlighten this lost child here please ? Thanks in advance.

0 Likes