track order discount title

Shopify Partner
1 0 0

Hi there, 

I am front of an issue to track the name of the discount code use by my client on the order confirmation page.

I would like reward instragramer influencers on discount code provided on my sales. 

To do that, my affilaite marketing software, taged my order confirmation page (additionnals scripts checkout) with this iframe to collect the discount name in the voucher variable:

<iframe src="{{ order_number }}&amount={{ subtotal_price | money_without_currency }}&voucher={{ discount.title }}" frameborder="0" width="1" height="1"></iframe>

in reference with:

But, the tag is perfertly call except on the voucher variable who returns no information... I have try also with {{ discount.code}} and no match too.

Could you help me please?

New Member
3 0 0

Hi Alexandre,

You can send me your website. My email is:

Thank you,

Victor Nizeyimana