Storing an internal delivery ID before the target hits the delivery. | Community
Skip to main content
Level 3
October 13, 2022
Solved

Storing an internal delivery ID before the target hits the delivery.

  • October 13, 2022
  • 1 reply
  • 1417 views

I am working on an SMS integration and attempting to pass the deliveryID into a shortURL as a campaign parameter. More specifically, I want to capture the internalID before shortening the link, so that i can include it in the long hyperlink.

 

The issue that we're having is that we can't do this using a recurring delivery because the deliveryID updates with each child delivery.  So, i'm wondering if there is a way to capture and store the internal ID so that it can be included in the shortened hyperlink without having to delete and add another non-recurring delivery.

 

https://www.redcrossblood.org/giveplatelets.html?cid=biomedfieldmarketing&med=text&source= KaleyraAdobe&campdesc=TX_BHQ_RE_PP_ABO_DripEligibility_NA1_Act_092822_PRDDM310232&utm_source= KaleyraAdobe&utm_medium=smstext&utm_content=body_textmessage&utm_campaign= TX_BHQ_RE_PP_ABO_DripEligibility_NA1_Act_092822_PRDDM310232

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by wpomeroy

Hi @wpomeroy,

Was @parthasarathy's solution helpful to resolve your query? In case it was helpful, then kindly choose it as the 'Correct Reply'. If not and you still need more help, then do let us know.

Thanks!


Hello @sukrity_wadhwa, Our best solution was actually create a variable in advance and then assign the variable to the delivery name.


Define Variable:

var LABEL = 'SMPP Single Delivery';
instance.vars.dynamicInternalName1='SMPP'+Date.now();
var ORIGINALLINK = 'https://www.redcrossblood.org/giveplatelets';

 

Populate Varibale:

$(instance/vars/@testID)

1 reply

Manoj_Kumar
Community Advisor
Community Advisor
October 14, 2022

Hello @wpomeroy 

 

Here is another way to do it. In the short URL, pass the workflow id instead of the delivery ID. Then for the reporting. You can use the workflow id to get the delivery id.

 

 

Manoj  | https://themartech.pro
wpomeroyAuthor
Level 3
October 14, 2022

Hello @_manoj_kumar_ , thank you for the reply.  I think this is the opposite of what i want.  I want to match the unique deliveryID to the delivery event date so that i can roll up delivery volumes, interactions, etc. by each deployment date.

 

I believe the workflow ID is a static field that remains unchanged across deliveries.

ParthaSarathy
Community Advisor
Community Advisor
October 14, 2022

Hi @wpomeroy ,

Considering the campaign Workflow has multiple Recurring deliveries and needs to differentiate those deliveries in tracking and reporting.

If you are going to define the SMS URL with its campaign parameter fixed, and create a static short URL and configure it in SMS delivery, then you can try below approach.

For Each recurring delivery configure delivery code (may be same as internal name)

And configure this delivery code in URL and create a Short URL and use it in Delivery. So that you can differentiate this delivery with your other deliveries in the campaign.

 

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups