I am trying to apply a tag when a specific order form is submitted. But it has to be based on the order form and not based on the product purchased.
My use-case is that we oftentimes have promotions for the same product, but focus on specific features. And then we want to send a follow up email that refers to the features and bonuses offered on that specific order page.
With the legacy order forms you could execute an action set and apply tags that would do it. But current order forms donāt seem to have an option for this.
Is my only option to create separate products for each order form and promotion?
Hi @Kim_Streich - I have to admit, Iām struggling to think a way of doing this without using different products Iām afraid.
Great question, Iāll keep musing on this and see if I come up with anything.
There MAY be a way of using custom fields, which a DD can then read, but I donāt have great success with custom fields on order forms, I know other do better
Thanks Andy, your idea with a custom field seems to work.
Add a custom field. In my case LastOrderStepId
To the order form under custom footer add jQuery("#orderForm").append('<input id="Contact0_LastOrderStepId" name="Contact0_LastOrderStepId" type="hidden" value="563">');
Change the name and id in the code to match your custom field
You can replace 563 with any value that identifies your order form. I am using my funnelās step ID here
Then add a āSet Fieldā step to the sequence that sets it to some impossible value like reset. This will ensure the sequence is not run again if someone makes another purchase that doesnāt overwrite the field.
This is not battle-tested, but it has promise. The only problem I can think of is if the purchase goal is for some reason delayed by IS and the person places another order before that.
Unfortunately it is not possible to access order fields after a purchase action as it is possible with web forms.
Seems to work fine.
It didnāt work using a web form, but it did work when i redirected to my own web page. I donāt know why yet, Iāll look into it a bit later today.
First, you donāt need to add the tracking script to the web form because all infusionsoft hosted pages have one already.
Second, uncheck the āPass contactās informationā¦ā option on the order form Thank you page settings. The tracking script doesnāt seem to work when the URL has a really long query string on the end.
@Logan_G - one of the main problems I find is getting the tracking cookies onto the clients devices. So outside of this situation, where you have it covered already, click on email links in emails also helps a lot